diff --git a/data_from_portwine/img/gui/starconflict.png b/data_from_portwine/img/gui/starconflict.png new file mode 100755 index 0000000..3c2542c Binary files /dev/null and b/data_from_portwine/img/gui/starconflict.png differ diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_STARCONFLICT b/data_from_portwine/scripts/pw_autoinstall/PW_STARCONFLICT new file mode 100755 index 0000000..51327d4 --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_STARCONFLICT @@ -0,0 +1,22 @@ +#!/usr/bin/env bash +# Author: chal55rus +######################################################################## +export PW_PREFIX_NAME="STARCONFLICT" +export LAUNCH_PARAMETERS=("/VERYSILENT") +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/starconf_launcher_1.0.3.10.exe" +export PORTWINE_CREATE_SHORTCUT_NAME="Star Conflict" + +start_portwine +if try_download "https://yupmaster.gaijinent.com/launcher/current.php?id=StarConflictLauncher" "${PW_AUTOINSTALL_EXE}" no_mirror +then + pw_start_progress_bar_install_game "Star Conflict ..." + pw_kill_autostart launcher.exe & + pw_run "${PW_AUTOINSTALL_EXE}" + portwine_exe="${WINEPREFIX}/drive_c/users/steamuser/AppData/Local/StarConflict/launcher.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + 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 003ea51..122313c 100755 --- a/data_from_portwine/scripts/start.sh +++ b/data_from_portwine/scripts/start.sh @@ -745,6 +745,7 @@ else --field=" Farlight 84"!"$PW_GUI_ICON_PATH/farlight84.png"!"":"FBTN" '@bash -c "button_click --normal PW_FARLIGHT84"' \ --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 (ENG)"!"$PW_GUI_ICON_PATH/starconflict.png"!"":"FBTN" '@bash -c "button_click --normal PW_STARCONFLICT"' \ 2>/dev/null & export START_FROM_PP_GUI="1"