Text-to-Speech extension for RimTalk that brings your colonists' voices to life!
[url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2Fwhatismyname0%2FRimTalkTTSModule]Github[/url][github.com]
[url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Ftieba.baidu.com%2Fp%2F10278651916]Install tutorial (Baidu Tieba in Chinese)[/url][tieba.baidu.com]
[url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fwww.bilibili.com%2Fvideo%2FBV1PB2fBsEtQ]Preview video (Bilibili)[/url][www.bilibili.com]
This mod captures dialogue generated by RimTalk and converts it to speech. Features include:
Feature
[list]
[*] Real-time speech synthesis for all RimTalk dialogues
[*] Per-pawn voice model configuration
[*] Customize voice models
[*] Support Fish Audio, CosyVoice2(SiliconFlow), IndexTTS2(SiliconFlow) & EdgeTTS(free!)
[*] Translation support for multilingual speech
[*] Automatic dialogue blocking until speech is ready
[*] Turn on and off anytime
[*] Synchronized cancellation when RimTalk ignores dialogue
[*] Configurable voice parameters (temperature, top_p) (Available only for fish audio)
[*] Volume control
[*] Button to ignore all existing Rimtalk dialogues
[*] Button to generate a round of new Rimtalk dialogue
[/list]
Requirements
[list]
[*] RimTalk must be installed and enabled
[*] It is recommended to disable "Allow Simultaneous Conversations" setting in Rimtalk
[/list]
Fish Audio Requirements
[list]
[*] Python 3.9+ with fish-audio-sdk package installed
[*] [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Ffish.audio%2F]Fish Audio[/url][fish.audio] API key
[*] Voice reference ID (can be found on fish audio website by clicking "share" button of the voice model you want to add, then delete "[url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Ffish.audio%2Fm%2F%26quot%3B%29]https://fish.audio/m/")[/url] for speech generation
[/list]
EdgeTTS Requirements
[list]
[*] No python environment needed (Thanks to @SANGUO)
[*] No API key needed
[*] Completely free!
[/list]
CosyVoice2 & IndexTTS2 Requirements
[list]
[*] [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fwww.siliconflow.cn%2F]SiliconFlow[/url][www.siliconflow.cn] API key
[*] (Optional)Voice references for CosyVoice2 and IndexTTS2(Add them through in-game mod option menu)
[*] (Optional)Verify your real world indentity to use custom voices
[/list]
Setup
[list]
[*] Enable both RimTalk and RimTalk TTS mods
[*] Configure TTS model and input text process model settings in mod options
[*] Assign voice models to your colonists
[/list]
ATTENTION
: When using Alt+F4 to close the game, RimTalk TTS may not shutdown the server.
This mod operates non-invasively through Harmony patches and does not modify RimTalk's core code.
Default prompts are tested to be working fine.