flathub / org.scummvm.ScummVM

https://flathub.org/apps/details/org.scummvm.ScummVM
3 stars 5 forks source link

Enable text-to-speech support #23

Open joshas opened 2 years ago

joshas commented 2 years ago

ScummVM has a little know accessibility feature where some games can use system TTS to voice game dialog. Would it be possible to enable it on Flatpak version?

AsciiWolf commented 2 years ago

Thanks, I will try looking at this when I have some free time.

lotharsm commented 2 years ago

This would be a nice idea!

However, adding TTS inside the Flatpak might be not exactly easy. E.g. for the Ubuntu Snap, I had to do quite some trickery to launch an speech-dispatcher instance just before launching ScummVM. I did this by providing a wrapper script, you can check it out here: https://github.com/snapcrafters/scummvm/blob/master/scripts/bin/scummvm-launch.sh