From 53c0cafcef2efdae9bf4aa71d158f0d723019953 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 8 Dec 2024 20:03:09 -0500 Subject: [PATCH 1/3] Added game "Side Party". --- audiogame-manager.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index bc45830..83dfe62 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1294,6 +1294,7 @@ gameList=( "Shades of Doom" "Shadow Line" "Shooter" + "Side Party" "Silver Dollar" "Simple Fighter" "Skateboarder Pro" @@ -3039,6 +3040,16 @@ EOF echo "If everything worked as expected you should be back on the game menu and speech should work." alert ;; + "Side Party") + export WINEARCH=win64 + export winVer="win7" + get_installer "sideparty-win.zip" "https://masonasons.itch.io/sideparty" + download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" + install_wine_bottle + unzip -d "$WINEPREFIX/drive_c/Program Files/Side Party" "${cache}/sideparty-win.zip" + find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; + add_launcher "c:\Program Files\Side Party\SideParty.exe" + ;; "Silver Dollar") export winVer="win7" export bottle="draconis" From 7d659c3ac4ac24314bfd575020a8b19d2a8e1521 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 9 Dec 2024 18:34:40 -0500 Subject: [PATCH 2/3] I think I found a way to enter the user name for Side Parfty score boards. --- audiogame-manager.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 83dfe62..b9860c9 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -3044,11 +3044,20 @@ EOF export WINEARCH=win64 export winVer="win7" get_installer "sideparty-win.zip" "https://masonasons.itch.io/sideparty" - download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" + download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" \ + "https://stormgames.wolfe.casa/downloads/SidePartySettings.dat" install_wine_bottle unzip -d "$WINEPREFIX/drive_c/Program Files/Side Party" "${cache}/sideparty-win.zip" find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; add_launcher "c:\Program Files\Side Party\SideParty.exe" + alert + sidePartyUser="$(dialog --ok-label "Continue" \ + --backtitle "Audiogame Manager" \ + --inputbox "Please enter a user name for Side Party score board:" -1 -1 --stdout)" + cp -v "${cache}/SidePartySettings.dat" "$WINEPREFIX/drive_c/Program Files/Side Party/masonasons.me/SideParty/settings.dat" + if [[ ${#sidePartyUser} -gt 3 ]]; then + sed -i "s/Anonymous/${sidePartyUser}/" "$WINEPREFIX/drive_c/Program Files/Side Party/masonasons.me/SideParty/settings.dat" + fi ;; "Silver Dollar") export winVer="win7" From 038d784ba2620c201ce9587bfec627f48d04ff83 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 9 Dec 2024 18:51:54 -0500 Subject: [PATCH 3/3] Small bug fix. Hopefully working now for creating the settings.dat file. --- audiogame-manager.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index b9860c9..90a3e61 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -3054,6 +3054,7 @@ EOF sidePartyUser="$(dialog --ok-label "Continue" \ --backtitle "Audiogame Manager" \ --inputbox "Please enter a user name for Side Party score board:" -1 -1 --stdout)" + mkdir -p "$WINEPREFIX/drive_c/Program Files/Side Party/masonasons.me/SideParty" cp -v "${cache}/SidePartySettings.dat" "$WINEPREFIX/drive_c/Program Files/Side Party/masonasons.me/SideParty/settings.dat" if [[ ${#sidePartyUser} -gt 3 ]]; then sed -i "s/Anonymous/${sidePartyUser}/" "$WINEPREFIX/drive_c/Program Files/Side Party/masonasons.me/SideParty/settings.dat"