Finally got Dragon Pong working.

This commit is contained in:
Storm Dragon 2022-11-15 22:24:23 -05:00
parent 728b24f9b4
commit 39bd8b4f62

View File

@ -726,6 +726,13 @@ 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" =~ 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 if [[ "$game" =~ haunted-party ]]; then
pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd &
fi fi
@ -953,7 +960,7 @@ gameList=(
"Death on the Road" "Death on the Road"
"Deathmatch" "Deathmatch"
"Dog Who Hates Toast" "Dog Who Hates Toast"
#"Dragon Pong" "Dragon Pong"
"Duck Hunt" "Duck Hunt"
"DynaMan" "DynaMan"
"Easter Quest" "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 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") "Dragon Pong")
install_wine_bottle vb6run dx8vb speechsdk export winVer="win7"
install_wine_bottle
download "https://www.iamtalon.me/games/dragonpong.zip" download "https://www.iamtalon.me/games/dragonpong.zip"
unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/dragonpong.zip" unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/dragonpong.zip"
add_launcher "c:\Program Files\dragonpong\DragonPong.exe" add_launcher "c:\Program Files\dragonpong\DragonPong.exe"