From 6cb5394c724c90656528c5f530b89f2eeb0ee30e Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 20 Aug 2022 23:06:04 -0400 Subject: [PATCH] updated Crazy Party to the latest version, beta 78. --- 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 bc3e417..cae1290 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1649,10 +1649,10 @@ case "${game}" in "Crazy Party") export winVer="win7" install_wine_bottle speechsdk - 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" + download "http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta78.zip" + unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/Crazy-Party-beta78.zip" + add_launcher "c:\Program Files\Crazy-Party-beta78\Crazy Party.exe" + rm -f "${WINEPREFIX}/drive_c/Program Files/Crazy-Party-beta78/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 b6c783f..43993cd 100755 --- a/game-scripts/crazy-party-update.sh +++ b/game-scripts/crazy-party-update.sh @@ -39,14 +39,14 @@ cache="${XDG_CACHE_HOME:-$HOME/.cache}/audiogame-manager" configFile="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/games.conf" -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 +url="http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta78.zip" +(rm -v "${cache}/Crazy-Party-beta77.zip" +wget -O "${cache}/Crazy-Party-beta78.zip" "$url" || { echo "Could not download file."; exit 1; } +unzip -DDod "$HOME/.local/wine/crazy-party/drive_c/Program Files" "${cache}/Crazy-Party-beta78.zip" +rm -fv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta78/nvdaControllerClient32.dll" +sed -i 's/Crazy-Party-beta77/Crazy-Party-beta78/' "$configFile" +mv -v "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta77/save.bin" "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta78/" +cp -ruv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta77/"* "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta78/" 2> /dev/null +rm -rf "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta77/") | dialog --progressbox "updating Crazy Party, please wait..." -1 -1 exit 0