Skip to content

Commit

Permalink
add EALauncher
Browse files Browse the repository at this point in the history
  • Loading branch information
RusNor committed Apr 18, 2023
1 parent 0604745 commit ffc8e37
Show file tree
Hide file tree
Showing 14 changed files with 433 additions and 105 deletions.
2 changes: 1 addition & 1 deletion data/app_config/.default
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export SW_USE_DRI_PRIME=0
export SW_USE_WINE_MONO=1
export SW_USE_BATTLEYE=0
export SW_USE_EASYANTICHEAT=0
export SW_USE_D3D_PLUGINS=0
export SW_USE_D3D_PLUGINS=1
export SW_USE_VSYNC_DISABLE=0
export SW_USE_HIDE_NVIDIA_GPU=0
export SW_USE_DGVOODOO2=0
Expand Down
53 changes: 53 additions & 0 deletions data/app_config/Lost_Light
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#!/usr/bin/env bash
################################################################################
export SW_USE_LAUNCH_PARAMETERS=""
export SW_USE_WINEDLLOVERRIDES=""
export SW_USE_WINEARCH="win64"
export SW_USE_WINDOWS_VER="10"
export SW_USE_REGEDIT_PATCH=""
export SW_USE_DXVK_GE=0
export SW_USE_VKD3D_GE=0
export SW_USE_OPENGL=0
export SW_USE_STRANGLE_FPS_LIMIT=0
export SW_USE_MANGOHUD_DLSYM=0
export SW_USE_MANGOHUD=1
export SW_USE_GAMEMODE=1
export SW_USE_RUNTIME=1
export SW_USE_RESTORE_RESOLUTION=0
export SW_USE_VIRTUAL_DESKTOP=0
export SW_USE_FSYNC=0
export SW_USE_ESYNC=0
export SW_USE_OLD_GL_STRING=0
export SW_USE_NVAPI_DISABLE=0
export SW_USE_WINEDBG_DISABLE=1
export SW_USE_LARGE_ADDRESS_AWARE=1
export SW_USE_STAGING_WRITECOPY=0
export SW_USE_STAGING_SHARED_MEMORY=1
export SW_USE_DXVK_HUD=0
export SW_USE_DXVK_ASYNC=1
export SW_USE_ENABLE_VKBASALT=1
export SW_USE_FSR=1
export SW_USE_GSTREAMER=1
export SW_USE_DRI_PRIME=0
export SW_USE_WINE_MONO=1
export SW_USE_BATTLEYE=0
export SW_USE_EASYANTICHEAT=0
export SW_USE_D3D_PLUGINS=1
export SW_USE_VSYNC_DISABLE=0
export SW_USE_HIDE_NVIDIA_GPU=0
export SW_USE_DGVOODOO2=0
export SW_USE_DLSS=0
export SW_USE_AUTOSTART_TRAY=0
export SW_USE_WINMM_DLL=0
export SW_USE_DXVK_VER="2.1"
export SW_USE_VKD3D_VER="2.8"
export SW_USE_LANG=ru
export SW_USE_THEME=blue
export SW_USE_VKBASALT_EFFECTS="cas:Tonemap:Colourfulness:"
export SW_USE_VKBASALT_CAS="0.6"
export SW_USE_HUD_POSITION="R"
export SW_USE_FPS_LIMIT="0.0"
export SW_USE_MANGOHUD_CONFIG=",gamemode,vkbasalt,resolution,wine,arch,version,time,vram,ram,gpu_core_clock,gpu_temp,cpu_mhz,core_load,cpu_temp,"
export SW_USE_WINE="wine_proton_ge"
export SW_USE_PFX="pfx_Lost_Light"
################################################################################
53 changes: 53 additions & 0 deletions data/app_config/StartWine
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#!/usr/bin/env bash
################################################################################
export SW_USE_LAUNCH_PARAMETERS=""
export SW_USE_WINEDLLOVERRIDES=""
export SW_USE_WINEARCH="win64"
export SW_USE_WINDOWS_VER="10"
export SW_USE_REGEDIT_PATCH=""
export SW_USE_DXVK_GE=0
export SW_USE_VKD3D_GE=0
export SW_USE_OPENGL=0
export SW_USE_STRANGLE_FPS_LIMIT=0
export SW_USE_MANGOHUD_DLSYM=0
export SW_USE_MANGOHUD=1
export SW_USE_GAMEMODE=1
export SW_USE_RUNTIME=1
export SW_USE_RESTORE_RESOLUTION=0
export SW_USE_VIRTUAL_DESKTOP=0
export SW_USE_FSYNC=0
export SW_USE_ESYNC=0
export SW_USE_OLD_GL_STRING=0
export SW_USE_NVAPI_DISABLE=0
export SW_USE_WINEDBG_DISABLE=1
export SW_USE_LARGE_ADDRESS_AWARE=1
export SW_USE_STAGING_WRITECOPY=0
export SW_USE_STAGING_SHARED_MEMORY=1
export SW_USE_DXVK_HUD=0
export SW_USE_DXVK_ASYNC=1
export SW_USE_ENABLE_VKBASALT=1
export SW_USE_FSR=1
export SW_USE_GSTREAMER=1
export SW_USE_DRI_PRIME=0
export SW_USE_WINE_MONO=1
export SW_USE_BATTLEYE=0
export SW_USE_EASYANTICHEAT=0
export SW_USE_D3D_PLUGINS=1
export SW_USE_VSYNC_DISABLE=0
export SW_USE_HIDE_NVIDIA_GPU=0
export SW_USE_DGVOODOO2=0
export SW_USE_DLSS=0
export SW_USE_AUTOSTART_TRAY=0
export SW_USE_WINMM_DLL=0
export SW_USE_DXVK_VER="1.10.3"
export SW_USE_VKD3D_VER="2.8"
export SW_USE_LANG=ru
export SW_USE_THEME=purple
export SW_USE_VKBASALT_EFFECTS="cas:Tonemap:Colourfulness:"
export SW_USE_VKBASALT_CAS="0.6"
export SW_USE_HUD_POSITION="R"
export SW_USE_FPS_LIMIT="0.0"
export SW_USE_MANGOHUD_CONFIG=",gamemode,vkbasalt,resolution,wine,arch,version,time,vram,ram,gpu_core_clock,gpu_temp,cpu_mhz,core_load,cpu_temp,"
export SW_USE_WINE="wine_steam_proton"
export SW_USE_PFX="pfx_default"
################################################################################
54 changes: 54 additions & 0 deletions data/app_config/Zona
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
#!/usr/bin/env bash
################################################################################
export SW_USE_LAUNCH_PARAMETERS=""
export SW_USE_WINEDLLOVERRIDES=""
export SW_USE_WINEARCH="win64"
export SW_USE_WINDOWS_VER="10"
export SW_USE_REGEDIT_PATCH=""
export SW_USE_DXVK_GE=0
export SW_USE_VKD3D_GE=0
export SW_USE_OPENGL=0
export SW_USE_STRANGLE_FPS_LIMIT=0
export SW_USE_MANGOHUD_DLSYM=0
export SW_USE_MANGOHUD=0
export SW_USE_GAMEMODE=1
export SW_USE_RUNTIME=1
export SW_USE_RESTORE_RESOLUTION=0
export SW_USE_VIRTUAL_DESKTOP=0
export SW_USE_FSYNC=0
export SW_USE_ESYNC=0
export SW_USE_OLD_GL_STRING=0
export SW_USE_NVAPI_DISABLE=0
export SW_USE_WINEDBG_DISABLE=1
export SW_USE_LARGE_ADDRESS_AWARE=1
export SW_USE_STAGING_WRITECOPY=0
export SW_USE_STAGING_SHARED_MEMORY=1
export SW_USE_DXVK_HUD=0
export SW_USE_DXVK_ASYNC=0
export SW_USE_ENABLE_VKBASALT=1
export SW_USE_FSR=0
export SW_USE_GSTREAMER=1
export SW_USE_DRI_PRIME=0
export SW_USE_WINE_MONO=1
export SW_USE_BATTLEYE=0
export SW_USE_EASYANTICHEAT=0
export SW_USE_D3D_PLUGINS=1
export SW_USE_VSYNC_DISABLE=0
export SW_USE_HIDE_NVIDIA_GPU=1
export SW_USE_DGVOODOO2=0
export SW_USE_DLSS_TO_FSR=0
export SW_USE_NVAPI_AND_DLSS=0
export SW_USE_AUTOSTART_TRAY=0
export SW_USE_WINMM_DLL=0
export SW_USE_DXVK_VER="2.1"
export SW_USE_VKD3D_VER="2.8"
export SW_USE_LANG=ru
export SW_USE_THEME=purple
export SW_USE_VKBASALT_EFFECTS="cas:Tonemap:Colourfulness:"
export SW_USE_VKBASALT_CAS="0.6"
export SW_USE_HUD_POSITION="R"
export SW_USE_FPS_LIMIT="0.0"
export SW_USE_MANGOHUD_CONFIG=",gamemode,vkbasalt,resolution,wine,arch,version,time,vram,ram,gpu_core_clock,gpu_temp,cpu_mhz,core_load,cpu_temp,"
export SW_USE_WINE="wine_proton_ge"
export SW_USE_PFX="pfx_Zona"
################################################################################
54 changes: 54 additions & 0 deletions data/app_config/lgc_api
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
#!/usr/bin/env bash
################################################################################
export SW_USE_LAUNCH_PARAMETERS=""
export SW_USE_WINEDLLOVERRIDES=""
export SW_USE_WINEARCH="win64"
export SW_USE_WINDOWS_VER="10"
export SW_USE_REGEDIT_PATCH=""
export SW_USE_DXVK_GE=0
export SW_USE_VKD3D_GE=0
export SW_USE_OPENGL=0
export SW_USE_STRANGLE_FPS_LIMIT=0
export SW_USE_MANGOHUD_DLSYM=0
export SW_USE_MANGOHUD=1
export SW_USE_GAMEMODE=1
export SW_USE_RUNTIME=1
export SW_USE_RESTORE_RESOLUTION=0
export SW_USE_VIRTUAL_DESKTOP=0
export SW_USE_FSYNC=0
export SW_USE_ESYNC=0
export SW_USE_OLD_GL_STRING=0
export SW_USE_NVAPI_DISABLE=0
export SW_USE_WINEDBG_DISABLE=1
export SW_USE_LARGE_ADDRESS_AWARE=1
export SW_USE_STAGING_WRITECOPY=0
export SW_USE_STAGING_SHARED_MEMORY=1
export SW_USE_DXVK_HUD=0
export SW_USE_DXVK_ASYNC=1
export SW_USE_ENABLE_VKBASALT=1
export SW_USE_FSR=1
export SW_USE_GSTREAMER=1
export SW_USE_DRI_PRIME=0
export SW_USE_WINE_MONO=1
export SW_USE_BATTLEYE=0
export SW_USE_EASYANTICHEAT=0
export SW_USE_D3D_PLUGINS=1
export SW_USE_VSYNC_DISABLE=0
export SW_USE_HIDE_NVIDIA_GPU=0
export SW_USE_DGVOODOO2=0
export SW_USE_DLSS_TO_FSR=0
export SW_USE_NVAPI_AND_DLSS=0
export SW_USE_AUTOSTART_TRAY=0
export SW_USE_WINMM_DLL=0
export SW_USE_DXVK_VER="2.1"
export SW_USE_VKD3D_VER="2.8"
export SW_USE_LANG=ru
export SW_USE_THEME=purple
export SW_USE_VKBASALT_EFFECTS="cas:Tonemap:Colourfulness:"
export SW_USE_VKBASALT_CAS="0.6"
export SW_USE_HUD_POSITION="R"
export SW_USE_FPS_LIMIT="0.0"
export SW_USE_MANGOHUD_CONFIG=",gamemode,vkbasalt,resolution,wine,arch,version,time,vram,ram,gpu_core_clock,gpu_temp,cpu_mhz,core_load,cpu_temp,"
export SW_USE_WINE="wine_proton_ge"
export SW_USE_PFX="pfx_lgc_api"
################################################################################
Binary file added data/img/launcher_icons/EA_Launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/img/launcher_icons/Genshin_Impact.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/img/launcher_icons/Lost_Light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed data/img/launcher_icons/Origin.png
Binary file not shown.
37 changes: 36 additions & 1 deletion data/scripts/sw_deps
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,28 @@

