diff --git a/data_from_portwine/img/gui/bloodandsoul.png b/data_from_portwine/img/gui/bloodandsoul.png new file mode 100644 index 00000000..3662b099 Binary files /dev/null and b/data_from_portwine/img/gui/bloodandsoul.png differ diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_BLOOD_AND_SOUL b/data_from_portwine/scripts/pw_autoinstall/PW_BLOOD_AND_SOUL new file mode 100755 index 00000000..73690a64 --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_BLOOD_AND_SOUL @@ -0,0 +1,22 @@ +#!/usr/bin/env bash +# Author: chal55rus (Sergey P.) +######################################################################## +export PW_PREFIX_NAME="BLOOD_AND_SOUL" +export LAUNCH_PARAMETERS=("/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-") +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/bs-install.exe" +export PORTWINE_CREATE_SHORTCUT_NAME="Blood and Soul" + +start_portwine +if try_download "https://bsclassic.com/files/bs-install.exe" "${PW_AUTOINSTALL_EXE}" no_mirror +then + pw_start_progress_bar_install_game "Blood and Soul ..." + pw_run "${PW_AUTOINSTALL_EXE}" + portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Blood and Soul Classic/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 e9bb15fd..003ea514 100755 --- a/data_from_portwine/scripts/start.sh +++ b/data_from_portwine/scripts/start.sh @@ -744,6 +744,7 @@ else --field=" Anomaly Zone"!"$PW_GUI_ICON_PATH/anomalyzone.png"!"":"FBTN" '@bash -c "button_click --normal PW_ANOMALY_ZONE"' \ --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"' \ 2>/dev/null & export START_FROM_PP_GUI="1"