After a long break I've finally finished the first full version of this mod. The 1.0 release can be downloaded here (1.0 Release file).
I've also finished the Text-to-Speech feature!
Text to speech
In my last post on here I said I'll probably leave out text to speech, due to it seeming like a lot of work. I've finished it now and yes, it was a lot of work. But it paid out well. My python skills have improved significantly because of it. The TTS in GOFT is done using the festival speech synthesis system by the university of edinburgh. It doesn't sound the best, but It's good enough. I needed a TTS engine that could be used using the command line or as a python module. There already is a python wrapper for festival available online, but I didn't get it to work. So instead I wrote a very basic python wrapper for festival, which only includes the commands I need. I utilised ChatGPT for this part, because the documentation of festival was too hard to understand for me. ChatGPT did a great job in helping me understand the syntax of festival and it's commands.
Most of the time, the .fsb voice lines have corresponding text inside the .lang files. This is the case for the .fsb holding all the story dialogue. However some .fsb voice lines divert from the text in the .langs or are not existent in them: Most of the mission dialogues, such as instructions for pirate missions or junk missions, is included in the .lang file, but the space lounge greetings are not included in the .lang. Thus I had to transcribe some .fsb files.
Some of the tools I programmed in the development of this mod can be found on Github. I'm planning to release my entire working directory for GOFT and some more tools on there as well, so other modders can see how some stuff has been achieved and hopefully learn from my methods or find better ones.
However, knowing myself, I've probalby made some mistakes here and there or left something out. I already had to update the 1.0 file because i accidentally uploaded the vanilla space lounge .fsb. So let me know if you find anything that's wrong :)
hahaha oml the screens have me ******* myself 😂 I can't wait to try this!! Huge congrats on getting the TTS working that must have been a hell of job
Will the festival wrapper library be included in the GH repos?
Yea i will upload that as well :)