Crusader Kings III

Crusader Kings III

Text to Speech
52 条留言
Fela Anikulapo Kuti 17 小时以前 
Hello i hear no sound
Caeli 11 月 17 日 下午 1:02 
It's perfect, thanks for your reactivity and the fast fix. Impressive and very useful mod.
Agami  [作者] 11 月 16 日 下午 4:56 
@William press Control Y when in game. Or the button above the Paused text that says "Text can be selected". After that you can click anywhere you want.
I can set it off by default.
William 11 月 16 日 下午 4:49 
Yeah I'm getting the same technical issue I can't click on the top liege council button also makes it hard to click on some other buttons in the overlay and I don't know how to fix it with this mod And I really enjoyed the read out loud function as it makes all the dialogue in the game even actually enjoyable for me And I really don't understand how to fix it
Agami  [作者] 11 月 15 日 上午 10:06 
@Caeli alright, I added a toggle for selecting text, it'll appear when paused above the Pause text on screen, hotkey Control Y.
Caeli 11 月 13 日 下午 4:26 
@Agami I have tried with 5ms, it seems to make it work a bit better. The problem seems to be if I have another window open for a character or whatever, it'll read that first and delaying the TTS.

I couldn't click in the council, I had 3 differents sub-category (Mine, my Liege one, and another one) The one on the most right had the window the same size as the text, making it impossible to click on the side
Agami  [作者] 11 月 13 日 下午 4:06 
@Caeli you tried switching to 5 ms? if the debug log is spammed, it needs to go through a lot of lines to find the event. I'll try to rework it in he future.

I might be able to add a toggle to disable selecting text, I'd need to test
do you remember where exactly you couldn't click?
Caeli 11 月 13 日 下午 3:57 
Hello, first of all, thank you for your mod. I wanted to know if it was possible, by any way to completely remove the possibility of copy a text. It sometimes prevent me from clicking on some overlay if this one is too small, and I don't use this anyways.
I'd like to use it only for the events, completely removing the copy.
It is working by removing
text_selectable = yes and putting no instead in the first one, but then the reader is taking a very long time to read the whole event and I have to wait 30-40sec before being able to speech it.

Thank you, have a good day
Agami  [作者] 11 月 13 日 上午 11:02 
@CitesSkyliner an app that reads outs loud any text from your clipboard, copied from the game. Or the event text from the debug log.
Because some people have impaired vision and can't play the game without it.
CitesSkyliner 11 月 13 日 上午 10:51 
So what is a person downloading exactly? Why did you do this?
Agami  [作者] 11 月 11 日 下午 3:20 
New feature!
You can double-click any text in game, copy it with Control C and the reader will read it out loud!

The new CK3 Reader, from github, to be clear:
https://github.com/Agamidae/CK3-WPF-Reader/releases/tag/1.2

There will be some text that won't work. But a lot of them will! Give it a try.
Op 11 月 9 日 上午 12:03 
@Agami
I should have tested this mod alone without having other mods activated to see first, but... anyways, turns out for me that the 'Regional Immersion and Cultural Enrichment (RICE)' mod is the culprit that is causing my issue. That mod has yet to be updated, which in turn broke this mod...sigh...

I have RICE disabled for now and text to speech now works.That mod should have been one of the first ones I checked to make sure it was updated....

I feel like it's impossible for me to finish a campaign, updates break everything and corrupt my campaign to where I have to start a new. Ohhh the struggle be real lol.

Either way, thanks for this kick ass mod!
LRNZ 11 月 8 日 下午 2:33 
@American, if you have Windows 11, you can definitely use

https://github.com/gexgd0419/NaturalVoiceSAPIAdapter

It works very well; some of the voices should also work on Windows 10, at least as of 1.5 years ago when I was still using Windows 10. In cases where programs rely on Windows TTS, I recommend checking out this program.
Agami  [作者] 11 月 8 日 下午 1:11 
@Op I removed the event title, maybe that was causing issues for you? it's really strange, I've tested dozens of events, never ran into any issues

