From 866db3565191807d56631625db6638036c7d33f3 Mon Sep 17 00:00:00 2001 From: stormdragon2976 Date: Fri, 26 May 2023 08:53:51 -0400 Subject: [PATCH] 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. --- audiogame-manager.sh | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index a9933ad..bcb2de1 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -825,6 +825,9 @@ game_launcher() { fi fi # 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 "${0%/*}/speech/speak_window_title.sh" DragonPong.exe & pushd "$(winepath "$winePath")" @@ -887,6 +890,9 @@ game_launcher() { if [[ "$game" =~ sketchbook ]]; then find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; fi + if [[ "$game" =~ survive-the-wild ]]; then + "${0%/*}/speech/clipboard_reader.sh" stw & + fi if [[ "$game" =~ audiodisc ]]; then wine "$winePath\\$wineExec" exit 0 @@ -1065,7 +1071,7 @@ gameList=( "Challenge of the Horse" "Chillingham" #"Chopper Challenge" - #"Christmas Chaos" + "Christmas Chaos" "Christmas WhoopAss" "Clashes of the Sky" "Code Dungeon" @@ -1886,10 +1892,10 @@ download "https://erion.cf/files/ag_103.zip" "Christmas Chaos") export WINEARCH=win64 export winVer="win7" - install_wine_bottle speechsdk - download "https://repo.accessiware.com/games/christmaschaos/ChristmasChaos.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" + install_wine_bottle + 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" - 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" ;; "Christmas WhoopAss") @@ -2860,9 +2866,9 @@ EOF export WINEARCH=win64 export winVer="win8" 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" - 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" echo "When the game first launches, press enter to select English." echo "Press alt+a to accept the license agreement."