diff --git a/data_from_portwine/img/gui/gamexp.png b/data_from_portwine/img/gui/gamexp.png new file mode 100644 index 0000000..115cb19 Binary files /dev/null and b/data_from_portwine/img/gui/gamexp.png differ diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_GAME_XP b/data_from_portwine/scripts/pw_autoinstall/PW_GAME_XP new file mode 100755 index 0000000..4b5b6ac --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_GAME_XP @@ -0,0 +1,22 @@ +#!/usr/bin/env bash +# Author: chal55rus +######################################################################## +export PW_PREFIX_NAME="GAMEXP" +export LAUNCH_PARAMETERS=("/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-") +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/InstallGameXPlauncher.exe" +export PORTWINE_CREATE_SHORTCUT_NAME="GameXP" + +start_portwine +if try_download "https://clotho-install.gamexp.com/launcher/InstallGameXPlauncher-0-pr.exe" "${PW_AUTOINSTALL_EXE}" no_mirror +then + pw_start_progress_bar_install_game "GameXP." + pw_kill_autostart gamexp-launcher.exe & + pw_run "${PW_AUTOINSTALL_EXE}" + portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/Programs/GameXP/Launcher/gamexp-launcher.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + try_remove_file "${portwine_exe}.ppdb" + kill_portwine + pw_stop_progress_bar + portwine_create_shortcut +fi +stop_portwine diff --git a/data_from_portwine/scripts/start.sh b/data_from_portwine/scripts/start.sh index f5e4647..078712a 100755 --- a/data_from_portwine/scripts/start.sh +++ b/data_from_portwine/scripts/start.sh @@ -752,6 +752,7 @@ else --field=" Secret World Legends (ENG)"!"$PW_GUI_ICON_PATH/swl.png"!"":"FBTN" '@bash -c "button_click --normal PW_SWL"' \ --field=" Blood and Soul"!"$PW_GUI_ICON_PATH/bloodandsoul.png"!"":"FBTN" '@bash -c "button_click --normal PW_BLOOD_AND_SOUL"' \ --field=" Star Conflict"!"$PW_GUI_ICON_PATH/starconflict.png"!"":"FBTN" '@bash -c "button_click --normal PW_STAR_CONFLICT"' \ + --field=" GameXP"!"$PW_GUI_ICON_PATH/gamexp.png"!"":"FBTN" '@bash -c "button_click --normal PW_GAME_XP"' \ 2>/dev/null & export START_FROM_PP_GUI="1"