Skip to content
toyakyoPublic

Latest commit

ย 

History

32 Commits

Folders and files

Repository files navigation

๐ŸŽฎ LangForge

AI-Powered Game Screenshot Translation Tool for Windows (Linux / macOS experimental)

Capture your game screen ยท AI translates the text ยท Result overlays directly on the image
Play any foreign-language game. Read everything. No interruptions.

Version Platform Open Source Ko-fi Patreon

๐Ÿ“ฅ Download โ€ข ๐Ÿ“– Documentation โ€ข ๐Ÿ’ฌ Community โ€ข โ˜• Ko-fi โ€ข ๐Ÿ’œ Patreon


๐ŸŒŸ What is LangForge?

LangForge is an open-source AI-assisted game translation tool for Windows (with experimental Linux and macOS builds). It automatically detects your game window, captures the screen, and translates on-screen foreign text using your choice of AI engine โ€” overlaying the result directly on the screenshot, positioned where the original text was.

Designed for players who want to enjoy Japanese, Korean, or any foreign-language game without switching windows or pausing to look things up.

โš ๏ธ LangForge is under active development. Features and UI may change between versions.


๐Ÿ”ฅ Two Translation Modes

๐Ÿฆ™ OLLAMA Local Engine โ€” Full Offline AI

Runs entirely on your own machine. No internet after setup, no API costs, no data leaves your device.
Requires installing OLLAMA and a vision-capable model (e.g. llava). A dedicated GPU is recommended.
โ†’ Best for: privacy-focused users with decent hardware.

โ˜๏ธ Cloud Engines โ€” Best Translation Quality

Supports 10 mainstream AI engines including Gemini, Groq, Mistral (free tiers available) and OpenAI, Claude, Grok, HuggingFace, Together AI, Cerebras, NVIDIA NIM.
LangForge automatically rotates engines when a free quota runs out โ€” keeping translation running uninterrupted.
โ†’ Best for: users who want the highest translation accuracy.


โœจ Features

Feature Description
๐Ÿ–ผ๏ธ Overlay Translation Translated text positioned directly on the game screenshot
๐ŸŒ Multi-Language Output Japanese, English, Korean, French, German, Spanish, Italian, Portuguese, Russian, and more
๐Ÿ“ Horizontal / Vertical Layout Supports both Western (Lโ†’R) and Japanese-style (topโ†’bottom, Rโ†’L) text direction
๐Ÿ”ค Auto Font Matching Overlay font auto-selected based on target language (JP, KR, RU, etc.)
๐Ÿ“‹ AI Walkthrough Analysis 3โ€“5 actionable hints based on the current game screen
โšก Auto-Capture Detects scene stability and triggers translation automatically
โŒจ๏ธ Global Hotkeys Trigger translation or walkthrough without leaving your game
๐ŸŽฌ Session Recording Records your play session with playback and live delay mode
๐Ÿ—‚๏ธ Translation History SQLite-backed records with screenshot, organized by game and platform
๐Ÿ” Encrypted API Keys Keys encrypted with your machine ID (XOR + base64) before saving locally
๐Ÿ–ฑ๏ธ Click-to-Select Window Click directly on your game window to set it as target
๐Ÿ“Ÿ Simple Mode (Tab 7) Streamlined local-engine interface โ€” pick your OLLAMA model and translate instantly
๐ŸŒ— Dark / Light Theme Toggle UI theme from the View menu
๐ŸŒ Bilingual UI Supports ็น้ซ”ไธญๆ–‡ and English, toggle anytime from the menu
๐Ÿ”„ Auto Engine Rotation Automatically switches to the next available engine when free quota runs out
๐Ÿ“Š Quota Dashboard Real-time view of today's usage per model, with RPM and RPD tracking
๐Ÿ› ๏ธ Platform Editor Add, rename, or remove game platforms and emulators directly in the UI
๐Ÿ”€ One-Click Mode Switch Toggle between Advanced and Simple Mode instantly from the menu bar

๐Ÿš€ Getting Started

Option A โ€” Cloud Engine (Best Quality, Free)

  1. Get a free Gemini API Key from aistudio.google.com (Google account required, no credit card)
  2. Run LangForge, select โ˜ Cloud Engine โ†’ Gemini
  3. Paste your key and start translating