echo "<< enter the user password to install the dependency for StartWine >>"

###################################___NALA___:

if [ -x "$(command -v nala)" ]; then

sudo nala update 2>/dev/null || echo 'Passed' &&
sudo nala install software-properties-common 2>/dev/null || echo 'Pass' &&
sudo dpkg --add-architecture i386 2>/dev/null || echo 'Pass' &&
sudo nala update 2>/dev/null || echo 'Passed' &&

for deps in zstd imagemagick vulkan-tools wine xdg-user-dirs gir1.2-vte-2.91 htop python3-gi-cairo python3-opengl python3-numpy python3-pil python3-six ; do

if [ "`sudo nala list --installed $deps 2>/dev/null | grep $deps`" == "" ]; then
sudo nala install $deps -y || echo "$deps __________Passed"
else
echo "$deps _________________________________package is already installed"
fi

done

###################################___APT___:

if [ -x "$(command -v apt)" ]; then
elif [ -x "$(command -v apt)" ]; then

sudo apt update -y 2>/dev/null || echo 'Passed' &&
sudo apt install software-properties-common -y 2>/dev/null || echo 'Pass' &&
Expand All @@ -21,6 +40,22 @@ if [ -x "$(command -v apt)" ]; then

done

###################################___APT-GET___:

elif [ -x "$(command -v apt-get)" ]; then

