#!/usr/bin/env bash # Extend sed strings to handle the player class menu sedStrings+=('-e' 's/^Playerclassmenu$/Player class menu/') # Set up the pk3 and wad files gameOption=( "${gamePath}/TobyAccMod_V${tobyVersion}.pk3" "$gamePath/Addons/MENU/TobyV${tobyVersion%%-*}_"* "${gamePath}/Xim-StarWars-v3.1.5.pk3" "$gamePath/Addons/STARWARS/"* ) source ${BASH_SOURCE[0]%/*}/.mapmenu