From 3619c6720b7009bd4f83e9ad108426c510a54c97 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 23 Nov 2026 14:58:55 -0500 Subject: [PATCH] Fixes for speech so windows works. --- speech.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/speech.py b/speech.py index cbfd9b3..7fb08c8 100644 --- a/speech.py +++ b/speech.py @@ -54,6 +54,9 @@ class Speech: return except ImportError: pass + except Exception as error: + # Installed but unusable, such as speech-dispatcher failing to start. + print(f"speechd could not be started: {error}") # Try accessible_output2 next try: @@ -64,6 +67,9 @@ class Speech: return except ImportError: pass + except Exception as error: + # A broken backend, such as SAPI under Wine, must not stop the game. + print(f"accessible_output2 could not be started: {error}") # No speech providers found print("No speech providers found.")