
I built a desktop app that translates your entire Ren'Py project using AI — with rolling context, QA editor, and Lint integration
Hey r/RenPy!
I've been working on a tool called VN Shift — a desktop app for translating .rpy scripts using AI. After dealing with the usual pain of machine translation (broken tags, inconsistent character voices, amnesia halfway through the script), I decided to build something that actually handles the full pipeline properly.
**What it does:**
- Parses .rpy files with a state-aware parser — translate blocks, old/new pairs, GUI _() calls, multiline strings, all handled correctly
- Sends batches to your AI of choice: OpenAI, Gemini, Claude, Grok, DeepSeek, OpenRouter, ChatGPT subscription, or local Ollama
- Rolling Context — generates story summaries between batches so the AI doesn't lose track of characters and plot
- Semantic Translation Memory — cosine similarity >95% reuses past translations, saves tokens and keeps consistency
- Vision AI — attach character screenshots so the AI picks up gender and tone correctly
- Self-Correction pass — automatically fixes broken {i}/{b} tags and [variable] placeholders after translation
- QA Editor — side-by-side table, inline editing, real-time tag warnings, virtual scroll handles 50k+ lines
- Ren'Py Lint integration — runs headless lint and maps errors directly to lines in the editor
- Auto-save — pause and resume large jobs anytime
- AI Proofreading Mode — if you already have a rough translation, it improves it without retranslating from scratch
Full walkthrough on YouTube if you want to see it in action:
https://www.youtube.com/watch?v=eQM60hbvZ_Y