Scripts version 2245

This commit is contained in:
Mikhail Tergoev
2024-01-19 18:59:32 +03:00
parent 3744dbf0b5
commit 2fb4fd4952
10 changed files with 38 additions and 11 deletions

View File

@ -4,7 +4,9 @@
export PW_PREFIX_NAME="CALIBER"
export LAUNCH_PARAMETERS=("/VERYSILENT")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/CaliberSetup.exe"
export PW_WINE_USE=PROTON_STEAM_6.3-8
export PW_WINE_USE=WINE_LG_9-0
export DISABLE_CP_DEFPFX=1
export PORTWINE_CREATE_SHORTCUT_NAME="CALIBER"
gui_proton_downloader silent "${PW_WINE_USE}"
@ -15,11 +17,11 @@ then
pw_kill_autostart VC_redist.x64.exe 3 &
pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/1C Game Studios/Caliber/Launcher.exe"
pw_create_unique_exe "caliber_launcher_pp"
try_remove_file "${PW_AUTOINSTALL_EXE}"
try_remove_file "${portwine_exe}.ppdb"
kill_portwine
pw_stop_progress_bar
export PORTWINE_CREATE_SHORTCUT_NAME="CALIBER"
portwine_create_shortcut
fi
stop_portwine

View File

@ -4,6 +4,9 @@
export LAUNCH_PARAMETERS=("/silent" "/repair" )
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/EAappInstaller.exe"
export PW_VULKAN_USE=1
# export PW_USE_D3D_EXTRAS="0"
# export DISABLE_CP_DEFPFX=1
export PW_PREFIX_NAME="EAAPP"
start_portwine
if try_download_game "https://origin-a.akamaihd.net/EA-Desktop-Client-Download/installer-releases/EAappInstaller.exe" "${PW_AUTOINSTALL_EXE}"

View File

@ -9,6 +9,7 @@ GOG_VER="$(curl "https://remote-config.gog.com/components/webinstaller?component
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/setup_galaxy_${GOG_VER}.exe"
export PW_PREFIX_NAME="GOG"
export DISABLE_CP_DEFPFX=1
export PW_WINE_USE=PROTON_STEAM_8.0-4
start_portwine