From 811ac7aea30f3bae749a46dbe9c97f707d6454fe Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 18 Aug 2024 01:09:55 -0400 Subject: [PATCH] Fixed up some regular expressions. --- .scripts/FreeDoom.sh | 7 ++++++- .scripts/TobyCustom/.projectbrutalityrc | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.scripts/FreeDoom.sh b/.scripts/FreeDoom.sh index 99e7361..d6b75ca 100755 --- a/.scripts/FreeDoom.sh +++ b/.scripts/FreeDoom.sh @@ -80,9 +80,14 @@ export grepStrings=( export sedStrings=( '-e' 's/^\[Toby Accessibility Mod\] M_/[Toby Accessibility Mod] /' '-e' 's/^\[Toby Accessibility Mod\] //' + '-e' 's/^MessageBoxMenu$/Press Y for yes or N for no/' + '-e' 's/"^Mainmenu$/Main menu/' + '-e' 's/"^Skillmenu$/Difficulty menu/' + '-e' 's/"^NGAME$/New game/' + '-e' 's/"^(LOAD|SAVE|QUIT)G$/& game/' '-e' 's/"cl_run" = "true"/run/' '-e' 's/"cl_run" = "false"/walk/' - '-e' 's:.*/:Game saved. (:' + '-e' 's:.*/:Game saved. \(:' ) custom_game() { diff --git a/.scripts/TobyCustom/.projectbrutalityrc b/.scripts/TobyCustom/.projectbrutalityrc index d56a85f..628bf36 100644 --- a/.scripts/TobyCustom/.projectbrutalityrc +++ b/.scripts/TobyCustom/.projectbrutalityrc @@ -16,7 +16,7 @@ grepStrings+=('-e' '^\*\*\* Brutality Bonus awarded!' '-e' '^Picked up ' '-e' '^Press ' '-e' 'Rescue operations suit.' - '-e' '^(Mega|Soul|Invulnerability )[Ss]phere!$' + '-e' '^(Mega|Soul|Invulnerability )[Ss]phere!?$' '-e' '^Mancubus ' '-e' ' skeleton key secured!$' '-e' ' \(Slot [0-9]+\)'