Compare commits

...

4 Commits

Author SHA1 Message Date
Storm Dragon
ba0844cc49 Merge branch 'testing' games added. 2024-12-12 19:02:28 -05:00
Storm Dragon
038d784ba2 Small bug fix. Hopefully working now for creating the settings.dat file. 2024-12-09 18:51:54 -05:00
Storm Dragon
7d659c3ac4 I think I found a way to enter the user name for Side Parfty score boards. 2024-12-09 18:34:40 -05:00
Storm Dragon
53c0cafcef Added game "Side Party". 2024-12-08 20:03:09 -05:00

View File

@ -1294,6 +1294,7 @@ gameList=(
"Shades of Doom" "Shades of Doom"
"Shadow Line" "Shadow Line"
"Shooter" "Shooter"
"Side Party"
"Silver Dollar" "Silver Dollar"
"Simple Fighter" "Simple Fighter"
"Skateboarder Pro" "Skateboarder Pro"
@ -3039,6 +3040,26 @@ EOF
echo "If everything worked as expected you should be back on the game menu and speech should work." echo "If everything worked as expected you should be back on the game menu and speech should work."
alert 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" \
"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)"
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"
fi
;;
"Silver Dollar") "Silver Dollar")
export winVer="win7" export winVer="win7"
export bottle="draconis" export bottle="draconis"