Some very experimental changes. Thanks to @bgtlover@linuxrocks.online we

now have tolk support. This means that Survive the Wild works for the
most part. Also, the game Christmas Chaos works too.

There is a bit of a bug in the clipboard reader, but it only seems to
show up during the forms in STW. I'll see what I can do about getting it
fixed, but in the mean time, you may have a bit of trouble creating a
new account.

Please note that as the Tolk support improves, the way audiogame-manager
interacts with it may also change. instructions will be provided if
manual intervention is required.
This commit is contained in:
stormdragon2976 2023-05-26 08:53:51 -04:00
parent a6e70863e7
commit 866db35651

View File

@ -825,6 +825,9 @@ game_launcher() {
fi fi
fi fi
# for games that require custom scripts before launch or custom launch parameters # for games that require custom scripts before launch or custom launch parameters
if [[ "$game" =~ christmas-chaos ]]; then
"${0%/*}/speech/clipboard_reader.sh" ChristmasChaos &
fi
if [[ "$game" =~ dragon-pong ]]; then if [[ "$game" =~ dragon-pong ]]; then
"${0%/*}/speech/speak_window_title.sh" DragonPong.exe & "${0%/*}/speech/speak_window_title.sh" DragonPong.exe &
pushd "$(winepath "$winePath")" pushd "$(winepath "$winePath")"
@ -887,6 +890,9 @@ game_launcher() {
if [[ "$game" =~ sketchbook ]]; then if [[ "$game" =~ sketchbook ]]; then
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \;
fi fi
if [[ "$game" =~ survive-the-wild ]]; then
"${0%/*}/speech/clipboard_reader.sh" stw &
fi
if [[ "$game" =~ audiodisc ]]; then if [[ "$game" =~ audiodisc ]]; then
wine "$winePath\\$wineExec" wine "$winePath\\$wineExec"
exit 0 exit 0
@ -1065,7 +1071,7 @@ gameList=(
"Challenge of the Horse" "Challenge of the Horse"
"Chillingham" "Chillingham"
#"Chopper Challenge" #"Chopper Challenge"
#"Christmas Chaos" "Christmas Chaos"
"Christmas WhoopAss" "Christmas WhoopAss"
"Clashes of the Sky" "Clashes of the Sky"
"Code Dungeon" "Code Dungeon"
@ -1886,10 +1892,10 @@ download "https://erion.cf/files/ag_103.zip"
"Christmas Chaos") "Christmas Chaos")
export WINEARCH=win64 export WINEARCH=win64
export winVer="win7" export winVer="win7"
install_wine_bottle speechsdk install_wine_bottle
download "https://repo.accessiware.com/games/christmaschaos/ChristmasChaos.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" download "https://repo.accessiware.com/games/christmaschaos/ChristmasChaos.zip" "https://stormgames.wolfe.casa/downloads/Tolk.dll"
unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/ChristmasChaos.zip" unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/ChristmasChaos.zip"
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; find "${WINEPREFIX}" -type f -name 'Tolk.dll' -exec cp -v "${cache}/Tolk.dll" "{}" \;
add_launcher "c:\Program Files\ChristmasChaos\ChristmasChaos.exe" add_launcher "c:\Program Files\ChristmasChaos\ChristmasChaos.exe"
;; ;;
"Christmas WhoopAss") "Christmas WhoopAss")
@ -2860,9 +2866,9 @@ EOF
export WINEARCH=win64 export WINEARCH=win64
export winVer="win8" export winVer="win8"
install_wine_bottle 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" download "https://stw.samtupy.com/files/stw.zip" "https://stormgames.wolfe.casa/downloads/Tolk.dll"
unzip -d "$WINEPREFIX/drive_c/Program Files/Survive the Wild" "${cache}/stw.zip" unzip -d "$WINEPREFIX/drive_c/Program Files/Survive the Wild" "${cache}/stw.zip"
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; find "${WINEPREFIX}" -type f -name 'Tolk.dll' -exec cp -v "${cache}/Tolk.dll" "{}" \;
add_launcher "c:\Program Files\Survive the Wild\stw.exe" add_launcher "c:\Program Files\Survive the Wild\stw.exe"
echo "When the game first launches, press enter to select English." echo "When the game first launches, press enter to select English."
echo "Press alt+a to accept the license agreement." echo "Press alt+a to accept the license agreement."