Crusader Kings III

Crusader Kings III

67 ratings
Text to Speech
3
3
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
243.804 KB
24 Oct, 2024 @ 6:45am
1 May @ 11:22am
3 Change Notes ( view )

Subscribe to download
Text to Speech

In 1 collection by Agami
CK3 UI Accessibility
8 items
Description
Reads out loud event text and option tooltips

How to use:
1. Launch CK3 Text to Speech Monitor in the mod folder.
(or download from Drive[drive.google.com])
You may need to right-click it and choose Run with PowerShell.
2. In the game, click the read button in the event or right-click an event option.

See the video above.

You can now also download a newer version of the monitor:
https://github.com/Agamidae/CK3-WPF-Reader/releases/
This one will remember your settings and has a few more options.

The Monitor is a simple powershell script.
It's absolutely safe, you can open it in any text editor and see everything it does.
It monitors your debug log and when the mod sends the event text there, it reads it with text-to-speech.

To open the mod folder:
Go to your playset in the launcher, click the three dots on the right side of the mod, select "Show in folder".
Make a shortcut for the Monitor on your desktop so it's easier to use.

Troubleshooting
If the script opens and instantly closes, you may not have permissions to run scripts.
To fix it:
1. Press Windows, search for the Powershell and launch it
2. In the console, paste this command and press enter: Set-ExecutionPolicy Bypass CurrentUser
After this, it should allow you to run scripts.

Features
You can change the speech rate and select another voice from the ones installed in your system.
To stop reading, press G.

If you want, I can make it read the event title and the option name too. Right now it's only the event text and the tooltips.
I can also try to to insert it into decision details.
Later I'll look into hooking it up to more tooltips.

Compatibility
The mod doesn't overwrite event windows, only event option buttons.
So it is compatible with other mods, like nameplates, bigger font, duel overview, etc.
It should work in all event windows, I've tested it with letters, courts, tournaments, big events and fullscreen ones.

Yes, you can get achievements with it, it doesn't use console commands.

Direct Drive download[drive.google.com]

The original script was written by Naoki.
I improved on it a little and recently rewrote in C#.

Updated to 1.16
33 Comments
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 ?