From 0f1ab0d958cef709592123fdbbdbbf14879abf81 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 27 Aug 2022 23:45:22 -0400 Subject: [PATCH] Changed RS Games to use the nvda2speech dll so that it uses speech-dispatcher now. I get the feeling I may have to revert this though because it does chop stuff sometimes. --- audiogame-manager.sh | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 0a985f3..33b323a 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -786,6 +786,9 @@ game_launcher() { wine "$winePath\\$wineExec" exit 0 fi + if [[ "$game" =~ rs-games ]]; then + pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & + fi if [[ "$game" =~ screaming-strike-2 ]]; then pushd "$(winepath "$winePath")" wine "$wineExec" @@ -964,6 +967,7 @@ gameList=( "Duck Hunt" "DynaMan" "Easter Quest" + #"Endless Runner" "Entombed" "ESP Pinball Classic" "ESP Pinball Extreme" @@ -1781,6 +1785,13 @@ case "${game}" in wine "${cache}/easter quest setup.exe" /silent add_launcher "c:\Program Files\MTGames\Easter Quest\easter.exe" ;; + "Endless Runner") + install_wine_bottle speechsdk + download "http://www.masonasons.me/softs/EndlessRunner.7z" + 7z e -y -o"$WINEPREFIX/drive_c/Program Files/Endless Hunter" "${cache}/EndlessRunner.7z" -prunner + find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; + add_launcher "c:\Program Files\Endless Hunter\runner.exe" + ;; "Entombed") export winVer="win7" install_wine_bottle speechsdk msvcrt40 gdiplus ie7 wmp11 mf @@ -2279,9 +2290,9 @@ EOF "RS Games") export winVer="win7" install_wine_bottle speechsdk - download "http://rsgames.org/rsdownloads/rsgclient/rsgames-client-setup-2.01.exe" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" + download "http://rsgames.org/rsdownloads/rsgclient/rsgames-client-setup-2.01.exe" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll" wine "${cache}/rsgames-client-setup-2.01.exe" /silent - find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; + find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; add_launcher "c:\Program Files\RS Games Client\rsg.exe" ;; "Run For Your Life")