diff --git a/.scripts/TobyCustom/Project_Brutality.sh b/.scripts/TobyCustom/Project_Brutality.sh index 3e36dbe..b4c2e3a 100755 --- a/.scripts/TobyCustom/Project_Brutality.sh +++ b/.scripts/TobyCustom/Project_Brutality.sh @@ -1,5 +1,13 @@ #!/usr/bin/env bash +# check for required pk3. +source ${0%/*}/TobyCustom/.dependencies +check_dependencies "${gamePath}/Project_Brutality.pk3" \ + "https://www.moddb.com/mods/project-brutality" \ + "This should be included by default." \ + 'If you are seeing this message, please reinstall after removing any TobyDoom files from ~/.cache/linux-game-manager.' \ + 'rm -f ~/.cache/linux-game-manager/TobyAccessibilityMod_Version*' + # Set up the pk3 and wad files gameOption=( "${gamePath}/TobyAccMod_V${tobyVersion}.pk3" diff --git a/.scripts/TobyCustom/Project_BrutalityLatest.sh b/.scripts/TobyCustom/Project_BrutalityLatest.sh index eb5a1e3..285441a 100755 --- a/.scripts/TobyCustom/Project_BrutalityLatest.sh +++ b/.scripts/TobyCustom/Project_BrutalityLatest.sh @@ -1,5 +1,13 @@ #!/usr/bin/env bash +# check for required pk3. +source ${0%/*}/TobyCustom/.dependencies +check_dependencies "${gamePath}/Project_Brutality-Latest.pk3" \ + "https://www.moddb.com/mods/project-brutality" \ + "This should be included by default." \ + 'If you are seeing this message, please reinstall after removing any TobyDoom files from ~/.cache/linux-game-manager.' \ + 'rm -f ~/.cache/linux-game-manager/TobyAccessibilityMod_Version*' + # Set up the pk3 and wad files gameOption=( "${gamePath}/TobyAccMod_V${tobyVersion}.pk3"