From af77aa532645aa3ea470d67a0980215e5b1c0058 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 4 Nov 2022 01:51:36 -0400 Subject: [PATCH] Added games "Haunted Party" and "Breu2 Shadow Hunt". --- audiogame-manager.sh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 88ad8c9..255fed8 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -776,6 +776,9 @@ game_launcher() { fi fi # for games that require custom scripts before launch or custom launch parameters + if [[ "$game" =~ haunted-party ]]; then + pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & + fi if [[ "$game" =~ laser-breakout ]]; then pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & fi @@ -805,6 +808,9 @@ game_launcher() { if [[ "$game" =~ bop-it-emulator ]]; then "${0%/*}/speech/speak_window_title.sh" bop.exe & fi + if [[ "$game" =~ breu2-shadow-hunt ]]; then + pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & + fi if [[ "$game" =~ road-to-rage\| ]]; then "${0%/*}/speech/speak_window_title.sh" trtr.exe & fi @@ -980,6 +986,7 @@ gameList=( "Bombercats" "Bop It Emulator" #"Breed Memorial" + "Breu2 Shadow Hunt" "Castaways" "Castaways 2" "Challenge of the Horse" @@ -1016,6 +1023,7 @@ gameList=( "GMA Tank Commander" "Grizzly Gulch" "Hammer of Glory" + "haunted Party" "Hearthstone" "Hunter" "Insect Therapy" @@ -1677,6 +1685,16 @@ case "${game}" in 7z x -o"$WINEPREFIX/drive_c/Program Files/Bop It" "${cache}/BopItEmulator3.1PasswordIsBopIt.7z" -pBopIt add_launcher "c:\Program Files\Bop It\bop.exe" ;; + "Breu2 Shadow Hunt") + get_installer "breu2.zip" "https://breu.itch.io/shadowhunt" + download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" + export WINEARCH=win64 + export winVer="win8" + install_wine_bottle + unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/breu2.zip" + find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; + add_launcher "c:\Program Files\breu2\breu2.exe" + ;; "Bombercats") export bottle="oriol-gomez" export winVer="win7" @@ -2031,6 +2049,16 @@ case "${game}" in find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; add_launcher "c:\Program Files\hammer of glory\game.exe" ;; + "haunted Party") + get_installer "hp.zip" "https://tunmi13.itch.io/haunted-party" + download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" + export WINEARCH=win64 + export winVer="win8" + install_wine_bottle + unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/hp.zip" + find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; + add_launcher "c:\Program Files\hp\hp.exe" + ;; "Hearthstone") export winVer="win10" install_wine_bottle ie8 vcrun2015 speechsdk