Ren'Py Self-Voicing with Third Party Voice

StevenD90

Newbie
Jun 21, 2022
33
106
I'm not sure if this is the correct place or not to ask this, but I've been having an issue with the self-voicing when using a non-windows voice, e.g. IVONA.

When I set the "config.tts_voice" variable to "Zira", "David", etc. all the windows default voices everything works fine. When I set it to "IVONA 2 Salli OEM", I get a repeated pop-up of "load lib failed" and eventually an ActiveX component error with code: 800A01AD this specifically relates to the say.vbs script for speaking a piece of text.

  1. I've created my own text vbs script to run in the command window, and this works fine.
  2. I also copied the python code that calls a subprocess call to the script from renpy/display/tts.py. This also works perfectly fine.
    • (process = subprocess.Popen([ "wscript", fsencode(say_vbs), fsencode(s), fsencode(voice), fsencode(str(amplitude_100)) ])).
This seems to me like a very bespoke problem so not sure I will get an answer but just thought it was worth trying to see.