From 4a28fc86648ba83d8f3fcf0405c14dcb87fb85f6 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 26 Oct 2022 06:46:19 -0400 Subject: [PATCH 1/6] Try to make sure the nvdaControllerClient file doesn't get wrongly removed in some cases. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index e5bdf04..c00b1fd 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -796,7 +796,7 @@ game_launcher() { fi pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & fi - if [[ ! -d "${dictPath}/dict" ]]; then + if [[ ! -d "${dictPath}/dict" ]] && [[ ! -r "${cache}/bk3-dict.dat" ]]; then find "${WINEPREFIX}/drive_c/nyanchangame/bk3" -type f -name 'nvdaControllerClient.dll' -exec rm -v "{}" \; "${0%/*}/speech/clipboard_translator.sh" play.exe & fi From 45b6d1af85b1de7396ba959d30916d28b8fb4d51 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 27 Oct 2022 20:17:01 -0400 Subject: [PATCH 2/6] Added Bop It Emulator. --- audiogame-manager.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index c00b1fd..c6287d7 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -977,6 +977,7 @@ gameList=( "Bokurano Daibouken 2" "Bokurano Daibouken 3" "Bombercats" + "Bop It Emulator" #"Breed Memorial" "Castaways" "Castaways 2" @@ -1667,6 +1668,13 @@ case "${game}" in find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \; add_launcher "c:\nyanchangame\bk3\play.exe" ;; + "Bop It Emulator") + export winVer="win7" + install_wine_bottle + download "http://www.masonasons.me/softs/BopItEmulator3.1PasswordIsBopIt.7z" + 7z x -o"$WINEPREFIX/drive_c/Program Files/Bop It" "${cache}/BopItEmulator3.1PasswordIsBopIt.7z" -pBopIt + add_launcher "c:\Program Files\Bop It\bop.exe" + ;; "Bombercats") export bottle="oriol-gomez" export winVer="win7" From 5bf9f0147e335d740173f3997434d0780a09d3dc Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 30 Oct 2022 00:15:40 -0400 Subject: [PATCH 3/6] Removed the mostly useless logging because it breaks documentation. --- audiogame-manager.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index c6287d7..3ea8747 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -910,9 +910,6 @@ unset noCache # Manual installation is not default, make sure it's unset unset manualInstall -# Set up logging -echo -e "\n\n-----> Logging started at $(date '+%A, %B %d, %Y at %I:%M%p')\n" >> "${cache}/audiogame-manager.log" -exec &> >(command tee -a "${cache}/audiogame-manager.log") # The list of games available for installation. # Use menu friendly names. From cfc49f33e84821b70d9dcd202c2649b64063f330 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 30 Oct 2022 00:32:39 -0400 Subject: [PATCH 4/6] use speak window title script to read the Bop It Emulator stuff. --- audiogame-manager.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 3ea8747..68a3a1f 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -801,6 +801,9 @@ game_launcher() { "${0%/*}/speech/clipboard_translator.sh" play.exe & fi fi + if [[ "$game" =~ bop-it-emulator ]]; then + "${0%/*}/speech/speak_window_title.sh" bop.exe & + fi if [[ "$game" =~ road-to-rage\| ]]; then "${0%/*}/speech/speak_window_title.sh" trtr.exe & fi From ee1f9d28916bb928e30f5cc04146f2469d300923 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Sun, 30 Oct 2022 11:26:54 -0700 Subject: [PATCH 5/6] New game, coin collector --- audiogame-manager.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 68a3a1f..b8178da 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -986,6 +986,7 @@ gameList=( #"Chopper Challenge" "Christmas WhoopAss" "Code Dungeon" + "Coin Collector" #"Constant Battle" "Copter Mission" "Crazy Party" @@ -1735,6 +1736,16 @@ case "${game}" in echo "$USER|n/a" >> "$WINEPREFIX/drive_c/Program Files/x-sight interactive/chopper challenge/config.dat" add_launcher "c:\Program Files\x-sight interactive\chopper challenge\Chopper.exe" ;; + "Coin Collector") + export WINEARCH=win64 + export winVer="win7" + get_installer "coin collector.rar" "https://www.dropbox.com/s/v55q7t9n84otmcd/coin%20collector.rar?dl=1" + download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" + install_wine_bottle + unrar x "$cache/coin collector.rar" -op"$WINEPREFIX/drive_c/Program Files" + find "$WINEPREFIX/drive_c/Program Files/coin collector" -type f -name "nvdaControllerClient64.dll" -exec cp -v "$cache/nvda2speechd64.dll" "{}" \; + add_launcher "c:\Program Files\coin collector\game.exe" + ;; "Constant Battle") export winVer="win7" install_wine_bottle cjkfonts speechsdk From 802e5d9285564e3d500a836d86e71b94a59ebe86 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 30 Oct 2022 14:45:08 -0400 Subject: [PATCH 6/6] Dropbox links no longer require the get_installer function. --- audiogame-manager.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index b8178da..88ad8c9 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -320,6 +320,7 @@ download() { for i in "${source[@]}" ; do local dest="${i##*/}" dest="${dest//%20/ }" + dest="${dest%\?*}" # Remove the destination file if it is empty. test -s "${cache}/${dest}" || rm -f "${cache}/${dest}" 2> /dev/null if [[ "${redownload}" == "true" ]] && [[ -e "${cache}/${dest}" ]]; then @@ -1739,8 +1740,7 @@ case "${game}" in "Coin Collector") export WINEARCH=win64 export winVer="win7" - get_installer "coin collector.rar" "https://www.dropbox.com/s/v55q7t9n84otmcd/coin%20collector.rar?dl=1" - download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" + download "https://www.dropbox.com/s/v55q7t9n84otmcd/coin%20collector.rar?dl=1" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" install_wine_bottle unrar x "$cache/coin collector.rar" -op"$WINEPREFIX/drive_c/Program Files" find "$WINEPREFIX/drive_c/Program Files/coin collector" -type f -name "nvdaControllerClient64.dll" -exec cp -v "$cache/nvda2speechd64.dll" "{}" \;