2024-08-19 01:50:11 -04:00
|
|
|
#!/usr/bin/env bash
|
2024-08-28 14:51:26 -04:00
|
|
|
|
2024-08-19 01:50:11 -04:00
|
|
|
# Set up the pk3 and wad files
|
|
|
|
gameOption=(
|
|
|
|
"${gamePath}/TobyAccMod_V${tobyVersion}.pk3"
|
|
|
|
"$gamePath/Addons/MENU/TobyV${tobyVersion%%-*}_"*
|
2024-08-28 14:51:26 -04:00
|
|
|
"$gamePath/Addons/DOOM/TobyV${tobyVersion%%-*}_Proximity.pk3"
|
2024-08-19 01:50:11 -04:00
|
|
|
"${gamePath}/PB-Toby-Compatibility-Addon.pk3"
|
|
|
|
"${gamePath}/Project_Brutality-Latest.pk3"
|
|
|
|
)
|
|
|
|
|
|
|
|
# Check for and include if present a wad. Some people may not have it.
|
|
|
|
if [[ -e "${gamePath}/DoomMetalVol7.wad" ]]; then
|
|
|
|
gameOption+=("${gamePath}/DoomMetalVol7.wad")
|
|
|
|
elif [[ -e "${gamePath}/DoomMetalVol6.wad" ]]; then
|
|
|
|
gameOption+=("${gamePath}/DoomMetalVol6.wad")
|
|
|
|
fi
|
2024-08-28 14:51:26 -04:00
|
|
|
|
|
|
|
source ${0%/*}/TobyCustom/.mapmenu
|