Crusader Kings III

Crusader Kings III

72 ratings
Text to Speech
3
3
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
266.934 KB
24 Oct, 2024 @ 6:45am
15 Nov @ 10:05am
8 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. Download CK3 Reader[github.com] and keep it open during the game.
You can launch while the game's open or before, doesn't matter.

2. Double-click any text in game and press Control C.
The Reader will read it out loud from your clipboard. Press Alt C to stop.

In the event window you can also press F to read it out loud and right-click options to read their tooltips.


Alternatively, you can use CK3 Text to Speech Monitor in the mod folder.
This one is just for events, the original design.
(you may need to right-click it and choose Run with PowerShell)


How it works?
The game outputs the event text into debug log, then my app finds it in the log and reads it out loud.

The Monitor is a simple powershell script.
It's absolutely safe, you can open it in any text editor and see everything it does.

CK3 Reader is a newer fancier version that can read any text copied to the clipboard, uses less CPU and remembers your settings.
Github has the whole project, you can analyze it if you wish:
https://github.com/Agamidae/CK3-WPF-Reader/


Troubleshooting
How to open your 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.

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 or Alt C if you're using CK3 Reader.

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.

It also changes the default textbox. I don't know if any mods touch it, should be compatible.

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 build on it and rewrote in C#.

Updated to 1.18
51 Comments
Caeli 17 Nov @ 1:02pm 
It's perfect, thanks for your reactivity and the fast fix. Impressive and very useful mod.
Agami  [author] 16 Nov @ 4:56pm 
@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 16 Nov @ 4:49pm 
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  [author] 15 Nov @ 10:06am 
@Caeli alright, I added a toggle for selecting text, it'll appear when paused above the Pause text on screen, hotkey Control Y.
Caeli 13 Nov @ 4:26pm 
@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  [author] 13 Nov @ 4:06pm 
@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 13 Nov @ 3:57pm 
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  [author] 13 Nov @ 11:02am 
@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 13 Nov @ 10:51am 
So what is a person downloading exactly? Why did you do this?
Agami  [author] 11 Nov @ 3:20pm 
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.