From 600e92c6db55e4b799d3788be67855c8c4c049d2 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 2 Sep 2024 04:23:41 -0400 Subject: [PATCH] Switch Shadow Line to use English translations file. --- audiogame-manager.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index b8baf91..d650800 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -949,7 +949,7 @@ game_launcher() { fi if [[ "$game" =~ shadow-line ]]; then find "${WINEPREFIX}/drive_c/" -type f -name 'nvdaControllerClient.dll' -exec rm -v "{}" \; - "${0%/*}/speech/clipboard_translator.sh" play_sr.exe shadow-line & + "${0%/*}/speech/clipboard_reader.sh" play_sr.exe shadow-line & fi if [[ "$game" =~ sketchbook ]]; then find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; @@ -2908,7 +2908,7 @@ EOF ;; "Shadow Line") export version="7.7" - download "https://www.mm-galabo.com/sr/Download_files_srfv/shadowrine_fullvoice3.171.exe" + download "https://www.mm-galabo.com/sr/Download_files_srfv/shadowrine_fullvoice3.171.exe" "https://raw.githubusercontent.com/LordLuceus/sr-english-localization/master/language_en.dat" install_wine "$version" "32" export winVer="win8" install_wine_bottle @@ -2922,7 +2922,15 @@ EOF xdotool key --clearmodifiers --delay=500 space xdotool key --clearmodifiers --delay=500 alt+f ${wine}server -w + mv -v "${cache}/language_en.dat" "${WINEPREFIX}/drive_c/Program Files/GalaxyLaboratory/ShadowRine_FullVoice/SystemData/language_en.dat" add_launcher "c:\Program Files\GalaxyLaboratory\ShadowRine_FullVoice\play_sr.exe" + echo "Please set the language to English when the game opens." + echo "Go to options and press enter." + echo "Press down arrow 5 times and press enter." + echo "Press down arrow 1 time and press enter." + echo "Press up arrow 2 times and press enter." + echo "If everything worked as expected you should be back on the game menu and speech should work." + alert ;; "Silver Dollar") export winVer="win7"