sudo apt-get update -y 2>/dev/null || echo 'Passed' &&

for deps in zstd ImageMagick vulkan-tools wine i586-wine xdg-user-dirs vte3 vte gem-vte3 libvte3 libvte3-gir gem-vte3-no-gi i586-gem-vte i586-libvte i586-libvte3 gnome-pty-helper libvte libvte-devel python-module-vte python-module-vte-devel i586-python-module-vte htop python3-module-cairocffi python3-module-OpenGL python3-module-numpy python3-module-Pillow python3-module-six python3-module-matplotlib-gtk3 python-module-vte ; do

if [ "`sudo apt-get list --installed $deps 2>/dev/null | cut -d '/' -f1 | tail -n1`" != "$deps" ]; then
sudo apt-get install $deps -y 2>/dev/null || echo "$deps __________Passed"
else
echo "$deps _________________________________package is already installed"
fi

done

#####################################___DNF___:

elif [ -x "$(command -v dnf)" ]; then
Expand Down
10 changes: 6 additions & 4 deletions data/scripts/sw_main
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3

################################___SCRIPTS_V370___:
################################___SCRIPTS_V373___:

import os
import sys
Expand Down Expand Up @@ -36,8 +36,8 @@ sw_path = Path(os.path.dirname(os.path.abspath(__file__))).parent.parent
sw_scripts = f"{sw_path}/data/scripts"

