Hopefully fix toby mod for latest release

This commit is contained in:
Michael Taboada 2024-02-06 19:16:38 -08:00
parent 03896a4586
commit 441bbd8561

View File

@ -13,15 +13,16 @@ gzdoom="$(command -v gzdoom)"
# Version of the accessibility mod
tobyVersion="7-0"
tobyShortVersion=7
doomGames=(
# Unmodified Doom with accessibility.
"TobyAccMod_V${tobyVersion}.pk3" "Freedoom"
"TobyAccMod_V${tobyVersion}.pk3 ""$doomPath/Addons/TobyV${tobyShortVersion}_"* "Freedoom"
# Toby accessibility mods
"TobyAccMod_V${tobyVersion}.pk3 TobyDoomLevels.wad" "Freedoom Toby Delux Map Pack"
"TobyAccMod_V${tobyVersion}.pk3 TobyDoomLevels.wad ""$doomPath/Addons/TobyV${tobyShortVersion}_"* "Freedoom Toby Delux Map Pack"
# OperationMDK
"TobyAccMod_V${tobyVersion}.pk3 OpMDK.wad" "Freedoom OperationMDK"
"TobyAccMod_V${tobyVersion}.pk3 OpMDK.wad ""$doomPath/Addons/TobyV${tobyShortVersion}_"* "Freedoom OperationMDK"
)
antiGrepStrings=(
@ -77,7 +78,7 @@ case ${buttonCode} in
1)
# Death match setup
# Ignore the choice of map made above
gameOption="${doomPath}/TobyAccMod_V${tobyVersion}.pk3 ${doomPath}/TobyDeathArena_V1-0.wad"
gameOption="${doomPath}/TobyAccMod_V${tobyVersion}.pk3 ${doomPath}/TobyDeathArena_V1-0.wad ""$doomPath/Addons/TobyV${tobyShortVersion}_"*
ipAddress="$(dialog --backtitle "Deathmatch Options" \
--clear \
--no-tags \