From 6c9065bf669c027814eca3a510e5d38f27a396f4 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 24 Oct 2021 13:51:33 -0400 Subject: [PATCH 1/6] Bumped rhvoice installer timeout to 20 seconds because sometimes the pi 4 is slow. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index a9f0992..4188103 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -490,7 +490,7 @@ install_wine_bottle() { winetricks -q win8 echo "Installing RHVoice..." wine "${cache}/RHVoice-voice-English-Bdl-v4.1.9-setup.exe" & - sleep 15 + sleep 20 wineserver -k fi winetricks -q $@ ${winVer:-winxp} ${winetricksSettings}; } | dialog --progressbox "Installing wine bottle, please wait..." -1 -1 From 6a833232873fe3e6feb77f9b350bebf8293b315b Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 25 Oct 2021 07:24:42 -0400 Subject: [PATCH 2/6] Rough outline for "Hearthstone" added. This still needs quite a bit for work before it will run. There are still some challenges like logging in and downloading the game to overcome before it will be ready. --- audiogame-manager.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 4188103..53f0f4e 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -872,6 +872,7 @@ gameList=( "GMA Tank Commander" "Golden Crayon" "Hammer of Glory" + #"Hearthstone" "Hunter" "Insect Therapy" "Judgement Day" @@ -1704,6 +1705,17 @@ case "${game}" in find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; add_launcher "c:\Program Files\hammer of glory\game.exe" ;; + "Hearthstone") + export winVer="win7" + install_wine_bottle speechsdk + # This download url breaks the download function, so grab it manually. + wget -O "${cache}/Hearthstone.exe" "https://www.battle.net/download/getInstallerForGame?os=win&gameProgram=HEARTHSTONE&version=Live" + wget -O "${cache}/Hearthstone_patch.zip" "https://github.com/HearthstoneAccess/HearthstoneAccess/releases/latest/download/patch.zip" + wine "${cache}/Hearthstone.exe" /silent + unzip -o "${cache}/Hearthstone_patch.zip" -d "${WINEPREFIX}/drive_c/Program Files/Hearthstone" + find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; + #add_launcher "c:\Program Files\" + ;; "Hunter") install_wine_bottle vb6run dx8vb # FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang. From 2c67aad573cca186bc00cecdbcdc671166f1f628 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 28 Oct 2021 13:45:05 -0400 Subject: [PATCH 3/6] Fixed name of Sketchbook, was previously scrolling battles. --- audiogame-manager.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 53f0f4e..84d7d28 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -904,7 +904,7 @@ gameList=( "Run For Your Life" #"Sammy Center" "Screaming Strike 2" - "Scrolling Battles" + "Sketchbook" "Sequence Storm" #"Shades of Doom 1.2" "Shades of Doom" @@ -2006,7 +2006,7 @@ EOF find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; add_launcher "c:\nyanchangame\Screaming Strike 2\play.exe" ;; - "Scrolling Battles") + "Sketchbook") export winVer="win7" install_wine_bottle speechsdk download "http://games.ims-productions.com/SBYW/SBYW.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" From 6968707b7b7fb65c5c45ae142d124f4520781653 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 17 Nov 2021 11:39:40 -0500 Subject: [PATCH 4/6] Updated luancher for survive the wild. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 84d7d28..b3aa7fd 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -2112,7 +2112,7 @@ EOF download "http://www.samtupy.com/games/stw.zip" unzip -d "$WINEPREFIX/drive_c/Program Files/Survive the Wild" "${cache}/stw.zip" find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; - add_launcher "c:\Program Files\Survive the Wild\stw\stw.exe" + add_launcher "c:\Program Files\Survive the Wild\stw.exe" ;; "Swamp") export winVer="win7" From cab6106c93bdc9fe539fb0cee80faa68838d9620 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 15 Dec 2021 13:45:48 -0500 Subject: [PATCH 5/6] Added game "Operation BlackSquare". --- audiogame-manager.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index b3aa7fd..4109920 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -890,6 +890,7 @@ gameList=( "MudSplat English" #"MudSplat Swedish" "Oh Shit" + "Operation BlackSquare" "Pacman Talks" "Palace Punch Up" "Paladin of the Sky" @@ -1908,6 +1909,13 @@ EOF find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; add_launcher "c:\Program Files\oh_shit\OhShit.exe" ;; + "Operation BlackSquare") + export winVer="win7" + install_wine_bottle + download "https://www.iamtalon.me/games/blacksquare.zip" + unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/blacksquare.zip" + add_launcher "c:\Program Files\blacksquare\OperationBlackSquare.exe" + ;; "Pacman Talks") install_wine_bottle download "http://www.gmagames.com/pmt101.exe" From 772634750c4f866f33a8b6613e6bcfabd43cc1c1 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 19 Dec 2021 00:41:06 -0500 Subject: [PATCH 6/6] Updated Crazy Party installer and update script. --- audiogame-manager.sh | 8 ++++---- game-scripts/crazy-party-update.sh | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 4109920..04b7898 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1509,10 +1509,10 @@ case "${game}" in "Crazy Party") export winVer="win7" install_wine_bottle speechsdk - download "http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta76.zip" - unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/Crazy-Party-beta76.zip" - add_launcher "c:\Program Files\Crazy-Party-beta76\Crazy Party.exe" - rm -f "${WINEPREFIX}/drive_c/Program Files/Crazy-Party-beta76/nvdaControllerClient32.dll" + download "http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta77.zip" + unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/Crazy-Party-beta77.zip" + add_launcher "c:\Program Files\Crazy-Party-beta77\Crazy Party.exe" + rm -f "${WINEPREFIX}/drive_c/Program Files/Crazy-Party-beta77/nvdaControllerClient32.dll" ;; "Crazy Tennis") install_wine_bottle speechsdk diff --git a/game-scripts/crazy-party-update.sh b/game-scripts/crazy-party-update.sh index d0fde8c..c7f1b81 100755 --- a/game-scripts/crazy-party-update.sh +++ b/game-scripts/crazy-party-update.sh @@ -41,14 +41,14 @@ cache="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/cache" configFile="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/games.conf" -url="http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta76.zip" -(rm -v "${cache}/Crazy-Party-beta75.zip" -wget -O "${cache}/Crazy-Party-beta76.zip" "$url" || { echo "Could not download file."; exit 1; } -unzip -DDod "$HOME/.local/wine/crazy-party/drive_c/Program Files" "${cache}/Crazy-Party-beta76.zip" -rm -fv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta76/nvdaControllerClient32.dll" -sed -i 's/Crazy-Party-beta75/Crazy-Party-beta76/' "$configFile" -mv -v "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta75/save.bin" "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta76/" -cp -ruv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta75/"* "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta76/" 2> /dev/null -rm -rf "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta75/") | dialog --progressbox "updating Crazy Party, please wait..." -1 -1 +url="http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta77.zip" +(rm -v "${cache}/Crazy-Party-beta76.zip" +wget -O "${cache}/Crazy-Party-beta77.zip" "$url" || { echo "Could not download file."; exit 1; } +unzip -DDod "$HOME/.local/wine/crazy-party/drive_c/Program Files" "${cache}/Crazy-Party-beta77.zip" +rm -fv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta77/nvdaControllerClient32.dll" +sed -i 's/Crazy-Party-beta76/Crazy-Party-beta77/' "$configFile" +mv -v "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta76/save.bin" "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta77/" +cp -ruv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta76/"* "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta77/" 2> /dev/null +rm -rf "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta76/") | dialog --progressbox "updating Crazy Party, please wait..." -1 -1 exit 0