From 5a9f715891b601e0aa1933166d8b580b6daf47b7 Mon Sep 17 00:00:00 2001 From: stormdragon2976 Date: Fri, 27 Jan 2023 12:27:17 -0500 Subject: [PATCH] Replace nvdaControllerClient at the launch of Sketchbook so that updates won't break it. Immediately after updating, relaunch the game to restore speech. --- audiogame-manager.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 199173c..69c87b8 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -826,6 +826,9 @@ game_launcher() { "${0%/*}/speech/clipboard_translator.sh" play_sr.exe shadow-line & export version="7.7" fi + if [[ "$game" =~ sketchbook ]]; then + find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; + fi if [[ "$game" =~ swamp ]]; then export version="7.7" fi