From eda9b9e324c849e542fa83da6362a5f8e7582b30 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Sat, 20 Aug 2022 23:10:51 -0700 Subject: [PATCH] Fix crime hunter, and blind drive --- audiogame-manager.sh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 976496a..c83520f 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -920,7 +920,7 @@ gameList=( "BG Word Target" "BG Word Yahtzee" "BG Yahtzee" - #"Blind Drive" + "Blind Drive" "Bloodshed" "Bombercats" #"Breed Memorial" @@ -1177,9 +1177,10 @@ case "${game}" in add_launcher "c:\Program Files\Battle Zone\ss.exe" ;; "Beatstar Pro") + # Sapi is broken on win64 for now, and this game doesn't support nvda it seems. export WINEARCH=win64 export winVer="win7" - install_wine_bottle sapi mf + install_wine_bottle mf download "https://oriolgomez.com/games/beat_windows.zip" unzip -d "$WINEPREFIX/drive_c/Program Files/Beatstar Pro" "${cache}/beat_windows.zip" add_launcher "c:\Program Files\Beatstar Pro\beatstar.exe" @@ -1546,13 +1547,15 @@ case "${game}" in ;; "Blind Drive") get_installer "Blind Drive 1.1.112.00i-win64.zip" "https://lofipeople.itch.io/blind-drive" + download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" export WINEARCH=win64 export winVer="win8" - install_wine_bottle sapi + install_wine_bottle unzip -d "$WINEPREFIX/drive_c/Program Files/blind-drive" "${cache}/Blind Drive 1.1.112.00i-win64.zip" # Weird work around to get keyboard working. winetricks -q usetakefocus=y winetricks -q usetakefocus=n + find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; add_launcher "c:\Program Files\blind-drive\Blind Drive.exe" ;; "Bloodshed") @@ -1673,10 +1676,10 @@ case "${game}" in "Crime Hunter") export WINEARCH=win64 export winVer="win7" - install_wine_bottle sapi - download "http://masonasons.me/softs/CH2.0Win.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient64.dll" + install_wine_bottle + download "http://masonasons.me/softs/CH2.0Win.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" unzip -d "$WINEPREFIX/drive_c/Program Files/crime-hunter" "${cache}/CH2.0Win.zip" - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvdaControllerClient64.dll" "{}" \; + find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; add_launcher "c:\Program Files\crime-hunter\ch.exe" ;; "Danger on the Wheel")