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 \