Game AudioQuake added.
This commit is contained in:
parent
750be8d169
commit
e94353f71d
@ -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,6 +533,7 @@ gameList=(
|
||||
"Adrian's Doom"
|
||||
"Adventurers At C"
|
||||
"AudioDisc"
|
||||
"AudioQuake"
|
||||
"Battle of the Hunter"
|
||||
"Battle Zone"
|
||||
"Beatstar Pro"
|
||||
@ -680,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
|
||||
|
Loading…
Reference in New Issue
Block a user