Added swamp.

This commit is contained in:
Storm Dragon 2020-09-05 15:02:33 -04:00
parent 7acc3e0f35
commit dd69bad03a

View File

@ -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"