โจ Features
๐ฅ Real-time Translation
Using OneOCR or Windows OCR running locally for automatic real-time translation. Supports chat window for visual novels and full-screen translation.
๐ค Advanced AI Translation
Support for multiple LLMs: Gemini, Groq, ChatGPT, Ollama, Mistral, LM Studio and Google Translate. Context-aware translation for higher accuracy.
๐ฏ Smart Recognition
Optimized translation for specific games, considering previous context and recognizing character/location names.
๐ Speech-to-Text
Recognize speech directly from game audio and translate it in real-time. Perfect for games with no subtitles or audio-only dialogue.
๐ข Additional Features
Text-to-speech functionality and ability to translate 100% locally with Ollama or LM Studio.
๐ Text Overlay
Display translated text overlaid on the original text in the selected translation area.
๐ฎ Game Optimized
By providing information about the game being translated and previous context, translations are more accurate than other methods.
โก Multiple OCR Options
Choose from 2 built-in OCR engines: OneOCR (recommended) or Windows OCR based on your hardware.
โ ๏ธ Important Notes
- System Requirements: Windows 10 or higher. Game needs to be in windowed, fullscreen borderless, or windowed borderless mode.
- Recommended Hardware: Works on any GPU (AMD, Intel, NVIDIA) or CPU-only.
- CPU Performance: OneOCR uses ~10% CPU, Windows OCR uses ~2% CPU.
- OCR Selection: OneOCR (recommended, manga support) or Windows OCR (lightest, for AMD/Intel GPUs)
- Translation Area: Smaller translation area = faster translation speed.
- API Keys: Some translation services require API keys. Google Translate works without keys, but AI services need keys.
๐ Quick Start
For Immediate Use (No Setup Required)
- Run
rst.exe - Go to Settings โ OCR: Select OneOCR or Windows OCR
- Go to Settings โ Language: Choose source and target languages
- Go to Settings โ Translation: Select Google Translate
- Close settings and press Select Window button
- Press Alt+Q to select translation area
- Press Alt+F to enable overlay display
- Press Alt+G to start translation
For Best Quality (Requires API Key)
- Get a Gemini API Key from Google AI Studio
- Go to Settings โ Translation
- Select Gemini and enter your API key
- Select OneOCR in OCR settings
- Enter your Game Info for better context-aware translations
๐ Documentation
Table of Contents
๐ How It Works
Translation Workflow
Step-by-Step Process
- Capture Screen: The application captures the selected area of your game screen at regular intervals or when text changes.
- OCR Detection: The selected OCR engine (OneOCR or Windows OCR) extracts text from the captured image.
- Text Processing: The extracted text is filtered, deduplicated, and analyzed for context.
- AI Translation: The text is sent to your selected translation service (Gemini, ChatGPT, Google Translate, Ollama, etc.)
- Context Enhancement: Previous translations and game information are used to improve accuracy.
- Display Result: Translated text appears in the overlay or chat window.
Key Concepts
- Translation Area: The rectangular region you select on screen. Smaller areas = faster processing.
- Context: Previous text pieces that help the AI understand the conversation flow.
- Game Info: Description of the game that helps AI translate character names and terminology correctly.
- Block Detection: How OCR groups text elements together. Higher power = more text grouped together.
๐ค OCR Engine Guide
OCR Engine Comparison
Windows OCR
Resources: ~2% CPU
Accuracy: Medium
Setup: None
Best for: AMD/Intel GPUs, quick setup
OneOCR
Resources: ~10% CPU
Accuracy: High
Setup: None
Best for: All users, manga support
OCR Settings Explained
| Setting | Description | Recommended Value |
|---|---|---|
| Block Detection Power | Controls how text blocks are grouped. Higher values merge more text together. | 5 (default) - Adjust lower for small text, higher for paragraphs |
| Settle Time | Seconds to wait for text to stabilize before capturing. | 0.5s - Increase if text flickers or updates slowly |
| Text Similarity Threshold | Skips OCR if new text is similar to previous (0.5-1.0). | 0.75 - Lower to skip more duplicates |
| Character Level OCR | Splits results into individual characters for better spacing handling. | Enabled - Recommended for tightly spaced text |
| Min Fragment Size | Ignores text fragments smaller than this many characters. | 2 - Filters out noise and small UI elements |
| Min Letter/Line Confidence | Filters OCR output by confidence score (0.0-1.0). | 0.1 / 0.2 - Lower to accept more results |
| Multi-Selection Area | Allows selecting multiple translation regions simultaneously. | Optional - Useful for HUD + chat translation |
๐ค Translation Services Guide
Service Comparison
| Service | API Key Required | Quality | Speed | Privacy |
|---|---|---|---|---|
| Google Translate | Optional (Free tier available) | Good | Fast | Cloud |
| Gemini | Yes (free tier available) | Excellent | Fast | Cloud |
| ChatGPT | Yes (paid) | Excellent | Fast | Cloud |
| Groq | Yes | Excellent | Very Fast | Cloud |
| Ollama | No | Good-Very Good | Depends on hardware | 100% Local |
| LM Studio | No | Good-Very Good | Depends on hardware | 100% Local |
| Mistral | Yes | Excellent | Fast | Cloud |
Context Settings
| Setting | Description | Recommended Value |
|---|---|---|
| Max Context Pieces | Number of previous translations to include as context. | 3 - Provides good context without overwhelming |
| Min Context Size | Minimum characters for text to be included as context. | 20 - Filters out menu labels and buttons |
| Game Info | Description of the game for better terminology handling. | Brief description of genre, setting, characters |
| Leave Translation Onscreen | Always show translation instead of original text. | Personal preference |
โ๏ธ Detailed Settings Reference
Language Tab
| Setting | Description |
|---|---|
| Source Language | The language of text in the game (e.g., ja for Japanese, ko for Korean). |
| Target Language | The language you want translations in (e.g., en for English, vi for Vietnamese). |
| Swap Languages | Quickly swap source and target languages. |
| Check Language Pack | Verify Windows OCR language pack is installed for your source language. |
OCR & Screen Tab
| Setting | Description |
|---|---|
| OCR Method | Select OCR engine: Windows OCR or OneOCR. |
| Select Screen | Choose which monitor to capture if using multiple displays. |
| Auto OCR | Enable automatic continuous translation. Disable for manual control. |
| HDR Support | Enable for HDR games (may affect text detection accuracy). |
| Remove OCR Data | Delete downloaded OCR models to free disk space. |
Ignore Phrases Tab
| Setting | Description |
|---|---|
| Phrases to Ignore | List of text patterns to skip during translation. Useful for removing UI elements, watermarks, or repetitive text. |
| Exact Match | When enabled, ignores entire text if it matches. When disabled, removes the phrase from text. |
Exclude Regions Tab
| Setting | Description |
|---|---|
| Exclude Regions | Define rectangular areas within the translation area that should never be captured or translated. |
Text-to-Speech (TTS) Tab
| Setting | Description |
|---|---|
| Enable TTS | Read translated text aloud using synthesized voice. |
| TTS Service | Select: ElevenLabs (best quality), Google Cloud TTS, or Windows TTS. |
| Voice Selection | Choose voice for TTS output. |
| Exclude Character Names | Skip reading character names in dialogue. |
Hot Keys Tab
| Setting | Description |
|---|---|
| Enable Hot Keys | Master switch for keyboard shortcuts. |
| Function Selection | Choose which action to assign a hotkey to. |
| Combine Keys | Set modifier key (CTRL, SHIFT, ALT) + letter/number. |
Audio Processing Tab
| Setting | Description |
|---|---|
| Auto-Translate Audio | Start Whisper service for speech-to-text translation from game audio. |
| Model Selection | Choose local Whisper model size (larger = better accuracy, slower). |
| Silence Threshold | Audio level below which is considered silence (0.0-1.0). |
| Max Buffer Samples | Maximum audio buffer size for processing. |
Server Controls Tab
| Setting | Description |
|---|---|
| Install/Start/Remove Server | Manage OCR backend servers. |
| Send Data to Server | Allow diagnostic data posting to remote servers (used by some OCR engines). |
Game Profiles Tab
| Setting | Description |
|---|---|
| Create/Load Profiles | Save translation area rectangles and settings as named profiles for different games. |
โจ๏ธ Keyboard Shortcuts
| Shortcut | Action | Description |
|---|---|---|
Alt + Q |
Select Area | Select translation area on screen |
Alt + F |
Toggle Overlay | Show/hide translation overlay |
Alt + G |
Start/Stop | Start or stop translation |
Alt + C |
ChatBox | Open translation history window |
Alt + S |
Settings | Open settings window |
Alt + L |
Log | Open log window |
Alt + A |
Audio Service | Toggle Whisper audio service |
Alt + X |
Clear Areas | Clear all selected translation areas |
Alt + R |
Retry | Retry last failed translation |
Alt + W |
Swap Languages | Swap source and target languages |
๐ Use Cases & Examples
Case 1: Visual Novel Translation
OCR: OneOCR or Windows OCR
Translation: Gemini with context enabled
Display: ChatBox mode
Settings: Enable "Leave Translation Onscreen" for easy reading
Steps:
- Select the dialogue box area using Alt+Q
- Set Max Context to 3-5 pieces for conversation flow
- Enter game info: "Visual novel, Japanese school setting"
- Start translation with Alt+G
Case 2: Action RPG Game HUD Translation
OCR: OneOCR (recommended)
Translation: Google Translate (fast) or Gemini (accurate)
Display: Overlay mode with auto background
Steps:
- Select the HUD area containing item names, quest text, etc.
- Set Block Detection Power lower (3-4) for individual text elements
- Enable "Auto Set Overlay Background Color"
- Use Alt+F to toggle overlay as needed during gameplay
Case 3: Manga/Comic Translation
OCR: OneOCR (has manga support)
Translation: Gemini for best quality
Display: ChatBox mode
Settings: Lower Text Similarity Threshold (0.6) for speech bubbles
Steps:
- Select the speech bubble area
- Disable Character Level OCR for connected text
- Enable "Leave Translation Onscreen"
- Use Multi-Selection Area if manga has multiple text boxes
Case 4: Audio-Only Games (Speech-to-Text)
OCR: Not needed
Translation: Gemini or Ollama (local)
Audio: Whisper with "base" or "small" model
Display: ChatBox mode
Steps:
- Enable "Auto-Translate Audio" in Audio Processing tab
- Select Whisper model (ggml-small for balance, ggml-base for speed)
- Adjust silence threshold to avoid processing background noise
- Translations appear in ChatBox as audio is recognized
Case 5: 100% Offline Translation
OCR: OneOCR or Windows OCR (both work offline)
Translation: Ollama or LM Studio (100% local)
No internet connection required after initial setup
Steps:
๐พ Installation & Usage (Windows)
Prerequisites:
- Download the latest version (zip file) here and extract it.
Setup Options:
๐ต Simple Setup (No Installation)
- Run
rst.exe - Go to Settings โ OCR: Select OneOCR
- Go to Settings โ Language: Choose source and target languages
- On Language tab, If you are using Windows OCR, please click the "Check" button to verify the language pack before starting
- Go to the Translation tab, select the translation service you want to use
- Now you can close the settings window
- Press button Select Window: Choose window which you want to capture
- Press Alt+Q to select area, then Alt+F to turn on Overlay
- Press Alt+G to start/stop
๐ด Advanced Setup (Need Installation)
- Server Setup (Only do once for each OCR method):
- Click the SetupOCR button to start setting up the server based on the OCR method you selected in settings (If you selected Windows OCR, you can skip this step)
- Setup can take 5-15 minutes, depending on your internet speed and computer power
- Wait until the server setup is complete, you will see a message "... environment setup completed"
- Start Translating:
- Click the StartOCR button and wait until you see the message "Successfully connected to .... server" (If you selected Windows OCR, you can skip this step)
- Select translate region (ALT+Q or Click SelectArea button)
- Click Start button (ALT+G) to begin translation
- Translation results are displayed in the chat window (ChatBox button, ALT+C) or in the Overlay (Overlay button, ALT+F)
- LLM Setup:
- Go to settings and add your Gemini API key. There are instructions on how to get the API key there.
- You can enter multiple API keys, press Enter after entering each API key.
- Check the other settings; the default values should be fine. Note that there is a place to enter the name of the game, which is important! The LLM knowing this will help it fix errors and create better dialogue.
๐ How to Update
RSTGameTranslation will automatically check for updates when you start it. If there's a new version, you'll see a notification asking if you want to download it. To update:
- Download the latest version from the notification or from here
- Close RSTGameTranslation if it's running
- Extract the new files to your current installation folder
- Done! Your settings and options will be preserved
โ๏ธ Advanced Settings
Recommended Settings
- For Quick Use: OneOCR or Windows OCR (built-in, no setup) with Google Translate
- For Best Quality: OneOCR with Gemini Flash lite 2.5
- For Privacy: OneOCR with Ollama or LM Studio (100% local)
- For AMD, Intel users: OneOCR is lightweight and CPU-friendly
Performance Tips
- Smaller translation area = faster processing
- Add multiple API keys for failover
- First-time language downloads may take 1-2 minutes
- The app will automatically change API keys if the previous API gets rate-limited
โ Frequently Asked Questions (FAQ)
Q: Why is the translation slow?
Possible causes and solutions:
- Large translation area: Reduce the area size for faster processing
- OCR engine: Try OneOCR or Windows OCR for faster speeds
- API response time: Google Translate is fastest, followed by Gemini
- CPU/GPU load: Close other resource-heavy applications
Q: OCR is not detecting text correctly
Troubleshooting steps:
- Check language selection: Make sure source language matches the game
- Adjust OCR settings: Lower the confidence thresholds
- Try different OCR: Some engines work better with certain text styles
- Clear context: Sometimes old context can interfere
- Check game mode: Ensure game is in windowed or borderless mode
Q: How do I get an API key?
For different services:
- Google Translate: Optional. Works without key (free tier limits apply)
- Gemini: Get free key from Google AI Studio
- ChatGPT: Get key from OpenAI Platform
- Groq: Get key from Groq Console
Q: Can I use this offline?
Yes! Options for offline use:
- Windows OCR / OneOCR: Built-in, works without internet
- Ollama: Download from ollama.com for 100% local AI
- LM Studio: Download from lmstudio.ai for local models
Q: How to translate multiple areas at once?
Multi-selection setup:
- Go to Settings โ OCR Settings
- Enable "Multi-selection area"
- Select your first area with Alt+Q
- Press Alt+Q again to add another area
- Repeat for up to 5 areas
Q: The overlay covers game UI
Solutions:
- Make your translation area more precise
- Use "Exclude Regions" to avoid capturing UI elements
- Toggle overlay with Alt+F when not needed
- Try ChatBox mode instead of overlay
Q: Can I save different settings for different games?
Yes! Use Game Profiles:
- Configure settings for your first game
- Go to Settings โ Game Profiles
- Click "Create Profile" and name it
- Repeat for other games
- Load profiles quickly when switching games
Q: Why does translation quality vary?
Factors affecting quality:
- Context: Enable context for better conversation flow
- Game Info: Enter game description for terminology accuracy
- OCR quality: Clearer text = better translations
- AI model: Gemini and GPT-4 provide best results
Q: How to report bugs or get help?
Support channels:
- GitHub Issues: Report bugs here
- Discord: Join our Discord community
- Check logs: Open Log window (Alt+L) and include relevant entries