Crusader Kings III

Crusader Kings III

Text to Speech
34 Comments
Tipsyyy__ 13 Aug @ 1:46pm 
Good day kind sir, i really love the idea of this mod, ive done everything and install the mod properly but the UI needed to make it read the text is missing, can somebody please help me if im missing something to make this work? i would really appreciate it!
TwerkForBacon 8 Jul @ 8:15am 
Hi! for some reason it keeps trying to read my debug logs any idea how to get it to read the game instead?
Lewiss. 9 May @ 3:48pm 
Sometimes I notice that the event text is read multiple times. When looking in the debug file I can also see that the <event-text> is written multiple times for the same message.
Agami  [author] 9 May @ 8:12am 
@Riemu-Makkonen hwoops, forgot to make it public
Chriserereren 7 May @ 2:01pm 
Do you think you can make this compatible with voices of the court? This mod makes my games really immersive. Love it!
Mithralas 10 Mar @ 3:26pm 
If, like me, you have pronunciation issues in French with certain words like:

- "Il se joint à l'armée " becomes "Il se joint à armée "
- "Nous sommes à l'écart " becomes "Nous sommes à écart "
(in short, it removes all l' apostrophes: l' )

You just need to remove the line "\bL\b" in the file CK3 Text to Speech Monitor.ps1

$removePatterns = @(
" \bL\b ", # <-- to remove 🔴
"TOOLTIP:\w+,\w+,\d+",
"ONCLICK:\w+,\d+",
"ONCLICK:\w+,\w+",
"TOOLTIP:\w+,\w+",
"TOOLTIP:\w+,\d+",
"positive_value",
"negative_value",
"COLOR_\w_\w",
"COLOR_\w",
"_icon",
"skill_",
"\w+ ",
"\w;",
"\w+",
". ",
".",
"!",
"\w;",
";",
"stress_\w+",
"_"
)
Mithralas 24 Feb @ 1:20pm 
Natural AI VOICES works great in multilanguage for FREE !

After installing "Text to Speech" and testing that it works well, I installed "NaturalVoiceSAPIAdapter" as @Blue_Angel said ( https://github.com/gexgd0419/NaturalVoiceSAPIAdapter )

Installing AI voices is quite simple, to install you just need to:

🔵 Go to the release section and download the .zip ( https://github.com/gexgd0419/NaturalVoiceSAPIAdapter/releases )
🔵 Extract the ZIP into the folder of your choice (which should not move after installation)
🔵 Run "Installer.exe"
🔵 Click on "Install 64-bit"
🔵 Quit, that's it!
🟢 Relaunch "CK3 Text to Speech Monitor.ps1", AI voices are now available in the voice selection section, I personally use "Microsoft RemyMultilingual Online"

Tested on Windows 11
pepperjody 22 Feb @ 8:43pm 
Hi! I would also be interested in this tip @Mithralas thanks !
Mithralas 20 Feb @ 4:40am 
@asppirhyne I will try to change de narrator voice like who said @Blue Angel, I will detail how I do this if I succeed 😊
asppirhyne 29 Jan @ 7:20am 
Hey just found your mod and it’s so cool, does it work in other languages or it’ll try to say them in an English accent ?
Agami  [author] 20 Nov, 2024 @ 8:40am 
@Bleaberry you can use the volume mixer. it's Win+G in windows 11
Bleaberry 20 Nov, 2024 @ 8:11am 
neat mod, but the text to speech volume is to loud... how to change it?
Canon 18 Nov, 2024 @ 11:37pm 
You could make (or get chatgpt to make) a batch script to clear out the log file and just run that whenever you're done playing (there's also ways to schedule it with an interval)
Agami  [author] 18 Nov, 2024 @ 11:18am 
@Benedicter it could use the error log, but that's it.
the logs reset when you restart the game, so the bloat is limited to a single run.
Benedicter 18 Nov, 2024 @ 10:54am 
@agami
Is there a way for the mod to use a different file than debug.log? maybe a dedicated file just for the mod? thing is I set my log files to read only because after few runs they become big and bloated...
Teamson 11 Nov, 2024 @ 6:50am 
Make it a mod @blue angel?! :D
Blue Angel 9 Nov, 2024 @ 6:45pm 
Update: The answer is YES. https://github.com/gexgd0419/NaturalVoiceSAPIAdapter

After installing this, I was able to get all the MS narrator and online voices accessible in the CK3 TTS
Blue Angel 9 Nov, 2024 @ 5:45pm 
HELL YES!!! AMAZING. I WANT TO SEE IT! I HAVE BEEN THINKING ABOUT IT FOR A LONG TIME. I am very curious if we could get this to talk to a local deep learning TTS model!
isma 6 Nov, 2024 @ 3:17pm 
Sorry, I do not know anything about programming. Is there any way to change the voice, or does the author plan to add more? This mod is really cool
GenuineBoredom 2 Nov, 2024 @ 3:10pm 
Oh cool. I bet this helps someone out.
Canon 2 Nov, 2024 @ 5:23am 
Looks like it's a flaw with how the api gets the voices

https://stackoverflow.com/questions/51811901/speechsynthesizer-doesnt-get-all-installed-voices-3

I confirmed manually registry editing like he suggested as option one does work, so option 2 should for the author (albeit I only know C# so I'm not sure if powershell has the ability for reflection), theres also a patcher someone made at the bottom, but I can't guarantee its safety.
Chief Kyiv 2 Nov, 2024 @ 4:52am 
Awesome Project, thank you! Is there any way to add other .NET voices? I have multiple voices installed in Windows (e.g. Microsoft Ryan (Natural)) which don't show up on the dropdown menu.
Canon 1 Nov, 2024 @ 8:56pm 
He could implement local AI voice or 11labs, but that's a lot of work to add, and a lot of setup on your end and you either have to run it yourself (not exactly the easiest thing to run) or pay for it yourself
Canon 1 Nov, 2024 @ 8:51pm 
Yeah spend hundreds of your own money on voice actors (who usually arent keen on copying voices) for your free ck3 mod
IamtheJoke4911 1 Nov, 2024 @ 7:56am 
please dont use that fucking ai voice hire some voice actors and try to copy their voice instead
sorayacatfriend 1 Nov, 2024 @ 5:22am 
Great work as always!
Maño 30 Oct, 2024 @ 5:34pm 
If there was a way to change the voicepack this could be the best mod in the workshop
Teamson 30 Oct, 2024 @ 10:00am 
now imagine this in 10 years.

Like Sean Bean narrating your gamethrough.

Narrative/Textbased Games will be super awesome!!
BB. 29 Oct, 2024 @ 2:17pm 
tried to open the launcher but doesnt work
BB. 29 Oct, 2024 @ 2:08pm 
does it work in every language?
seomi237 29 Oct, 2024 @ 11:49am 
now we need the presidents version; we need Joey and Donal' to tell us what's up!
William 28 Oct, 2024 @ 2:58pm 
is there any way that I can add more voices? I don't know if the voices are already on the computer. or if it's in the mod I'm kind of dumb to modding but I definitely love it.
blazeknave 24 Oct, 2024 @ 10:09am 
I never know how low my quality of life is until you drop a new mod lol