From dd69bad03af4e8dcf24c38805f60cbbed20eff53 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 5 Sep 2020 15:02:33 -0400 Subject: [PATCH] Added swamp. --- audiogame-manager.sh | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 44697ea..12547fb 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -144,7 +144,7 @@ game_removal() { rm -rf "${HOME}/.local/wine/${game%|*}" # remove the launcher awk -i inplace -vLine="${game//\\/\\\\}" '!index($0,Line)' "$configFile" - echo "${game##*|} has been deleted." + echo "The selected game has been deleted." fi exit 0 } @@ -253,6 +253,7 @@ gameList=( "Shades of Doom" "Super Egg Hunt" "Super Liam" + "Swamp" "The Blind Swordsman" "Technoshock" "Top Speed 3" @@ -354,6 +355,19 @@ case "${game}" in add_launcher "c:\Program Files\lWorks\Super Liam\sl.exe" rm -f "$WINEPREFIX/drive_c/Program Files/superliam.exe" ;; + "Swamp") + winetricksSettings="vd=1024x768" + install_wine_bottle vb6run dx8vb quartz speechsdk corefonts + wget -O "$WINEPREFIX/drive_c/Program Files/Swamp.zip" "https://kaldobsky.com/audiogames/Swamp.zip" + unzip -d "$WINEPREFIX/drive_c/Program Files/swamp" "$WINEPREFIX/drive_c/Program Files/Swamp.zip" + # make sure the latest version is installed. + if wget -O "$WINEPREFIX/drive_c/Program Files/SwampPatch.zip" "https://www.kaldobsky.com/audiogames/SwampPatch.zip" ; then + unzip -o -d "$WINEPREFIX/drive_c/Program Files/swamp" "$WINEPREFIX/drive_c/Program Files/SwampPatch.zip" + fi + wine cmd.exe /c 'cd /d c:\Program Files\swamp && Windows32bit.bat' + rm -f "$WINEPREFIX/drive_c/Program Files/Swamp.zip" + add_launcher "c:\Program Files\swamp\Swamp.exe" + ;; "The Blind Swordsman") install_wine_bottle wget -O "$WINEPREFIX/drive_c/Program Files/theblindswordsmanPC.zip" "http://www.evildogserver.com/theblindswordsman/theblindswordsmanPC.zip"