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
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
@ -872,6 +872,7 @@ gameList=(
"GMA Tank Commander"
"Golden Crayon"
"Hammer of Glory"
#"Hearthstone"
"Hunter"
"Insect Therapy"
"Judgement Day"
@ -889,6 +890,7 @@ gameList=(
"MudSplat English"
#"MudSplat Swedish"
"Oh Shit"
"Operation BlackSquare"
"Pacman Talks"
"Palace Punch Up"
"Paladin of the Sky"
@ -903,7 +905,7 @@ gameList=(
"Run For Your Life"
#"Sammy Center"
"Screaming Strike 2"
"Scrolling Battles"
"Sketchbook"
"Sequence Storm"
#"Shades of Doom 1.2"
"Shades of Doom"
@ -1507,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
@ -1704,6 +1706,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.
@ -1896,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"
@ -1994,7 +2014,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"
@ -2100,7 +2120,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"

View File

@ -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