Merge branch 'testing' in preparation for binary release.

This commit is contained in:
Storm Dragon 2021-12-22 11:40:31 -05:00
commit 2b436df45d
2 changed files with 37 additions and 17 deletions

View File

@ -490,7 +490,7 @@ install_wine_bottle() {
winetricks -q win8 winetricks -q win8
echo "Installing RHVoice..." echo "Installing RHVoice..."
wine "${cache}/RHVoice-voice-English-Bdl-v4.1.9-setup.exe" & wine "${cache}/RHVoice-voice-English-Bdl-v4.1.9-setup.exe" &
sleep 15 sleep 20
wineserver -k wineserver -k
fi fi
winetricks -q $@ ${winVer:-winxp} ${winetricksSettings}; } | dialog --progressbox "Installing wine bottle, please wait..." -1 -1 winetricks -q $@ ${winVer:-winxp} ${winetricksSettings}; } | dialog --progressbox "Installing wine bottle, please wait..." -1 -1
@ -872,6 +872,7 @@ gameList=(
"GMA Tank Commander" "GMA Tank Commander"
"Golden Crayon" "Golden Crayon"
"Hammer of Glory" "Hammer of Glory"
#"Hearthstone"
"Hunter" "Hunter"
"Insect Therapy" "Insect Therapy"
"Judgement Day" "Judgement Day"
@ -889,6 +890,7 @@ gameList=(
"MudSplat English" "MudSplat English"
#"MudSplat Swedish" #"MudSplat Swedish"
"Oh Shit" "Oh Shit"
"Operation BlackSquare"
"Pacman Talks" "Pacman Talks"
"Palace Punch Up" "Palace Punch Up"
"Paladin of the Sky" "Paladin of the Sky"
@ -903,7 +905,7 @@ gameList=(
"Run For Your Life" "Run For Your Life"
#"Sammy Center" #"Sammy Center"
"Screaming Strike 2" "Screaming Strike 2"
"Scrolling Battles" "Sketchbook"
"Sequence Storm" "Sequence Storm"
#"Shades of Doom 1.2" #"Shades of Doom 1.2"
"Shades of Doom" "Shades of Doom"
@ -1507,10 +1509,10 @@ case "${game}" in
"Crazy Party") "Crazy Party")
export winVer="win7" export winVer="win7"
install_wine_bottle speechsdk install_wine_bottle speechsdk
download "http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta76.zip" download "http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta77.zip"
unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/Crazy-Party-beta76.zip" unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/Crazy-Party-beta77.zip"
add_launcher "c:\Program Files\Crazy-Party-beta76\Crazy Party.exe" add_launcher "c:\Program Files\Crazy-Party-beta77\Crazy Party.exe"
rm -f "${WINEPREFIX}/drive_c/Program Files/Crazy-Party-beta76/nvdaControllerClient32.dll" rm -f "${WINEPREFIX}/drive_c/Program Files/Crazy-Party-beta77/nvdaControllerClient32.dll"
;; ;;
"Crazy Tennis") "Crazy Tennis")
install_wine_bottle speechsdk install_wine_bottle speechsdk
@ -1704,6 +1706,17 @@ case "${game}" in
find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \;
add_launcher "c:\Program Files\hammer of glory\game.exe" 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") "Hunter")
install_wine_bottle vb6run dx8vb install_wine_bottle vb6run dx8vb
# FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang. # FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang.
@ -1896,6 +1909,13 @@ EOF
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \;
add_launcher "c:\Program Files\oh_shit\OhShit.exe" 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") "Pacman Talks")
install_wine_bottle install_wine_bottle
download "http://www.gmagames.com/pmt101.exe" download "http://www.gmagames.com/pmt101.exe"
@ -1994,7 +2014,7 @@ EOF
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \;
add_launcher "c:\nyanchangame\Screaming Strike 2\play.exe" add_launcher "c:\nyanchangame\Screaming Strike 2\play.exe"
;; ;;
"Scrolling Battles") "Sketchbook")
export winVer="win7" export winVer="win7"
install_wine_bottle speechsdk install_wine_bottle speechsdk
download "http://games.ims-productions.com/SBYW/SBYW.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll" download "http://games.ims-productions.com/SBYW/SBYW.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll"
@ -2100,7 +2120,7 @@ EOF
download "http://www.samtupy.com/games/stw.zip" download "http://www.samtupy.com/games/stw.zip"
unzip -d "$WINEPREFIX/drive_c/Program Files/Survive the Wild" "${cache}/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 "{}" \; 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") "Swamp")
export winVer="win7" export winVer="win7"

View File

@ -41,14 +41,14 @@
cache="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/cache" cache="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/cache"
configFile="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/games.conf" configFile="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/games.conf"
url="http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta76.zip" url="http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta77.zip"
(rm -v "${cache}/Crazy-Party-beta75.zip" (rm -v "${cache}/Crazy-Party-beta76.zip"
wget -O "${cache}/Crazy-Party-beta76.zip" "$url" || { echo "Could not download file."; exit 1; } 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-beta76.zip" 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-beta76/nvdaControllerClient32.dll" rm -fv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta77/nvdaControllerClient32.dll"
sed -i 's/Crazy-Party-beta75/Crazy-Party-beta76/' "$configFile" sed -i 's/Crazy-Party-beta76/Crazy-Party-beta77/' "$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/" 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-beta75/"* "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta76/" 2> /dev/null 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-beta75/") | dialog --progressbox "updating Crazy Party, please wait..." -1 -1 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 exit 0