@American Daimyy check through the comments, someone had a solution for using AI voices
American Daimyo 11 月 8 日 下午 12:19 
anyway to change the voices to the more natural voices
Op 11 月 7 日 下午 5:28 
Hello, been using this mod since release, but, now it doesn't read the actual event. It reads out, for example
Event:
high negative greed

Event:
low positive greed

and so on. Unsubscribed , then subscribed again, and I also downloaded and am now using the new app, but the issue remains. It does not read the event text.
LRNZ 11 月 7 日 下午 3:01 
Don't know what Princes of Darkness (POD) does with events, but this mod seems incompatible with POD; it reads more or less random words.
Agami  [作者] 11 月 6 日 下午 3:06 
Done some updates so it handles text formatting better.
It will only output the event text once and read the log faster beacuse good lord it gets spammed like crazy sometimes.
I also recommend trying the new app, it should work better:
https://github.com/Agamidae/CK3-WPF-Reader/releases
Tipsyyy__ 8 月 13 日 下午 1:46 
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 7 月 8 日 上午 8:15 
Hi! for some reason it keeps trying to read my debug logs any idea how to get it to read the game instead?
Vinnie. 5 月 9 日 下午 3:48 
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  [作者] 5 月 9 日 上午 8:12 
@Riemu-Makkonen hwoops, forgot to make it public
Riemu-Makkonen 5 月 9 日 上午 6:56 
Chriserereren 5 月 7 日 下午 2:01 
Do you think you can make this compatible with voices of the court? This mod makes my games really immersive. Love it!
Mithralas 3 月 10 日 下午 3:26 
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 2 月 24 日 下午 1:20 
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 2 月 22 日 下午 8:43 
Hi! I would also be interested in this tip @Mithralas thanks !
Mithralas 2 月 20 日 上午 4:40 
@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 1 月 29 日 上午 7:20 
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  [作者] 2024 年 11 月 20 日 上午 8:40 
@Bleaberry you can use the volume mixer. it's Win+G in windows 11
Bleaberry 2024 年 11 月 20 日 上午 8:11 
neat mod, but the text to speech volume is to loud... how to change it?
Canon 2024 年 11 月 18 日 下午 11:37 
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  [作者] 2024 年 11 月 18 日 上午 11:18 
@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 2024 年 11 月 18 日 上午 10:54 
@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 2024 年 11 月 11 日 上午 6:50 
Make it a mod @blue angel?! :D
Blue Angel 2024 年 11 月 9 日 下午 6:45 
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 2024 年 11 月 9 日 下午 5:45 
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 2024 年 11 月 6 日 下午 3:17 
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 2024 年 11 月 2 日 下午 3:10 
Oh cool. I bet this helps someone out.
Canon 2024 年 11 月 2 日 上午 5:23 
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 2024 年 11 月 2 日 上午 4:52 
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 2024 年 11 月 1 日 下午 8:56 
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 2024 年 11 月 1 日 下午 8:51 
Yeah spend hundreds of your own money on voice actors (who usually arent keen on copying voices) for your free ck3 mod
IamtheJoke4911 2024 年 11 月 1 日 上午 7:56 
please dont use that ♥♥♥♥♥♥♥ ai voice hire some voice actors and try to copy their voice instead
sorayacatfriend 2024 年 11 月 1 日 上午 5:22 
Great work as always!
Maño 2024 年 10 月 30 日 下午 5:34 
If there was a way to change the voicepack this could be the best mod in the workshop
Teamson 2024 年 10 月 30 日 上午 10:00 
now imagine this in 10 years.

Like Sean Bean narrating your gamethrough.

Narrative/Textbased Games will be super awesome!!
BB. 2024 年 10 月 29 日 下午 2:17 
tried to open the launcher but doesnt work
BB. 2024 年 10 月 29 日 下午 2:08 
does it work in every language?
seomi237 2024 年 10 月 29 日 上午 11:49 
now we need the presidents version; we need Joey and Donal' to tell us what's up!