Updated the window title speaking script to function more like clipboard translator. This means you don't need to launch it before opening games that require it any more.

This commit is contained in:
Storm Dragon
2022-10-06 11:54:24 -04:00
parent 2ca3cae57c
commit a2cce62b1f
2 changed files with 10 additions and 2 deletions

View File

@ -795,6 +795,9 @@ game_launcher() {
"${0%/*}/speech/clipboard_translator.sh" play.exe &
fi
fi
if [[ "$game" =~ road-to-rage\| ]]; then
"${0%/*}/speech/speak_window_title.sh" trtr.exe &
fi
if [[ "$game" =~ sequence-storm ]]; then
[[ -x ~/.SequenceStormReader ]] && ~/.SequenceStormReader &
fi
@ -2355,7 +2358,6 @@ EOF
download "https://iamtalon.me/games/rtr_ultimate.zip"
unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/rtr_ultimate.zip"
add_launcher "c:\Program Files\rtr_Ultimate\trtr.exe"
echo "To get speech in this game please run speak_window_title.sh in the speech directory."
;;
"Road to Rage Offline")
export winVer="win7"