Updates to custom launchers.
This commit is contained in:
parent
4179dc6392
commit
1313d0d689
@ -8,9 +8,7 @@ gamePath=~/.local/games/doom
|
|||||||
# Set up the pk3 and wad files
|
# Set up the pk3 and wad files
|
||||||
gameOption=(
|
gameOption=(
|
||||||
"${gamePath}/TobyAccMod_V${tobyVersion}.pk3"
|
"${gamePath}/TobyAccMod_V${tobyVersion}.pk3"
|
||||||
"${gamePath}/Addons/DOOM/TobyV7_Pickups.pk3"
|
|
||||||
"$gamePath/Addons/MENU/TobyV${tobyVersion%%-*}_"*
|
"$gamePath/Addons/MENU/TobyV${tobyVersion%%-*}_"*
|
||||||
"${gamePath}/TobyDoomLevels.wad"
|
|
||||||
"${gamePath}/aoddoom1.wad"
|
"${gamePath}/aoddoom1.wad"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -20,3 +18,5 @@ if [[ -e "${gamePath}/DoomMetalVol7.wad" ]]; then
|
|||||||
elif [[ -e "${gamePath}/DoomMetalVol6.wad" ]]; then
|
elif [[ -e "${gamePath}/DoomMetalVol6.wad" ]]; then
|
||||||
gameOption+=("${gamePath}/DoomMetalVol6.wad")
|
gameOption+=("${gamePath}/DoomMetalVol6.wad")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
source ${0%/*}/TobyCustom/.mapmenu
|
||||||
|
@ -6,14 +6,8 @@ sedStrings+=('-e' 's/^Playerclassmenu$/Player class menu/')
|
|||||||
gameOption=(
|
gameOption=(
|
||||||
"${gamePath}/TobyAccMod_V${tobyVersion}.pk3"
|
"${gamePath}/TobyAccMod_V${tobyVersion}.pk3"
|
||||||
"$gamePath/Addons/MENU/TobyV${tobyVersion%%-*}_"*
|
"$gamePath/Addons/MENU/TobyV${tobyVersion%%-*}_"*
|
||||||
"${gamePath}/OpMDK.wad"
|
|
||||||
"${gamePath}/Xim-StarWars-v3.1.5.pk3"
|
"${gamePath}/Xim-StarWars-v3.1.5.pk3"
|
||||||
"$gamePath/Addons/STARWARS/"*
|
"$gamePath/Addons/STARWARS/"*
|
||||||
)
|
)
|
||||||
|
|
||||||
# Check for and include if present a wad. Some people may not have it.
|
source ${0%/*}/TobyCustom/.mapmenu
|
||||||
if [[ -e "${gamePath}/DoomMetalVol7.wad" ]]; then
|
|
||||||
gameOption+=("${gamePath}/DoomMetalVol7.wad")
|
|
||||||
elif [[ -e "${gamePath}/DoomMetalVol6.wad" ]]; then
|
|
||||||
gameOption+=("${gamePath}/DoomMetalVol6.wad")
|
|
||||||
fi
|
|
||||||
|
Loading…
Reference in New Issue
Block a user