From 441bbd8561ce9d502ddc332c8003130abaea0da4 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Tue, 6 Feb 2024 19:16:38 -0800 Subject: [PATCH] Hopefully fix toby mod for latest release --- .scripts/FreeDoom.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.scripts/FreeDoom.sh b/.scripts/FreeDoom.sh index 85668bd..6ce5970 100755 --- a/.scripts/FreeDoom.sh +++ b/.scripts/FreeDoom.sh @@ -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 \