diff --git a/data_from_portwine/img/gui/riseofflight.png b/data_from_portwine/img/gui/riseofflight.png new file mode 100644 index 00000000..51ab0f15 Binary files /dev/null and b/data_from_portwine/img/gui/riseofflight.png differ diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_RISE_OF_FLIGHT b/data_from_portwine/scripts/pw_autoinstall/PW_RISE_OF_FLIGHT new file mode 100755 index 00000000..442029e6 --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_RISE_OF_FLIGHT @@ -0,0 +1,21 @@ +#!/usr/bin/env bash +# Author: chal55rus +######################################################################## +export PW_PREFIX_NAME="RISE_OF_FLIGHT" +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/ROF_UE.zip" +export LAUNCH_PARAMETERS=("/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-") +export PORTWINE_CREATE_SHORTCUT_NAME="Rise of Flight" + +start_portwine +if try_download "https://il2bosrd1.cdnvideo.ru/ROF/ROF_UE.zip" "${PW_AUTOINSTALL_EXE}" no_mirror +then + pw_start_progress_bar_install_game "Rise of Flight. \n Wait for it. It takes a long time." + "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/1C-777/Rise of Flight" + pw_run "$WINEPREFIX/drive_c/Program Files (x86)/1C-777/Rise of Flight/ROF_UE/setup.exe" + portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/1C-777/Rise of Flight/bin_game/release/rof_updater.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + try_remove_file "${portwine_exe}.ppdb" + 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 2fb39313..289d8e41 100755 --- a/data_from_portwine/scripts/start.sh +++ b/data_from_portwine/scripts/start.sh @@ -755,6 +755,7 @@ else --field=" GameXP"!"$PW_GUI_ICON_PATH/gamexp.png"!"":"FBTN" '@bash -c "button_click --normal PW_GAME_XP"' \ --field=" Lost Light"!"$PW_GUI_ICON_PATH/lostlight.png"!"":"FBTN" '@bash -c "button_click --normal PW_LOST_LIGHT"' \ --field=" Arizona Games Launchert"!"$PW_GUI_ICON_PATH/arizonagameslauncher.png"!"":"FBTN" '@bash -c "button_click --normal PW_ARIZONA_GAMES_LAUNCHER"' \ + --field=" Rise of Flight"!"$PW_GUI_ICON_PATH/riseofflight.png"!"":"FBTN" '@bash -c "button_click --normal PW_RISE_OF_FLIGHT"' \ 2>/dev/null & export START_FROM_PP_GUI="1"