Crusader Kings III

Crusader Kings III

71 个评价
Text to Speech
3
3
2
2
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
250.161 KB
2024 年 10 月 24 日 上午 6:45
10 月 1 日 上午 9:46
4 项改动说明 ( 查看 )

订阅以下载
Text to Speech

在 Agami 的 1 个合集中
CK3 UI Accessibility
8 件物品
描述
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.17
34 条留言
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?
Lewiss. 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 😊