summaryrefslogtreecommitdiff
path: root/text2speech/t2s-apb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'text2speech/t2s-apb.sh')
-rw-r--r--text2speech/t2s-apb.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/text2speech/t2s-apb.sh b/text2speech/t2s-apb.sh
new file mode 100644
index 0000000..0ec15bb
--- /dev/null
+++ b/text2speech/t2s-apb.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+tail -F /cygdrive/c/Program\ Files\ \(x86\)/Steam/SteamApps/common/APB\ Reloaded/APBGame/Logs/Current.log | perl -e 'my $prev; $| = 1; while (<>) { s/.+ m_s.{0,1}Message // and $_ ne $prev and print $_ and $prev = $_ }' | cscript -s "c:/cygwin64/home/user/src/jampal-02.01.06/jampal/src/pgbennett/speech/ptts.vbs"