HIllya51/LunaTranslator

视觉小说翻译器 / Visual Novel Translator

What it solves

LunaTranslator solves the language barrier for players of visual novels, allowing them to extract and translate game text in real-time, even for niche titles or games running on emulators.

How it works

The tool uses several methods to capture text: "HOOK" extracts text directly from the game engine, a "HOOK emulator" reads text from console emulators (NS/PSP/PSV/PS2), and a built-in high-precision OCR model (along with other engines) captures text visually from the screen. Once extracted, the text is processed through various translation APIs, including large language models (LLMs) and offline engines, and can be displayed as an embedded translation within the game.

Who it’s for

It is designed for gamers who play visual novels in languages they do not speak, as well as language learners who want to use games to study (supported by features like Japanese word segmentation and AnkiConnect integration).

Highlights

  • Versatile Text Extraction: Supports direct HOOKing, emulator HOOKing, and OCR.
  • Flexible Translation: Compatible with a wide range of translation engines, including LLMs.
  • Immersive Display: Ability to embed translations directly into the game interface.
  • Learning Tools: Includes Japanese kana annotation, word segmentation, and support for Yomitan and AnkiConnect.
  • Audio Support: Integrates various online and offline text-to-speech (TTS) and speech recognition engines.

Related

  • Project
  • Project
  • Project
  • Project
  • Project