From 1313d0d689e775173486646980a2bdd01fe941ab Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 29 Aug 2024 11:59:57 -0400 Subject: [PATCH] Updates to custom launchers. --- .scripts/TobyCustom/ArmyOfDarknessDoom.sh | 4 ++-- .scripts/TobyCustom/StarWars.sh | 8 +------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.scripts/TobyCustom/ArmyOfDarknessDoom.sh b/.scripts/TobyCustom/ArmyOfDarknessDoom.sh index 4e0c815..4a4123d 100755 --- a/.scripts/TobyCustom/ArmyOfDarknessDoom.sh +++ b/.scripts/TobyCustom/ArmyOfDarknessDoom.sh @@ -8,9 +8,7 @@ gamePath=~/.local/games/doom # Set up the pk3 and wad files gameOption=( "${gamePath}/TobyAccMod_V${tobyVersion}.pk3" - "${gamePath}/Addons/DOOM/TobyV7_Pickups.pk3" "$gamePath/Addons/MENU/TobyV${tobyVersion%%-*}_"* - "${gamePath}/TobyDoomLevels.wad" "${gamePath}/aoddoom1.wad" ) @@ -20,3 +18,5 @@ if [[ -e "${gamePath}/DoomMetalVol7.wad" ]]; then elif [[ -e "${gamePath}/DoomMetalVol6.wad" ]]; then gameOption+=("${gamePath}/DoomMetalVol6.wad") fi + +source ${0%/*}/TobyCustom/.mapmenu diff --git a/.scripts/TobyCustom/StarWars.sh b/.scripts/TobyCustom/StarWars.sh index 265cbf7..c07de24 100755 --- a/.scripts/TobyCustom/StarWars.sh +++ b/.scripts/TobyCustom/StarWars.sh @@ -6,14 +6,8 @@ sedStrings+=('-e' 's/^Playerclassmenu$/Player class menu/') gameOption=( "${gamePath}/TobyAccMod_V${tobyVersion}.pk3" "$gamePath/Addons/MENU/TobyV${tobyVersion%%-*}_"* - "${gamePath}/OpMDK.wad" "${gamePath}/Xim-StarWars-v3.1.5.pk3" "$gamePath/Addons/STARWARS/"* ) -# 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 +source ${0%/*}/TobyCustom/.mapmenu