For maximum free quota, also set up Groq, Mistral, Together AI and Cerebras โ€” LangForge rotates them automatically.

Option B โ€” Fully Offline (OLLAMA)

  1. Install OLLAMA
  2. Run ollama pull llava to download a vision model
  3. Start with ollama serve
  4. In LangForge, select ๐Ÿฆ™ Local Engine (OLLAMA)

New in V1.5.19: The in-app Install OLLAMA and Download Default Model buttons now show what will be installed/downloaded and ask for confirmation first, show the real ollama pull progress, verify the model with OLLAMA when finished, and report errors (network, disk space, OLLAMA not running) clearly. OLLAMA and the models are third-party software/content with their own terms; model files are downloaded by OLLAMA, not by LangForge.

New in V1.5: Use Simple Mode (Tab 7) for a streamlined OLLAMA experience โ€” no API key, minimal setup.

Option C โ€” Linux / macOS (Experimental)

  1. Download the Linux (Ubuntu 22.04+, X11) or macOS (Apple Silicon) archive from the download page
  2. Extract it: tar -xzf LangForge_<version>_<linux|macos>.tar.gz
  3. Linux: sudo apt install fonts-noto-cjk, then chmod +x LangForge && ./LangForge
  4. macOS: xattr -cr LangForge && chmod +x LangForge && ./LangForge, and allow Screen Recording for your terminal in System Settings

Experimental builds capture the whole primary screen (no window-title capture and no global hotkeys). Cloud engines and OLLAMA work as on Windows. See the tutorial for details.

Option D โ€” Running from Source

git clone https://github.com/toyakyo/LangForge.git
cd LangForge
pip install -r requirements.txt
python main.py

๐Ÿ“‹ Supported AI Engines

Engine Recommended Model Free Daily Quota Notes
Gemini gemini-3-flash 500 RPD New-gen Flash, recommended
Gemini gemini-2.5-flash 20 RPD Stable, strong vision
Groq qwen/qwen3.6-27b 1,000 RPD Multimodal, fast
Mistral mistral-small-latest 500 RPD Vision support
HuggingFace Llama-3.2-11B-Vision Free tier Open-source vision models
Together AI Llama-Vision-Free Unlimited (free) Permanently free vision model
Cerebras gemma-4-31b ~2,100 RPD 1,800+ tok/s, ultra fast
NVIDIA NIM llama-3.2-11b-vision Free credits Enterprise-grade inference
OpenAI gpt-4.1-mini / gpt-4.1 / gpt-4o Paid Most stable quality
Claude Haiku / Sonnet / Opus Paid Strong semantic understanding
Grok grok-2-vision-1212 / grok-4 Paid xAI flagship multimodal
๐Ÿฆ™ OLLAMA Any vision model Unlimited (local) Fully offline, no API key

โš ๏ธ Free quota numbers are subject to change. Check each provider's official announcements for the latest limits.


๐Ÿ” Security & Transparency

LangForge is verified using Microsoft Process Monitor (Sysinternals).

The application makes only the API calls required for translation โ€” to the AI engine you have selected. No data is sent to any developer-controlled server.

  • โœ… API Keys stored locally in langforge/config/configs.json, encrypted with your machine ID
  • โœ… No upload of screenshots or personal data
  • โœ… No connection to developer servers
  • โœ… No remote license verification
  • โœ… SHA256 checksum published for every release
  • โœ… Full source code available for inspection

File Integrity Verification

Release File SHA256
V1.5.19 (Windows) LangForge.exe B1C6328C739173626E27FB3BC620E7DBE8741FB2B46750A03189D8AE09F43798
V1.5.18 (Windows) LangForge.exe 0EEF1F73CF69909E17DE876AAA235D5A3CFB6CA5091482FECA10278E7DABDB0D
V1.5.1 LangForge.exe EFE1E645BF88CB359B0D48BD4E29DDDABF157FABCC433D3AF5C359B123B6B793
V1.5 LangForge.exe AC62B71FADE75FD6E06DFA228E9E2E1759ACD65252E14A9A80BD52BB96FEA083
V1.1.1 LangForge.exe 1E9DF0E89E91E9D799E56049E7F5FBA5D08C36E6706F4140F38E38413697FE80
# Verify in PowerShell
Get-FileHash .\LangForge.exe -Algorithm SHA256

