linux-game-manager/.scripts/TobyCustom/Project_Brutality_Toby_Deluxe.sh

18 lines
575 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2024-04-23 01:56:17 -04:00
# Set up the pk3 and wad files
gameOption=(
2024-07-31 17:48:58 -04:00
"${gamePath}/TobyAccMod_V${tobyVersion}.pk3"
"$gamePath/Addons/MENU/TobyV${tobyVersion%%-*}_"*
2024-07-31 17:48:58 -04:00
"${gamePath}/TobyDoomLevels.wad"
"${gamePath}/PB-Toby-Compatibility-Addon.pk3"
"${gamePath}/Project_Brutality.pk3"
)
2024-04-23 01:56:17 -04:00
# Check for and include if present a wad. Some people may not have it.
2024-07-31 17:48:58 -04:00
if [[ -e "${gamePath}/DoomMetalVol7.wad" ]]; then
gameOption+=("${gamePath}/DoomMetalVol7.wad")
elif [[ -e "${gamePath}/DoomMetalVol6.wad" ]]; then
gameOption+=("${gamePath}/DoomMetalVol6.wad")
fi