Merge branch 'testing' in preparation for new binary release.

This commit is contained in:
Storm Dragon 2021-04-27 02:43:04 -04:00
commit 18a30297e8

View File

@ -442,10 +442,6 @@ game_launcher() {
open_url "https://patreon.com/stormux"
exit 0
fi
# for games that require custom scripts before launch
if [[ "$game" =~ sequence-storm ]]; then
[[ -x ~/.SequenceStormReader ]] && ~/.SequenceStormReader &
fi
local winePath="${game#*|}"
winePath="${winePath%\\*.exe}"
local wineExec="${game#*|}"
@ -464,6 +460,14 @@ game_launcher() {
fi
fi
export WINEPREFIX="${HOME}/.local/wine/${game%|*}"
# for games that require custom scripts before launch or custom launch parameters
if [[ "$game" =~ sequence-storm ]]; then
[[ -x ~/.SequenceStormReader ]] && ~/.SequenceStormReader &
fi
if [[ "$game" =~ audioquake ]]; then
wine "$winePath\\$wineExec"
exit 0
fi
# Work around possible wrong path for start.exe
[[ -e "${WINEPREFIX}/drive_c/windows/system32/start.exe" ]] || ln -sr "${WINEPREFIX}/drive_c/windows/command/start.exe" "${WINEPREFIX}/drive_c/windows/system32/start.exe"
if [[ -d "${WINEPREFIX}/drive_c/windows/syswow64" ]]; then
@ -529,16 +533,20 @@ gameList=(
"Adrian's Doom"
"Adventurers At C"
"AudioDisc"
"AudioQuake"
"Battle of the Hunter"
"Battle Zone"
"Beatstar Pro"
"Bloodshed"
"Bombercats"
"Castaways"
"Castaways 2"
#"Chopper Challenge"
"Christmas WhoopAss"
"Copter Mission"
"Crazy Party"
"Crazy Tennis"
"Danger on the Wheel"
"Death on the Road"
"Deathmatch"
"Duck Hunt"
@ -551,7 +559,9 @@ gameList=(
"Finger Panic"
"Fuck That Bird"
"GMA Tank Commander"
"Hammer of Glory"
"Hunter"
"Insect Therapy"
"Judgement Day"
"Kitchensinc Games"
"Kringle Crash"
@ -591,6 +601,7 @@ gameList=(
"The Blind Swordsman"
#"The Gate"
"The Great Toy Robbery"
"Thief"
#"Three D velocity"
"Top Speed 3"
"Triple Triad"
@ -674,6 +685,16 @@ case "${game}" in
unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/audiodisc.zip"
add_launcher "c:\Program Files\audiodisc\disco.exe"
;;
"AudioQuake")
export winVer="win7"
install_wine_bottle speechsdk
download "https://github.com/matatk/agrip/releases/download/2020.0-beta1/AudioQuake+LDL_2020.0-beta1_Windows.zip" "https://stormgames.wolfe.casa/downloads/quake.zip"
unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/AudioQuake+LDL_2020.0-beta1_Windows.zip"
unzip -d "$WINEPREFIX/drive_c/Program Files/AudioQuake/id1" "${cache}/quake.zip"
add_launcher "c:\Program Files\AudioQuake\AudioQuake.exe"
echo
echo "After you launch the game, press tab then enter and it should begin speaking."
;;
"Battle of the Hunter")
export winVer="win7"
install_wine_bottle speechsdk
@ -687,8 +708,8 @@ case "${game}" in
install_wine_bottle speechsdk
download "https://www.agarchive.net/games/gameMadnessInteractive/battle%20zone%2013.5%20setup.exe"
wine "${cache}/battle zone 13.5 setup.exe" /silent
find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \;
add_launcher "c:\Program Files\Battle Zone\ss.exe"
rm -fv "${WINEPREFIX}/drive_c/Program Files/Battle Zone/nvdaControllerClient32.dll"
;;
"Beatstar Pro")
export winVer="win7"
@ -704,6 +725,14 @@ case "${game}" in
cp "${cache}/bloodshed.exe" "$WINEPREFIX/drive_c/Program Files/"
add_launcher "c:\Program Files\bloodshed.exe"
;;
"Bombercats")
export winVer="win7"
install_wine_bottle
download "http://oriolgomez.com/games/bombercats_en.zip"
unzip -d "$WINEPREFIX/drive_c/Program Files/bomvercats" "${cache}/bombercats_en.zip"
find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \;
add_launcher "c:\Program Files\bomvercats\game.exe"
;;
"Castaways")
export winVer="win7"
install_wine_bottle vb6run dx8vb speechsdk
@ -736,6 +765,13 @@ case "${game}" in
wine "${cache}/christmas whoopass setup.exe" /sp- /silent
add_launcher "c:\Program Files\Draconis Entertainment\Christmas Whoop Ass\wa.exe"
;;
"Copter Mission")
export winVer="win7"
install_wine_bottle
download "http://oriolgomez.com/games/copter_en.zip"
unzip -d "$WINEPREFIX/drive_c/Program Files/copter mission" "${cache}/copter_en.zip"
add_launcher "c:\Program Files\copter mission\game.exe"
;;
"Crazy Party")
export winVer="win7"
install_wine_bottle speechsdk
@ -750,6 +786,14 @@ case "${game}" in
wine "${cache}/crazy tennis setup.exe" /sp- /silent
add_launcher "c:\Program Files\Crazytennis\crazytennis.exe"
;;
"Danger on the Wheel")
export winVer="win7"
install_wine_bottle speechsdk
download "http://oriolgomez.com/games/wheel_en.zip"
unzip -d "$WINEPREFIX/drive_c/Program Files/danger on the wheel" "${cache}/wheel_en.zip"
find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \;
add_launcher "c:\Program Files\danger on the wheel\game.exe"
;;
"Death on the Road")
export winVer="win7"
install_wine_bottle
@ -848,6 +892,14 @@ case "${game}" in
echo -e "\"Firstname Lastname\"\n\"Email address\"\n\"Country code\""
add_launcher "c:\Program Files\GMA Tank Commander\gtc.exe"
;;
"Hammer of Glory")
export winVer="win7"
install_wine_bottle speechsdk
download "http://oriolgomez.com/games/hammer_en.zip"
unzip -d "$WINEPREFIX/drive_c/Program Files/hammer of glory" "${cache}/hammer_en.zip"
find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \;
add_launcher "c:\Program Files\hammer of glory\game.exe"
;;
"Hunter")
install_wine_bottle vb6run dx8vb
# FIXME: Hacky, but it works. Install dotnet35 by itself so it actually doesn't hang.
@ -890,11 +942,12 @@ case "${game}" in
fi
add_launcher "c:\Program Files\Hunter\HunterRun.exe"
;;
"Kringle Crash")
"Insect Therapy")
export winVer="win7"
install_wine_bottle
download "https://www.agarchive.net/games/blastbay/kringle%20crash%20setup.exe"
wine "${cache}/kringle crash setup.exe" /silent
add_launcher "c:\Program Files\Kringle Crash\kringlecrash.exe"
download "http://oriolgomez.com/games/insect_en.zip"
unzip -d "$WINEPREFIX/drive_c/Program Files/insect therapy" "${cache}/insect_en.zip"
add_launcher "c:\Program Files\insect therapy\game.exe"
;;
"Judgement Day")
install_wine_bottle vb6run dx8vb quartz
@ -917,6 +970,12 @@ EOF
tar xf "${cache}/kitchen.tar.xz" -C "$WINEPREFIX/drive_c/Program Files/"
add_launcher "c:\Program Files\Kitchen's Sink\gamemenu.exe"
;;
"Kringle Crash")
install_wine_bottle
download "https://www.agarchive.net/games/blastbay/kringle%20crash%20setup.exe"
wine "${cache}/kringle crash setup.exe" /silent
add_launcher "c:\Program Files\Kringle Crash\kringlecrash.exe"
;;
"Light Battles")
export winVer="win7"
install_wine_bottle speechsdk
@ -1207,6 +1266,13 @@ EOF
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \;
add_launcher "c:\Program Files\Lworks\The Great Toy Robbery\tgtr.exe"
;;
"Thief")
export winVer="win7"
install_wine_bottle
download "http://oriolgomez.com/games/thief_en.zip"
unzip -d "$WINEPREFIX/drive_c/Program Files/thief" "${cache}/thief_en.zip"
add_launcher "c:\Program Files\thief\game.exe"
;;
"Three D velocity")
export winVer="win10"
install_wine_bottle speechsdk
@ -1251,6 +1317,7 @@ EOF
install_wine_bottle speechsdk
download "http://oriolgomez.com/games/villains_en.zip"
unzip -d "$WINEPREFIX/drive_c/Program Files/villains from beyond" "${cache}/villains_en.zip"
find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \;
add_launcher "c:\Program Files\villains from beyond\game.exe"
;;
"VIP Mud")