If the hash does not match, do not run the file. Re-download from the official page. SHA256 values for the Linux / macOS archives are listed on the download page.


๐Ÿ“œ Third-Party Licenses

LangForge is proprietary software and bundles third-party open-source components (MIT, BSD, Apache-2.0, PSF, MPL-2.0 and others). Their copyright notices and license texts are in THIRD-PARTY-LICENSES.md and are also available in the app: Help โ†’ About โ†’ Third-Party Licenses.


๐Ÿ› ๏ธ Requirements

Item Requirement
OS Windows 10 / 11 (64-bit recommended). Linux (Ubuntu, X11) and macOS (Apple Silicon) builds are experimental: full-screen capture only, no window-title capture or global hotkeys
Network Required for cloud engines; OLLAMA works offline
API Key Required for cloud engines; not required for OLLAMA
Storage 1GB+ recommended (translation history and session recordings accumulate locally)
GPU (OLLAMA) NVIDIA GPU with 4GB+ VRAM recommended for local inference
OLLAMA Optional โ€” install from ollama.com for local engine

๐Ÿ“ Project Structure

LangForge_Community/
โ”œโ”€โ”€ main.py                       # Entry point
โ”œโ”€โ”€ requirements.txt              # Python dependencies
โ”œโ”€โ”€ favicon.ico                   # App icon
โ””โ”€โ”€ langforge/
    โ”œโ”€โ”€ core/langforge.py         # Main application
    โ”œโ”€โ”€ asset/data/               # platforms.json, emulators.json
    โ”œโ”€โ”€ asset/icons/              # App icons
    โ”œโ”€โ”€ config/configs.json       # User config (auto-generated, API keys encrypted)
    โ””โ”€โ”€ translation_logs/         # SQLite DB + screenshots (auto-generated)

๐Ÿ—บ๏ธ Roadmap

  • Cloud engine support (Gemini, Groq, Mistral, OpenAI, Claude, Grok)
  • HuggingFace / Together AI / Cerebras / NVIDIA NIM engines
  • OLLAMA local engine
  • Local OCR + Google Translate mode (removed in V1.5.14)
  • Simple Mode (Tab 7) โ€” streamlined local-engine interface
  • Session recording & playback with live delay mode
  • AI walkthrough analysis
  • Auto-capture with scene stability detection
  • Encrypted API key storage
  • Bilingual UI (็นไธญ / English)
  • Dark / Light theme toggle
  • Platform editor
  • One-click Advanced / Simple Mode switch
  • Multi-language UI (beyond zh/en)
  • macOS / Linux support (planned)

๐Ÿ’œ Support the Project

LangForge is built by a solo developer in spare time. If it's helped you enjoy a game you couldn't read before โ€” your support means a lot.

Platform Link Type
โ˜• Ko-fi ko-fi.com/toyakyo One-time or monthly
๐Ÿ’œ Patreon patreon.com/cw/LangForge $1โ€“3 / month
๐Ÿ’ฌ FB Community LangForge Official Community Free to join

๐Ÿ“ฌ Links

๐ŸŒ Official Docs https://goonsoft.tw2.nde.tw/tutorial/tutorial.php
๐Ÿ“ฅ Download https://goonsoft.tw2.nde.tw/tutorial/tutorial.php#download
๐Ÿ’ฌ FB Community https://www.facebook.com/groups/2150940378645437
โ˜• Ko-fi https://ko-fi.com/toyakyo
๐Ÿ’œ Patreon https://www.patreon.com/cw/LangForge

โš ๏ธ Disclaimer

LangForge is provided as-is during active development and may not be fully stable. Use at your own risk.
API usage costs (if any) are the responsibility of the user based on their chosen AI engine provider.
Translation results are AI-generated and may not always be accurate.


Copyright ยฉ 2026 GoOnSoft. All rights reserved.
Built with โค๏ธ by Toya Kyo โ€” Solo Developer from Taiwan ๐Ÿ‡น๐Ÿ‡ผ