r/RetroArch • u/konni_away • 3h ago
Showcase I (we?) made a wrapper core that translates Japanese games inside the frame, before the shaders, so your CRT shader applies to the translation too
Palimpsest is a hobby project of mine. You load a game with the "Palimpsest" core. It runs the game's real core inside, and when you press F12 (R3 on a gamepad) it erases the Japanese text in the picture and writes the translation in its place, in a pixel font sized to the box. It blends into the frame before RetroArch's shaders, so scanlines and glow land on the translated text like on the rest of the game.
There's a tiny pixel-art scroll in a corner that tells you what's going on. A quill means it's writing, and a little seal shows where the translation came from (memory, local model or Claude). If something goes wrong, it says so there too.
A small Python server next to RetroArch reads the screen and asks Claude for the translation. Each new screen is sent with the twelve before it, plus the game's names and your notes, so it doesn't lose track of the conversation. Every screen is kept in a memory per game, so a screen you've already seen shows up instantly, no call needed.
Before you play, it looks up the game's established names (the official-ish localisation where there is one) and sticks to them. Names you haven't met yet stay hidden behind ★★★ on the game's page, since a name can be a spoiler. There's also a local web page where you can see every translated screen with its time and cost, and edit the names and notes for each game.
To be upfront: it's a pre-release. Japanese in only (70-ish languages out). A new screen takes a few seconds depending on how you reach the model. Software-rendered cores only for now: a GPU-rendered core runs but doesn't get translated. Screens that aren't in the memory are sent to Anthropic, and you need an API key or a Claude subscription. It's built with the help of AI tools and uses Claude to translate. RetroArch's own AI Service did overlays first, this one draws inside the image instead.
Demo (1 min 35, four games, six languages at once): https://www.youtube.com/watch?v=KXlJoQmC850
Repo and releases (macOS Apple Silicon, Windows, Linux): https://github.com/konni-arcadia/palimpsest
It also pairs with my other libretro project, CRT Bridge. That's how I play it on a real CRT.
Not affiliated with libretro or anyone. Reports of what breaks are very welcome.