Fix crime hunter, and blind drive

This commit is contained in:
Michael Taboada 2022-08-20 23:10:51 -07:00
parent f38cc92d4f
commit eda9b9e324

View File

@ -920,7 +920,7 @@ gameList=(
"BG Word Target" "BG Word Target"
"BG Word Yahtzee" "BG Word Yahtzee"
"BG Yahtzee" "BG Yahtzee"
#"Blind Drive" "Blind Drive"
"Bloodshed" "Bloodshed"
"Bombercats" "Bombercats"
#"Breed Memorial" #"Breed Memorial"
@ -1177,9 +1177,10 @@ case "${game}" in
add_launcher "c:\Program Files\Battle Zone\ss.exe" add_launcher "c:\Program Files\Battle Zone\ss.exe"
;; ;;
"Beatstar Pro") "Beatstar Pro")
# Sapi is broken on win64 for now, and this game doesn't support nvda it seems.
export WINEARCH=win64 export WINEARCH=win64
export winVer="win7" export winVer="win7"
install_wine_bottle sapi mf install_wine_bottle mf
download "https://oriolgomez.com/games/beat_windows.zip" download "https://oriolgomez.com/games/beat_windows.zip"
unzip -d "$WINEPREFIX/drive_c/Program Files/Beatstar Pro" "${cache}/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" add_launcher "c:\Program Files\Beatstar Pro\beatstar.exe"
@ -1546,13 +1547,15 @@ case "${game}" in
;; ;;
"Blind Drive") "Blind Drive")
get_installer "Blind Drive 1.1.112.00i-win64.zip" "https://lofipeople.itch.io/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 WINEARCH=win64
export winVer="win8" 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" 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. # Weird work around to get keyboard working.
winetricks -q usetakefocus=y winetricks -q usetakefocus=y
winetricks -q usetakefocus=n 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" add_launcher "c:\Program Files\blind-drive\Blind Drive.exe"
;; ;;
"Bloodshed") "Bloodshed")
@ -1673,10 +1676,10 @@ case "${game}" in
"Crime Hunter") "Crime Hunter")
export WINEARCH=win64 export WINEARCH=win64
export winVer="win7" export winVer="win7"
install_wine_bottle sapi install_wine_bottle
download "http://masonasons.me/softs/CH2.0Win.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient64.dll" 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" 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" add_launcher "c:\Program Files\crime-hunter\ch.exe"
;; ;;
"Danger on the Wheel") "Danger on the Wheel")