Started work on supporting the new Survive the Wild version. It is commented for now, because no speech. I'm really going to have to work on the tolk.dll problem at some point.

This commit is contained in:
stormdragon2976 2023-05-12 18:16:13 -04:00
parent 5f03df41f8
commit d3bb2c58a8

View File

@ -1159,7 +1159,7 @@ gameList=(
"Super Egg Hunt"
"Super Liam"
"Super Mario Bros"
"Survive the Wild"
#"Survive the Wild"
"Swamp"
"Tactical Battle"
"Technoshock"
@ -2830,11 +2830,12 @@ EOF
add_launcher "c:\Program Files\Super Mario Bros\Mario.exe"
;;
"Survive the Wild")
export WINEARCH=win64
export winVer="win7"
install_wine_bottle speechsdk
download "http://www.samtupy.com/games/stw.zip"
install_wine_bottle
download "https://stw.samtupy.com/files/stw.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll"
unzip -d "$WINEPREFIX/drive_c/Program Files/Survive the Wild" "${cache}/stw.zip"
find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \;
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \;
add_launcher "c:\Program Files\Survive the Wild\stw.exe"
;;
"Swamp")