From 39bd8b4f62842b1bfe9876e483c0b40d628bf160 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 15 Nov 2022 22:24:23 -0500 Subject: [PATCH] Finally got Dragon Pong working. --- audiogame-manager.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 1bb6f29..c4fe07d 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -726,6 +726,13 @@ game_launcher() { fi fi # for games that require custom scripts before launch or custom launch parameters + if [[ "$game" =~ dragon-pong ]]; then + "${0%/*}/speech/speak_window_title.sh" DragonPong.exe & + pushd "$(winepath "$winePath")" + wine "$wineExec" + popd + exit 0 + fi if [[ "$game" =~ haunted-party ]]; then pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & fi @@ -953,7 +960,7 @@ gameList=( "Death on the Road" "Deathmatch" "Dog Who Hates Toast" - #"Dragon Pong" + "Dragon Pong" "Duck Hunt" "DynaMan" "Easter Quest" @@ -1822,7 +1829,8 @@ case "${game}" in echo "Note: Dog who Hates Toast installed. Once you start the game, you must press tab until you hear sapi on to get speech." >&2 ;; "Dragon Pong") - install_wine_bottle vb6run dx8vb speechsdk + export winVer="win7" + install_wine_bottle download "https://www.iamtalon.me/games/dragonpong.zip" unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/dragonpong.zip" add_launcher "c:\Program Files\dragonpong\DragonPong.exe"