LunaTranslator  by HIllya51

Galgame translator for visual novels

created 2 years ago
7,688 stars

Top 6.9% on sourcepulse

GitHubView on GitHub
Project Summary

LunaTranslator is a versatile visual novel translator designed for gamers and enthusiasts seeking to overcome language barriers in Japanese galgames and other visual novels. It offers multiple text extraction methods, extensive translation engine support, and additional features like OCR, clipboard integration, and TTS, aiming to provide a comprehensive and customizable translation experience.

How It Works

The translator employs several methods for text acquisition, including HOOKing into game processes for direct text capture, supporting embedded translations for specific game engines, and extracting text from emulators. For games where HOOKing is not feasible, it offers OCR capabilities, supporting both online and offline models. Translation is facilitated through a wide array of online and offline engines, including large language models, and supports custom Python extensions for new interfaces.

Quick Start & Requirements

  • Installation: Download the latest release from the releases page.
  • Prerequisites: Windows OS. Specific dependencies are bundled or managed by the installer.
  • Resources: Requires sufficient disk space for bundled OCR models and TTS voices.

Highlighted Details

  • Supports HOOK, OCR (online/offline), and clipboard text acquisition.
  • Integrates numerous online and offline translation engines, including LLMs.
  • Features offline TTS, Japanese tokenization (Mecab), and dictionary lookups.
  • Allows integration with Yomitan browser plugins and Anki for vocabulary learning.

Maintenance & Community

The project is actively maintained by HIllya51. Community interaction and support are available via Bilibili videos and GitHub Issues.

Licensing & Compatibility

LunaTranslator is licensed under GPLv3. It incorporates numerous third-party libraries, each with its own license (e.g., OpenCV, ONNX Runtime, PaddleOCR). Compatibility for commercial use or linking with closed-source applications may be affected by the GPLv3 license and the licenses of its dependencies.

Limitations & Caveats

The software is primarily designed for Windows. While it supports many games, compatibility with specific engines or anti-cheat mechanisms may vary, requiring user feedback for improvements. The GPLv3 license necessitates that any modifications or derivative works distributed must also be open-sourced under the same license.

Health Check
Last commit

19 hours ago

Responsiveness

1 day

Pull Requests (30d)
3
Issues (30d)
50
Star History
1,248 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.