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