thanhkeke97/RSTGameTranslation
๐ฎ Real-time Game Translation Tool | OCR + AI Translation | Windows Gaming | Open Source
About thanhkeke97/RSTGameTranslation
thanhkeke97/RSTGameTranslation is an open-source project on GitHub, mainly written in C#. ๐ฎ Real-time Game Translation Tool | OCR + AI Translation | Windows Gaming | Open Source It currently holds 720 stars and 114 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).
Project Overview
AI Homed tracks it on the Today's Trending board, currently at rank #82 with 10 new stars today.
GitHub Repository Details
README
๐ฎ RSTGameTranslation
Real-time Screen Translation for Gaming
Translate games, manga and game voices in real time with OCR and AI translation
๐ฅ Download โข โ๏ธ Settings guide โข ๐ Vietnamese Guide โข ๐ Report Bug
---
โจ Features
- Translate any game in real time: reads the text on screen (OneOCR or Windows OCR, built in) and shows the translation right on top of it
- Many translation services: Google Translate (free, no key), Gemini, Groq, ChatGPT, Mistral, or fully offline with Ollama and LM Studio
- Natural-looking overlay: the original text is erased and the translation is drawn on the original background, in a matching color
- Manga Mode: recognizes speech bubbles, reads Japanese vertical text right to left, and also works with English comics
- Translate game voices: turns spoken dialogue into translated text (Whisper or FunASR, runs on your PC)
- Read translations aloud (Text-to-Speech): ElevenLabs, Google Cloud TTS, Windows TTS, or Supertonic (free, offline)
- Smart translation: uses previous lines and game information for more accurate results
- Clipboard translation: translates any text you copy
---
๐ Quick Start (about 3 minutes)
You need: Windows 10 or 11. Run your game in windowed or borderless windowed mode (exclusive fullscreen hides the translation).
1. Download the latest version from Releases, extract it anywhere, and run rst.exe
2. Choose languages: Settings โ Language, pick the game's language and your language
3. Choose a translator: Settings โ Translation, select Google Translate (free, no API key needed)
4. Choose what to translate:
- Click Select Application and pick your game window, or
- Press Alt+Q and drag a box around the text area
That's it. The translation appears over the game and updates as the text changes. Press Alt+G again to stop.
๐ก On Windows 10, click Select Application before turning on the overlay.
---
โจ๏ธ Hotkeys
| Hotkey | Action | |---|---| | Alt+G | Start / stop translating | | Alt+Q | Select the area to translate | | Alt+F | Show / hide the overlay | | Alt+C | Show / hide the ChatBox (translation history window) | | Alt+T | Translate the current text again | | Alt+K | Start / stop voice translation | | Alt+1 โฆ Alt+5 | Switch between saved areas | | Alt+B | Show the selected areas | | Alt+P | Open Settings | | Alt+L | Open the log window |
You can change every hotkey in Settings โ HotKeys.
---
๐ Guides
๐ฎ Translating a game
- Select Application follows the game window, even when you move it. Select Area (Alt+Q) translates a fixed part of the screen. You can save up to 5 areas and switch with Alt+1โฆ5.
- Overlay shows the translation on top of the original text. ChatBox (Alt+C) shows it as a list, which is easier for visual novels or when the text area is small.
- Turn on Settings โ Context/Overlay โ Auto Set Overlay Background Color to erase the original text and blend the translation into the game.
- Describe the game and its main characters in Settings โ Context/Overlay โ Info about the game for more accurate translations with AI services. Save your settings per game with Settings โ Game Profile.
- If some on-screen text (menus, HUD) keeps getting translated, mark it in Settings โ Exclude Regions or Ignore Phrases.
๐ Reading manga and comics
1. Settings โ OCR/Screen Selection: choose OneOCR, then turn on Manga Mode 2. Settings โ Language: set the source language (Japanese, English, โฆ) 3. Press Alt+Q and select the whole page (or the reader window with Select Application) 4. Alt+F for the overlay, Alt+G to start
Manga Mode finds each speech bubble in the image, so neighbouring bubbles are never mixed up. For Japanese it reads vertical columns right to left and skips furigana. The whole page is translated in one go, while every bubble keeps its own translation.
๐๏ธ Translating game voices (speech-to-text)
1. Settings โ Audio: choose a Provider
- Whisper: many languages. Click Download Whisper Modelโฆ and pick a model (the dialog marks the recommended one)
- FunASR: Japanese, Chinese, Korean, English, Cantonese. Fast and accurate. Click Download FunASR Model
๐ Reading translations aloud (Text-to-Speech)
Choose a service in Settings โ TTS:
| Service | Cost | Internet | Languages | Best for | |---|---|---|---|---| | Supertonic | Free | Not needed | 31 | Offline, no API key | | Windows TTS | Free | Not needed | Voices installed in Windows | No setup | | ElevenLabs | Free tier + paid | Needed | Many | Most natural voices | | Google Cloud TTS | Pay per character | Needed | 50+ | Widest language coverage |
When translations arrive faster than they can be read, Speed up when behind reads the next lines faster (up to 1.5x) to keep up with the game.
Setting up Supertonic (free, offline)
Supertonic by Supertone runs entirely on your CPU: no cloud, no API key. After a one-time download (about 400 MB) it works offline.
1. Settings โ TTS, set TTS Service to Supertonic
2. Click Download model (from Hugging Face)
3. Pick a voice style (M1โM5, F1โF5)
4. Optional: adjust Quality (default 8) and Speech speed (default 1.05)
Languages: en, ko, ja, ar, bg, cs, da, de, el, es, et, fi, fr, hi, hr, hu, id, it, lt, lv, nl, pl, pt, ro, ru, sk, sl, sv, tr, uk, vi and na (auto-detect).
The first sentence after starting the app may take 1โ2 seconds while the model loads. License: SDK MIT, model OpenRAIL-M (model files).
๐ Translating copied text
Turn on Settings โ Clipboard โ Enable Clipboard Translation. Any text you copy (Ctrl+C) is translated automatically.
---
โ๏ธ Recommended setups
| Goal | OCR | Translation |
|---|---|---|
| Quick start, free | OneOCR | Google Translate (no key) |
| Best quality | OneOCR | Gemini, model gemini-flash-lite-latest (free API key from Google AI Studio) |
| Fully offline / private | OneOCR or Windows OCR | Ollama or LM Studio |
Tips for speed: select only the text area instead of the whole screen, and add several API keys so another one is used when one hits its limit.
---
โ Troubleshooting
The translation doesn't appear over the game
- Switch the game to windowed or borderless windowed. Exclusive fullscreen draws over everything.
- Make sure the overlay is on (Alt+F).
- On Windows 10, click Select Application and pick the game first.
Google Translate stops translating ("429" / rate limited)
The free Google service limits how many requests one PC can send. The app waits automatically and meanwhile uses the service set in Settings โ Translation โ When rate limited. If it happens often, switch to Gemini (free API key) or a local model (Ollama, LM Studio).
Manga text from different bubbles is mixed together
Turn on Manga Mode (needs OneOCR) and set the correct source language. Bubble detection works best on white or light speech bubbles.
Translations are slow
- Select a smaller area that only contains the text.
- Online AI services (Gemini, Groq) are usually faster than local models on a weak PC.
- For voice translation, keep Fast mode for short lines on and try a smaller Whisper model or FunASR.
Still stuck? Ask on Discord or report a bug.
---
๐ฌ Community
Join our Discord for support and updates!
---
๐ Support the author
If you find RST useful and would like to support development, you can buy the author a coffee โ thank you! ๐
---
๐ ๏ธ Open Source Technologies
This project stands on the shoulders of giants. We gratefully acknowledge the following open-source projects:
Core & UI
- WPF (Windows Presentation Foundation) - UI Framework
AI & Translation
- System.Text.Json - High-performance JSON serialization
- Hugging Face - For various AI models and datasets
Audio
- NAudio - Audio and MIDI library for .NET
- System.Speech - .NET Speech Synthesis Library
- Whisper.Net - .NET Speech To Text Library
Others
---๐ License
BSD-style attribution - see LICENSE.md
Acknowledgments: Includes software developed by Seth A. Robinson - UGTLive
|
| Free code signing provided by SignPath.io, certificate by SignPath Foundation. |
| :--- | :--- |
Made with โค๏ธ for the gaming community
โญ Star this project if you find it helpful!