diff --git a/data_from_portwine/img/GGDLauncher.png b/data_from_portwine/img/GGDLauncher.png new file mode 100644 index 00000000..7e2c4878 Binary files /dev/null and b/data_from_portwine/img/GGDLauncher.png differ diff --git a/data_from_portwine/img/Goose_Goose_Duck.png b/data_from_portwine/img/Goose_Goose_Duck.png new file mode 100644 index 00000000..7e2c4878 Binary files /dev/null and b/data_from_portwine/img/Goose_Goose_Duck.png differ diff --git a/data_from_portwine/img/Goose_Goose_Duck_48.png b/data_from_portwine/img/Goose_Goose_Duck_48.png new file mode 100644 index 00000000..4df3d2d4 Binary files /dev/null and b/data_from_portwine/img/Goose_Goose_Duck_48.png differ diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index abea0e38..8bf1e292 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -2502,7 +2502,7 @@ pw_create_gui_png () { fi if [[ -n "$PW_PRODUCTNAME" ]] \ - && [[ "$PW_PRODUCTNAME" != Bootstrap* ]] + && [[ ! "$PW_PRODUCTNAME" =~ Bootstrap ]] then PORTPROTON_NAME="$PW_PRODUCTNAME" else diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_GOOSE_GOOSE_DUCK b/data_from_portwine/scripts/pw_autoinstall/PW_GOOSE_GOOSE_DUCK index b952e72e..0108eb64 100755 --- a/data_from_portwine/scripts/pw_autoinstall/PW_GOOSE_GOOSE_DUCK +++ b/data_from_portwine/scripts/pw_autoinstall/PW_GOOSE_GOOSE_DUCK @@ -6,13 +6,14 @@ # info_en: # info_ru: ######################################################################## +VERSION="3.11.00" export PW_PREFIX_NAME="GOOSE_GOOSE_DUCK" export LAUNCH_PARAMETERS=("/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-") -export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Goose Goose Duck Installer 3.11.00 release.exe" +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Goose Goose Duck Installer $VERSION release.exe" export PORTWINE_CREATE_SHORTCUT_NAME="Goose Goose Duck" start_portwine -if try_download "https://firebasestorage.googleapis.com/v0/b/gaggle-staging.appspot.com/o/Builds%2FGGD%2FGoose%20Goose%20Duck%20Installer%203.11.00%20release.exe?alt=media&token=e6c29f8f-bfd8-4592-a740-821aa4cebe00" "${PW_AUTOINSTALL_EXE}" no_mirror +if try_download "https://firebasestorage.googleapis.com/v0/b/gaggle-staging.appspot.com/o/Builds%2FGGD%2FGoose%20Goose%20Duck%20Installer%20${VERSION}%20release.exe?alt=media&token=e6c29f8f-bfd8-4592-a740-821aa4cebe00" "${PW_AUTOINSTALL_EXE}" no_mirror then pw_start_progress_bar_install_game "Goose Goose Duck." pw_run "${PW_AUTOINSTALL_EXE}" diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_MINI_WORLD b/data_from_portwine/scripts/pw_autoinstall/PW_MINI_WORLD index 32dd1382..765ab94e 100755 --- a/data_from_portwine/scripts/pw_autoinstall/PW_MINI_WORLD +++ b/data_from_portwine/scripts/pw_autoinstall/PW_MINI_WORLD @@ -6,12 +6,14 @@ # info_en: # info_ru: ######################################################################## +URL_VER=$(curl https://www.miniworldgame.com/ | awk -F"/app_install/" '{print $2}' | awk -F"universal" '{print $1}') + export PW_PREFIX_NAME="MINI_WORLD" -export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/miniworld_universal_1.2.0_410.exe" +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/miniworld_universal.exe" export PORTWINE_CREATE_SHORTCUT_NAME="Mini World" start_portwine -if try_download "https://mwu-cdn.miniworldgame.com/install/1/410/miniworld_universal_1.2.0_410.exe" "${PW_AUTOINSTALL_EXE}" no_mirror +if try_download "https://mwu-api.miniworldgame.com/app_install/${URL_VER//[[:space:]]/}universal" "${PW_AUTOINSTALL_EXE}" no_mirror then pw_start_progress_bar_install_game "Mini World." "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/users/steamuser/AppData/Roaming/miniworldOverseasgame" diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_TOONTOWN_REWRITTEN b/data_from_portwine/scripts/pw_autoinstall/PW_TOONTOWN_REWRITTEN index ade6dda7..7364db3b 100755 --- a/data_from_portwine/scripts/pw_autoinstall/PW_TOONTOWN_REWRITTEN +++ b/data_from_portwine/scripts/pw_autoinstall/PW_TOONTOWN_REWRITTEN @@ -6,13 +6,17 @@ # info_en: # info_ru: ######################################################################## +URL_VER=$(curl https://www.toontownrewritten.com/play \ +| awk -F"https://cdn.toontownrewritten.com/launcher/windows/TTRInstaller-" '{print $2}' \ +| awk -F".exe" '{print $1}' | grep "v1" | head -n1) + export PW_PREFIX_NAME="TOONTOWN_REWRITTEN" export LAUNCH_PARAMETERS=("/S") -export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/TTRInstaller-v1.5.10" +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/TTRInstaller-$URL_VER.exe" export PORTWINE_CREATE_SHORTCUT_NAME="Toontown Rewritten" start_portwine -if try_download "https://cdn.toontownrewritten.com/launcher/windows/TTRInstaller-v1.5.10.exe" "${PW_AUTOINSTALL_EXE}" no_mirror +if try_download "https://cdn.toontownrewritten.com/launcher/windows/TTRInstaller-$URL_VER.exe" "${PW_AUTOINSTALL_EXE}" no_mirror then pw_start_progress_bar_install_game "Toontown Rewritten." pw_kill_autostart Launcher.exe &