From d54bba01ccfe3eed238e8da5f095c038fe60b0c7 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 23 Jul 2021 18:51:44 -0400 Subject: [PATCH] Updated installer for Warsim. --- audiogame-manager.sh | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index a0af5e0..ed4747e 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -695,6 +695,10 @@ game_launcher() { popd exit 0 fi + if [[ "$game" =~ warsim ]]; then + wine "$winePath\\$wineExec" + exit 0 + fi if [[ -d "${WINEPREFIX}/drive_c/windows/syswow64" ]]; then wine64 start /realtime /d "${winePath}" "$wineExec" else @@ -891,6 +895,7 @@ gameList=( "Undead Assault" "Villains From Beyond" "VIP Mud" + "Warsim" "Windows Attack" #"World of War" ) @@ -1920,10 +1925,10 @@ EOF "Space Defender") export WINEARCH="win64" export winVer="win7" - install_wine_bottle speechsdk - download "http://tunmi13.ddns.net/projects/space_defender.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" + install_wine_bottle + download "http://tunmi13.ddns.net/projects/space_defender.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient64.dll" unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/space_defender.zip" - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; + find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvdaControllerClient64.dll" "{}" \; add_launcher "c:\Program Files\space_defender\sdefender.exe" ;; "Super Egg Hunt") @@ -2122,6 +2127,13 @@ EOF echo "To be sure that each new dialog has had time to complete, wait a second between each press of enter." echo "In each subsequent launch, you will need to hit enter a couple times before it starts speaking." ;; + "Warsim") + get_installer "Warsim Full Game.zip" "https://huw2k8.itch.io/warsim" + export winVer="win7" + install_wine_bottle + unzip -d "$WINEPREFIX/drive_c/Program Files/Warsim/" "${cache}/Warsim Full Game.zip" + add_launcher "c:\Program Files\Warsim\Warsim.exe" + ;; "Windows Attack") get_installer "WA.exe" "https://drive.google.com/file/d/1BwKGLP37m-Z6nyKdo8LwmU9J1CEqfMb_/view?usp=drivesdk" export winVer="win7"