Merge branch 'testing' in preparation for binary release.

This commit is contained in:
Storm Dragon 2021-08-20 16:58:43 -04:00
commit e0d9a9564d
2 changed files with 101 additions and 10 deletions

View File

@ -336,6 +336,10 @@ get_bottle() {
"run-for-your-life"*) ;& "run-for-your-life"*) ;&
"thief"*) ;& "thief"*) ;&
"villains-from-beyond"*) export WINEPREFIX="${HOME}/.local/wine/oriol-gomez";; "villains-from-beyond"*) export WINEPREFIX="${HOME}/.local/wine/oriol-gomez";;
# ESP Pinball games
"esp-pinball-classic"*) export WINEPREFIX="${HOME}/.local/wine/esp-pinball";;
"esp-pinball-extreme"*) export WINEPREFIX="${HOME}/.local/wine/esp-pinball";;
"esp-pinball-party-pack"*) export WINEPREFIX="${HOME}/.local/wine/esp-pinball";;
*) export WINEPREFIX="${HOME}/.local/wine/${game%|*}";; *) export WINEPREFIX="${HOME}/.local/wine/${game%|*}";;
esac esac
} }
@ -403,6 +407,9 @@ echo "Loading documentation, please wait..."
gameDoc="$(find "$gamePath" -type f -iname "$i" -or -iname 'manual.htm' | head -1)" gameDoc="$(find "$gamePath" -type f -iname "$i" -or -iname 'manual.htm' | head -1)"
done done
fi fi
if [[ -z "$gameDoc" ]]; then
gameDoc="$(find "$gamePath" -type f -path '*/Manual/index.html' | head -1)"
fi
if [[ -z "$gameDoc" ]]; then if [[ -z "$gameDoc" ]]; then
gameDoc="$(find "$gamePath" -type f -iname '[A-Z]*Help.htm' -or -iname '[A-Z]*Help.html' | head -1)" gameDoc="$(find "$gamePath" -type f -iname '[A-Z]*Help.htm' -or -iname '[A-Z]*Help.html' | head -1)"
fi fi
@ -766,6 +773,7 @@ gameList=(
"A Hero's Call" "A Hero's Call"
"Adrian's Doom" "Adrian's Doom"
"Adventurers At C" "Adventurers At C"
"Alien Outback"
"AudioDisc" "AudioDisc"
"AudioQuake" "AudioQuake"
"Battle of the Hunter" "Battle of the Hunter"
@ -831,8 +839,12 @@ gameList=(
"Death on the Road" "Death on the Road"
"Deathmatch" "Deathmatch"
"Duck Hunt" "Duck Hunt"
"DynaMan"
"Easter Quest" "Easter Quest"
#"Entombed" #"Entombed"
"ESP Pinball Classic"
"ESP Pinball Extreme"
"ESP Pinball Party Pack"
#"Eurofly" #"Eurofly"
"Extant" "Extant"
"Fantasy Story II" "Fantasy Story II"
@ -880,12 +892,14 @@ gameList=(
"Slender Lost Vision" "Slender Lost Vision"
"Sonic Zoom" "Sonic Zoom"
#"Space Defender" #"Space Defender"
"Super Dogs Bone Hunt"
"Super Egg Hunt" "Super Egg Hunt"
"Super Liam" "Super Liam"
#"Super Mario Bros" #"Super Mario Bros"
"Survive the Wild" "Survive the Wild"
"Swamp" "Swamp"
"Technoshock" "Technoshock"
"Ten Pin Alley"
"The Blind Swordsman" "The Blind Swordsman"
#"The Gate" #"The Gate"
"The Great Toy Robbery" "The Great Toy Robbery"
@ -988,6 +1002,17 @@ case "${game}" in
7z e -o"$WINEPREFIX/drive_c/Program Files/aac/stages" "${cache}/adventure at c stages.7z" 7z e -o"$WINEPREFIX/drive_c/Program Files/aac/stages" "${cache}/adventure at c stages.7z"
add_launcher "c:\Program Files\aac\aac.exe" add_launcher "c:\Program Files\aac\aac.exe"
;; ;;
"Alien Outback")
export winVer="win7"
install_wine_bottle vb6run dx8vb speechsdk quartz
download "http://download.dracoent.com/Windows/classic/AOSetup.exe"
wine "${cache}/AOSetup.exe" /sp- /silent
# warning warning warning: Do not change location, or installer will not function.
# FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang.
winetricks -q dotnet20
wineserver -k # Damn you, dotnet.
add_launcher "c:\Program Files\Draconis Entertainment\Alien Outback\ao.exe"
;;
"AudioDisc") "AudioDisc")
install_wine_bottle install_wine_bottle
download "https://agarchive.net/games/other/audiodisc.zip" download "https://agarchive.net/games/other/audiodisc.zip"
@ -1504,6 +1529,17 @@ case "${game}" in
wine "${cache}/dhsetup.exe" /silent wine "${cache}/dhsetup.exe" /silent
add_launcher "c:\Program Files\Lworks\Duck Hunt\duckhunt.exe" add_launcher "c:\Program Files\Lworks\Duck Hunt\duckhunt.exe"
;; ;;
"DynaMan")
export winVer="win7"
install_wine_bottle vb6run dx8vb speechsdk quartz
download "http://download.dracoent.com/Windows/classic/DMSetup.exe"
wine "${cache}/DMSetup.exe" /sp- /silent
# warning warning warning: Do not change location, or installer will not function.
# FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang.
winetricks -q dotnet20
wineserver -k # Damn you, dotnet.
add_launcher "c:\Program Files\Draconis Entertainment\DynaMan\dm.exe"
;;
"Easter Quest") "Easter Quest")
install_wine_bottle install_wine_bottle
download "https://agarchive.net/games/mt/easter%20quest%20setup.exe" download "https://agarchive.net/games/mt/easter%20quest%20setup.exe"
@ -1521,6 +1557,43 @@ case "${game}" in
wine "${cache}/EntombedSetup.exe" /silent wine "${cache}/EntombedSetup.exe" /silent
add_launcher "c:\Program Files\Entombed\Entombed.exe" add_launcher "c:\Program Files\Entombed\Entombed.exe"
;; ;;
"ESP Pinball Classic")
export winVer="win7"
export bottle="esp-pinball"
install_wine_bottle vb6run dx8vb speechsdk quartz
download "http://download.dracoent.com/Windows/classic/PBCSetup.exe"
wine "${cache}/PBCSetup.exe" /sp- /silent
# warning warning warning: Do not change location, or installer will not function.
# FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang.
winetricks -q dotnet20
wineserver -k # Damn you, dotnet.
add_launcher "c:\Program Files\Draconis Entertainment\ESP Pinball Classic\pbc.exe"
;;
"ESP Pinball Extreme")
export winVer="win7"
export bottle="esp-pinball"
install_wine_bottle vb6run dx8vb speechsdk quartz
download "http://download.dracoent.com/Windows/classic/PBXSetup.exe"
wine "${cache}/PBXSetup.exe" /sp- /silent
# warning warning warning: Do not change location, or installer will not function.
# FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang.
winetricks -q dotnet20
wineserver -k # Damn you, dotnet.
add_launcher "c:\Program Files\Draconis Entertainment\ESP Pinball Xtreme\pbx.exe"
;;
"ESP Pinball Party Pack")
export winVer="win7"
export bottle="esp-pinball"
export WINEPREFIX="$HOME/.local/wine/esp-pinball"
# Only works in conjunction with esp pinball extreme.
if ! [ -f "$HOME/.local/wine/$bottle/drive_c/Program Files/Draconis Entertainment/ESP Pinball Xtreme/pbx.exe" ] ; then
echo "Error: You need to install ESP Pinball Extreme first to use this game. Please do so before continuing." >&2
exit 1
fi
download "http://download.dracoent.com/Windows/classic/PP1Setup.exe"
wine "${cache}/PP1Setup.exe" /sp- /silent
add_launcher "c:\Program Files\Draconis Entertainment\ESP Pinball Xtreme\pbx.exe"
;;
"Eurofly") "Eurofly")
export winVer="win7" export winVer="win7"
export winetricksSettings="vd=1024x768" export winetricksSettings="vd=1024x768"
@ -1786,7 +1859,7 @@ EOF
"Pacman Talks") "Pacman Talks")
install_wine_bottle install_wine_bottle
download "http://www.gmagames.com/pmt101.exe" download "http://www.gmagames.com/pmt101.exe"
wine "${cache}/pmt101.exe" /sp- /silent & wine "${cache}/pmt101.exe" /sp- /silent
add_launcher "c:\Program Files\Pacman Talks\pmt.exe" add_launcher "c:\Program Files\Pacman Talks\pmt.exe"
;; ;;
"Palace Punch Up") "Palace Punch Up")
@ -1948,6 +2021,12 @@ EOF
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvdaControllerClient64.dll" "{}" \; find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvdaControllerClient64.dll" "{}" \;
add_launcher "c:\Program Files\space_defender\sdefender.exe" add_launcher "c:\Program Files\space_defender\sdefender.exe"
;; ;;
"Super Dogs Bone Hunt")
install_wine_bottle vb6run dx8vb speechsdk
download "http://www.pcs-games.net/SBH11.exe"
wine "${cache}/SBH11.exe" /sp- /silent
add_launcher "c:\Program Files\SuperDog's Bone Hunt\sbh.exe"
;;
"Super Egg Hunt") "Super Egg Hunt")
install_wine_bottle install_wine_bottle
download "http://files.l-works.net/superegghuntsetup.exe" download "http://files.l-works.net/superegghuntsetup.exe"
@ -1999,6 +2078,18 @@ EOF
wine "$WINEPREFIX/drive_c/Program Files/setup_eng_update_pack.exe" /silent wine "$WINEPREFIX/drive_c/Program Files/setup_eng_update_pack.exe" /silent
add_launcher "c:\Program Files\Tiflocomp Games\Technoshock\ts.exe" add_launcher "c:\Program Files\Tiflocomp Games\Technoshock\ts.exe"
;; ;;
"Ten Pin Alley")
export winVer="win7"
install_wine_bottle vb6run dx8vb speechsdk quartz
download "http://download.dracoent.com/Windows/classic/TPAXPSetup.exe"
wine "${cache}/TPAXPSetup.exe" /sp- /silent
#winetricks -q msdxmocx # I think having this installed first breaks things.
# warning warning warning: Do not change location, or installer will not function.
# FIXME: Hacky, but it works. Install dotnet20 by itself so it actually doesn't hang.
winetricks -q dotnet20
wineserver -k # Damn you, dotnet.
add_launcher "c:\Program Files\Draconis Entertainment\Ten Pin Alley\tpa.exe"
;;
"The Blind Swordsman") "The Blind Swordsman")
install_wine_bottle install_wine_bottle
download "https://www.agarchive.net/games/other/the%20blind%20swordsmanPC.zip" download "https://www.agarchive.net/games/other/the%20blind%20swordsmanPC.zip"

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