From 012fadcf6de80a6f0e4efc73ef23cac0da9be4d3 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Wed, 11 Aug 2021 05:28:05 -0700 Subject: [PATCH] Add esp pinball classic, extreme, and party pack. --- audiogame-manager.sh | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index e325a66..aa0e131 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -336,6 +336,10 @@ get_bottle() { "run-for-your-life"*) ;& "thief"*) ;& "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%|*}";; esac } @@ -837,6 +841,9 @@ gameList=( "Duck Hunt" "Easter Quest" #"Entombed" + "ESP Pinball Classic" + "ESP Pinball Extreme" + "ESP Pinball Party Pack" #"Eurofly" "Extant" "Fantasy Story II" @@ -1537,6 +1544,42 @@ case "${game}" in wine "${cache}/EntombedSetup.exe" /silent 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" + # 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") export winVer="win7" export winetricksSettings="vd=1024x768"