From 73d3ad2c2b6aa91fca14043d3bf075f653014629 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 21 Jan 2024 05:02:41 -0500 Subject: [PATCH] More fixes for finicky systems. --- .scripts/FreeDoom.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.scripts/FreeDoom.sh b/.scripts/FreeDoom.sh index 49c697d..d235bfe 100755 --- a/.scripts/FreeDoom.sh +++ b/.scripts/FreeDoom.sh @@ -17,11 +17,11 @@ tobyVersion="7-0" doomGames=( # Unmodified Doom with accessibility. - "${doomPath}/TobyAccMod_V${tobyVersion}.pk3" "Freedoom" + "TobyAccMod_V${tobyVersion}.pk3" "Freedoom" # Toby accessibility mods - "${doomPath}/TobyAccMod_V${tobyVersion}.pk3 ${doomPath}/TobyDoomLevels.wad" "Freedoom Toby Delux Map Pack" + "TobyAccMod_V${tobyVersion}.pk3 TobyDoomLevels.wad" "Freedoom Toby Delux Map Pack" # OperationMDK - "${doomPath}/TobyAccMod_V${tobyVersion}.pk3 ${doomPath}/OpMDK.wad" "Freedoom OperationMDK" + "TobyAccMod_V${tobyVersion}.pk3 OpMDK.wad" "Freedoom OperationMDK" ) grepStrings=( @@ -55,7 +55,7 @@ gameOption="$(dialog --backtitle "Select your Doom!" \ --menu "Please select one" 0 0 0 "${doomGames[@]}" --stdout)" buttonCode=$? if [[ -e "${doomPath}/DoomMetalVol6.wad" ]]; then - gameOption+=" ${doomPath}/DoomMetalVol6.wad" + gameOption+=" DoomMetalVol6.wad" fi case ${buttonCode} in @@ -87,7 +87,7 @@ case ${buttonCode} in dialog --backtitle "Co-op" --clear --msgbox "No ip address or URL given." -1 -1 --stdout exit 1 fi - flags=("${doomPath}/keyshare-universal.pk3" '-join' "${ipAddress}") + flags=("keyshare-universal.pk3" '-join' "${ipAddress}") else # Get ip address yourIpAddress="$(curl -4s https://icanhazip.com)" @@ -104,7 +104,7 @@ case ${buttonCode} in --rangebox "Select difficulty. 1 easiest, 5 hardest." -1 -1 1 5 3 --stdout)" [[ $? -eq 1 ]] && exit 0 flags=( - "${doomPath}/keyshare-universal.pk3" + "keyshare-universal.pk3" '-host' "${players}" '-skill' "${skillLevel}" '+set' 'sv_cheats' '1'