Skip to content

🚀 RPGMLocalizer v1.0.1

Latest

Choose a tag to compare

@Lord0fTurk Lord0fTurk released this 30 Sep 16:05

Hey everyone!

Version 1.0.1 is officially here! This release brings major stability enhancements, introduces local support for Tencent's Hy-MT2 translation model, adds an automated Translation Quality Inspector, resolves deep Windows-specific crash bugs, and delivers smoother telemetry.

A huge shoutout to @peresew3734 for their incredible work and contributions in PR #3!

Here is everything you need to know about what's new:


🤖 Local Hy-MT2 Engine Support (Tencent Hunyuan-MT2)

You can now run Tencent’s specialized open-source translation model locally via any OpenAI-compatible backend (LM Studio, Ollama, llama.cpp):

  • Tailored Prompting & Sampling: Dedicated subsystem featuring official sampling presets for both MoE (30b-a3b) and dense models, with automatic parameter fallbacks.
  • Custom Translation Styles: Inject user-defined translation directives (e.g. fantasy RPG dialogue, casual speech) directly into prompt instructions.
  • 40+ Languages Supported: Full mapping for all official Hy-MT2 language pairs without requiring complex system role configurations.
  • Pre-Flight Health Checks & Discovery: Asynchronously enumerates models from your local endpoint and validates model availability before starting any batch.
  • Isolated Cache Namespaces: Cache entries incorporate model names, server URLs, and style directives so your translation memory never gets contaminated across different models.

🛡️ Translation Quality Guard & Review Dashboard

No more mystery errors or corrupted dialogue codes slipping through:

  • Structural Anomaly Detection: An automated inspector scans translations for dropped or altered escape codes (\C[n], \V[n]), damaged format placeholders (${...}, %s), and mismatched line breaks (\n).
  • Smart Single-Line Retries: If a merged batch produces a syntax anomaly, the engine automatically breaks the block down and retries those lines individually.
  • quality_review.json & HomeTab Card: Any persistent discrepancies that cannot be resolved safely are isolated into a review ledger in the cache directory instead of writing bad data into game files. You can review issues, open the JSON report, or hit "Retry issues" right from the Home tab.

⚡ Windows Crash Prevention: Tree-Sitter Process Isolation

  • Zero Native C-Stack Overflows: Replaced recursive AST tree traversals with non-recursive TreeCursor walks (cursor.walk()), preventing call-stack exhaustion on complex, deeply nested JavaScript plugins.
  • Dedicated AST Helper Process: On Windows, JavaScript AST extraction is now isolated into a standalone helper worker (js_ast_worker.py). Even if an exotic third-party script triggers a low-level native access violation, the main application remains 100% safe and responsive.
  • Memory & Concurrency Caps: Serialized large JS file parsing (≥4MB) to prevent sudden RAM spikes.

📊 Real-Time Telemetry & Ergonomics

  • Live Speed & Accurate ETA: Real-time throughput calculations (texts/s) paired with a countdown clock showing estimated hours, minutes, and seconds remaining.
  • Granular Extraction Progress: Live file-by-file feedback (Parsing files... X/Total) so you always know what the engine is working on.
  • Shimmer Progress Bar: Added a sleek indeterminate light animation during pipeline initialization and validation phases.
  • On-Demand Project Loading in Editor: The Translation Editor tab now uses an explicit "Load Project" button instead of automatically scanning massive games on tab switch, completely eliminating UI lag on 100,000+ line projects.
  • Smarter Launcher (baslat.bat): Automatically detects and prioritizes local .venv environments when available.

🧪 Compatibility Reality Check

⚠️ A Reality Check on Compatibility:
Automated tests are strictly theoretical validations run in sterile environments. Major architectural rewrites and new features (especially the new WOLF RPG support and Translation Editor) should always be considered somewhat experimental in real-world conditions—we never claim any build is 100% bug-free. Diverse system setups and non-standard game scripts will always surface edge cases synthetic tests cannot predict.

If you run into a translation glitch or unexpected behavior, please report it via GitHub Issues or right here in the F95zone thread with your log output so we can look into it!


Detailed technical commits and test suites are documented in the CHANGELOG.md.