全自動補位翻譯核心 (Auto Translation Core))

If you liked this item, please rate it up on Steam Workshop page.

Author: MR.月

Last revision: 17 May at 19:32 UTC

File size: 1.14 MB

On Steam Workshop

Description:
🌍 Auto Translation Core V1.0 Official Release

Tired of half-translated mods or hidden codes?
This mod uses AI tech to achieve "fully automatic, seamless localization" into your native language!


🚀 V1.0 Release: Dynamic UI Interception & Light-Speed Optimization Matrix!

  • ✨ Dynamic UI Hardcoded Interception [color=#FF0000]【⚠️ API Cost Warning】[/color]
    Translates embedded text, dynamic prompts, and Phinix multiplayer chat that static XML couldn’t reach!
    ⚠️ WARNING: Captures all foreign text on screen, which may consume a massive amount of API tokens. If using paid APIs (OpenAI/DeepSeek), please adjust via the "Unique UI Translation Toggle".
  • 📊 Translation Word Count Dashboard
    Tracks "Current Scan Word Count" and "Historical Total Translated Words" in the settings panel. Monitor your API usage at a glance.
  • ⌨️ Manual Model Input & Dropdown Support
    Model field supports manual text input. Advanced players using proxies or local LLMs can freely specify any model name.
  • 🛡️ Ultimate Anti-Explosion Filter
    Stricter low-level tag blacklist (BlacklistedFields) implemented. Protects system variables like texPath and soundDef, preventing save corruption.
  • ⚡ Error Separation Tech & Light-Speed Channel Cache
    Instantly separates "error subjects" from "code gibberish" and only translates subjects. Processed errors reside in memory, maintaining a steady 60 FPS even during massive log spams.
  • 👁️ Zero-Width Character "Invisibility Cloak" Tech
    Fixes the infinite loop bug where tooltips were mistaken as untranslated text when "Show Original" was on. Achieves zero-delay hover displays.
  • 🔥 Infinite API Magazine & High-Speed 30 Threads
    Configure multiple API keys simultaneously with Round-Robin load balancing. Free adjustment up to 30 concurrent threads.


⚙️ Core Operation Principle

Scan mods > Extract missing text > AI precise translation > Automatically generate local mod pack (!Translation_AI_Pack).
✅ No file alteration ✅ No in-game FPS impact ✅ Supports free mutual translation.


🛠️ Quick Start Guide (Must Read!)
  • Go to "Mod Settings", select [Target Language] and [AI Provider] (Google Gemini 3.1-flash-lite recommended for free quota and speed).
  • Fill in [API Key] (Leave Custom URL completely empty if using official APIs).
  • Click [🔍 Fetch Model List] or manually type in the model name.
  • Click [🚀 Start Auto Translation] or [🎯 Translate Single Mod].
  • 🎉 Post-Translation Steps (Required):
    👉 Case A (First use): Enable "! AutoTranslation AI Pack" in mod list, drag to bottom, and restart game.
    👉 Case B (Enabled): Go to Language options, click your current language again (no restart required).


🚨 Ultimate Q&A

Q1: API credits suddenly burned out after enabling "Dynamic UI Interception"?
A: [color=#FF0000专]WARNING![/color] Captures all text on screen (logs/chats included). Enable with extreme caution on paid APIs. Google Gemini API with free tier is highly recommended.

Q2: Game lags severely when opening the Developer Log (Dev Log)?
A: Real-time translation load. Smoothness returns once cache builds (seconds to a minute). If unneeded, turn off "Dynamic UI Hardcoded Interception".

Q3: Game stutters slightly every now and then?
A: Temporary memory from text processing triggering Unity GC. Disappears once strings are stored in light-speed cache.

Q4: Translation is slow or stuck at XX%?
A: AI server congestion (especially free APIs at peak hours). Normal behavior unless red fatal errors occur. Please wait or switch to a stable model.

Q5: Translation finished, but game is still in original language?
A: Game engine caching. For first-time use, restart game. Otherwise, switch languages once (re-click current language) to refresh.

Q6: Fetching models fails with HTTP 401 / 403 errors?
A: Incorrect API key, accidental spaces, or exhausted free quota.

Q7: HTTP 404 error occurs?
A: Ensure "Custom Base URL" is completely blank when using official APIs (only proxies/local models need it).

Q8: How to fix UI clipping or red errors caused by old version (V4.6)?
A: V1.0 auto-cleanup deletes corrupted old files. After updating, click "Start Full Scan" again to regenerate.

Q9: Can I upload the auto-generated translation pack to Steam?
A: Strictly prohibited. For personal local use only. Uploading unauthorized machine translations causes copyright issues with original authors.


🌐 Source Code

Click here to visit the GitHub Repository[github.com]

Download
Required items:

Click the title to search on this site.


HarmonySteam Workshop