Commit 6fa65cb9 authored by Mikhail Tergoev's avatar Mikhail Tergoev

updated AI for latest games

parent e7745dc5
......@@ -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
......
......@@ -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}"
......
......@@ -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"
......
......@@ -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 &
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment