Add esp pinball classic, extreme, and party pack.

This commit is contained in:
Michael Taboada 2021-08-11 05:28:05 -07:00
parent 83ab96603a
commit 012fadcf6d

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
} }
@ -837,6 +841,9 @@ gameList=(
"Duck Hunt" "Duck Hunt"
"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"
@ -1537,6 +1544,42 @@ 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"
# 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"