Text-to-Speech extension for RimTalk that brings your colonists' voices to life!
Github[github.com]
Install tutorial (Baidu Tieba in Chinese)[tieba.baidu.com]
Preview video (Bilibili)[www.bilibili.com]
This mod captures dialogue generated by RimTalk and converts it to speech. Features include:
Feature
- 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!)
- Customizable TTS endpoint (Including local API)
- 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
Requirements
- RimTalk must be installed and enabled
- It is recommended to disable "Allow Simultaneous Conversations" setting in Rimtalk
Fish Audio Requirements
- Python 3.9+ with fish-audio-sdk package installed
- Fish Audio[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 "https://fish.audio/m/") for speech generation
EdgeTTS Requirements
- No python environment needed (Thanks to @SANGUO)
- No API key needed
- Completely free!
CosyVoice2 & IndexTTS2 Requirements
- SiliconFlow[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
Setup
- 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
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.