Updated Laser Breakout to use the new nvda2speechd dll, but it still doesn't speak, so commented out for now.

This commit is contained in:
Storm Dragon 2022-08-21 12:22:13 -04:00
parent eda9b9e324
commit 15c73e8377

View File

@ -760,6 +760,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" =~ laser-breakout ]]; then
pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd &
fi
if [[ "$game" =~ sequence-storm ]]; then if [[ "$game" =~ sequence-storm ]]; then
[[ -x ~/.SequenceStormReader ]] && ~/.SequenceStormReader & [[ -x ~/.SequenceStormReader ]] && ~/.SequenceStormReader &
fi fi
@ -1995,12 +1998,12 @@ EOF
"Laser Breakout") "Laser Breakout")
export bottle="nyanchan" export bottle="nyanchan"
export winVer="win7" export winVer="win7"
install_wine_bottle speechsdk install_wine_bottle
download "http://www.nyanchangames.com/softs/lsSetup.exe" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" download "http://www.nyanchangames.com/softs/lsSetup.exe" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll"
wine "${cache}/lsSetup.exe" & wine "${cache}/lsSetup.exe" &
xdotool sleep 10 key Return xdotool sleep 10 key Return
wineserver -w wineserver -w
find "${WINEPREFIX}" -type f -name "nvdaControllerClient.dll" -exec rm -fv "{}" \; find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \;
add_launcher "c:\nyanchangame\laser breakout\play.exe" add_launcher "c:\nyanchangame\laser breakout\play.exe"
;; ;;
"Light Battles") "Light Battles")