sw_bin = f"{sw_path}/data/tools/utils/bin"
sw_ld_lib = f"{sw_path}/data/tools/utils/libs/x86-64"
sw_gi_typelib = f"{sw_path}/data/tools/utils/libs/x86-64/gi_typelib"
sw_ld_lib = f"{sw_path}/data/tools/utils/libs/lib"
sw_gi_typelib = f"{sw_path}/data/tools/utils/libs/lib/gi_typelib"

os.environ["LD_LIBRARY_PATH"] = os.pathsep + sw_ld_lib
os.environ["GI_TYPELIB_PATH"] = os.pathsep + sw_gi_typelib
Expand Down Expand Up @@ -104,17 +104,19 @@ launchers_data = [
f"{sw_pfx}/pfx_BsgLauncher/drive_c/Battlestate Games/BsgLauncher/BsgLauncher.exe",
f"{sw_pfx}/pfx_Caliber/drive_c/Program Files (x86)/1C Game Studios/Caliber/Caliber.exe",
f"{sw_pfx}/pfx_CrossOut/drive_c/Crossout/CrossOut.exe",
f"{sw_pfx}/pfx_EALauncher/drive_c/Program Files/Electronic Arts/EA Desktop/EA Desktop/EALauncher.exe",
f"{sw_pfx}/pfx_EpicGamesLauncher/drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe",
f"{sw_pfx}/pfx_evelauncher/drive_c/EVE/Launcher/evelauncher.exe",
f"{sw_pfx}/pfx_GalaxyClient/drive_c/Program Files (x86)/GOG Galaxy/GalaxyClient.exe",
f"{sw_pfx}/pfx_GameCenter/drive_c/GameCenter/GameCenter.exe",
f"{sw_pfx}/pfx_GameXP_Launcher/drive_c/Launcher/GameXP Launcher.exe",
f"{sw_pfx}/pfx_launcher/drive_c/Program Files/Genshin Impact/launcher.exe",
f"{sw_pfx}/pfx_gfclient/drive_c/Program Files (x86)/GameforgeClient/gfclient.exe",
f"{sw_pfx}/pfx_itch/drive_c/users/steamuser/AppData/Local/itch/app-25.5.1/itch.exe",
f"{sw_pfx}/pfx_lgc_api/drive_c/ProgramData/Lesta/GameCenter/api/lgc_api.exe",
f"{sw_pfx}/pfx_Lineage/drive_c/GameCoast Games/launcher/Lineage.exe",
f"{sw_pfx}/pfx_Lost_Light/drive_c/Program Files (x86)/LostLight/Lost Light.exe",
f"{sw_pfx}/pfx_yuzu/drive_c/yuzu/yuzu.exe",
f"{sw_pfx}/pfx_Origin/drive_c/Program Files (x86)/Origin/Origin.exe",
f"{sw_pfx}/pfx_osu!/drive_c/osu!/osu!.exe",
f"{sw_pfx}/pfx_PathOfExile/drive_c/Grinding Gear Games/Path of Exile/PathOfExile.exe",
f"{sw_pfx}/pfx_PlariumPlay/drive_c/users/steamuser/AppData/Local/PlariumPlay/PlariumPlay.exe",
Expand Down
9 changes: 7 additions & 2 deletions data/scripts/sw_menu.glade
Original file line number Diff line number Diff line change
Expand Up @@ -5619,7 +5619,7 @@ Example: -d3d11</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">
StartWine
3.7.0</property>
3.7.3</property>
<property name="justify">center</property>
<attributes>
<attribute name="underline" value="True"/>
Expand Down Expand Up @@ -6073,7 +6073,12 @@ Maslov N.G.</property>
<property name="label" translatable="yes">Huskysoul
Lintech
Lex
VHSgunzo</property>
VHSgunzo
Kot 41ru
Sheridan
3y6HuK
Wik
kazbek</property>
</object>
<packing>
<property name="left-attach">0</property>
Expand Down
Loading

0 comments on commit ffc8e37

Please sign in to comment.