For Freedoom, shortened some messages that are spoken with tts. Added tts indicator for run and walk.
This commit is contained in:
parent
ea7c3bf6b1
commit
6a48817da2
@ -406,12 +406,18 @@ game_launcher() {
|
||||
*doom*)
|
||||
exec stdbuf -oL ${game} | stdbuf -oL grep -E \
|
||||
-e '^[0-9]+\. ' \
|
||||
-e '^"cl_run"' \
|
||||
-e '^Game saved. ' \
|
||||
-e '^A secret is revealed!$' \
|
||||
-e '^MAP[0-9]*' \
|
||||
-e '^Player was ' \
|
||||
-e '^Please select a game wad \(or 0 to exit\):' \
|
||||
-e '^You have no keys in your pocket!$' | spd-say -e
|
||||
-e '^You have no keys in your pocket!$' | stdbuf -oL sed \
|
||||
-e 's/MAP0\([1-9]\)/MAP\1/' \
|
||||
-e 's/"cl_run" = "true"/run/' \
|
||||
-e 's/"cl_run" = "false"/walk/' \
|
||||
-e 's:.*/:Game saved. (:' \
|
||||
| spd-say -e
|
||||
;;
|
||||
*"main.py")
|
||||
pushd "${game%/*}"
|
||||
|
Loading…
Reference in New Issue
Block a user