dshbase

插件目录 / Developer / dsh-galgame-localization-reverse

dsh-galgame-localization-reverse

已验证 · 实测可装 julescules

✓ 持续维护 基于 2 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

3Stars
0Forks
1未关闭 issue
Python语言
2026-08-24最近推送
跨平台平台

功能简介

面向视觉小说汉化的 Galgame Doctor:只读项目/引擎证据审计、严格占位符与控制码翻译 QA,以及可回滚、可验证的汉化工作流 Skill Provider。

我们的评价
可用 — 实测通过,早期项目

面向视觉小说汉化的 Galgame Doctor:只读项目/引擎证据审计、严格占位符与控制码翻译 QA,以及可回滚、可验证的汉化工作流 Skill Provider。 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

Galgame Doctor for DeepSeek Harness

[中文](README.zh.md) | English > [!IMPORTANT] > Unofficial community plugin. Independently developed and maintained; not reviewed or endorsed by DeepSeek. Audit first, localize second. Give DeepSeek Harness a visual-novel folder and get an evidence-backed engine candidate, risky files, encoding clues, strict translation QA, and a safe next step. The audit is offline and read-only; only report paths outside the audited tree are written. ![Synthetic terminal example: read-only engine audit and strict translation QA](docs/demo.svg)

Start in 30 seconds

``powershell dsh plugin --profile web add github:julescules/dsh-galgame-localization-reverse#v0.4.0 ` Restart DSH, then ask: `text Use galgame-localization-reverse to audit D:\Games\Example read-only. Show the engine evidence, localization risks, and the safest next step. ` No API key is required. The plugin contains no game assets, decrypted archives, credentials, or title-specific keys.

What you get

One-command project audit

vn_project_audit.py inventories a bounded set of files and reports: - engine candidates with confidence, signal groups, and concrete path evidence; - script, archive, image, font, and executable candidates; - bounded encoding samples and CJK-path-safe relative paths; - a cautious classification of candidate, weak-candidate, or unknown; - the reference, existing ecosystem tool, and verification step to try next. The classification is routing evidence, not a claim that static inspection proves runtime behavior. `powershell python -X utf8 skill\scripts\vn_project_audit.py scan D:\Games\Example --json D:\project\logs\project-audit.json --markdown D:\project\logs\project-audit.md `

Strict translation preflight

vn_qa.py now rejects missing, added, or reordered control tokens by default. It also reports empty translations, source-identical targets, residual Japanese, and target-encoding failures. Generic JSON/JSONL and GalTransl cache fields are supported without third-party packages. `powershell python -X utf8 skill\scripts\vn_qa.py check-jsonl D:\project\translations.jsonl --encoding gbk --require-complete --report D:\project\logs\translation-qa.json --markdown D:\project\logs\translation-qa.md `` An intentionally broken synthetic fixture produces a concise failure report: `text FAIL 2 blockers · 3 segments E control-token-added scene01:2 added [wait] E empty-translation scene01:3 translation required `

Release evidence, not another translator

The bundled workflow also provides: -
vn_patch.py — hash-bound file replacement, verification, backup, and rollback; - vn_image_qa.py — PNG/APNG, JPEG, GIF, and BMP geometry/alpha/frame comparison; - vn_slot_qa.py — fixed-slot terminator, padding, marker, and outside-region checks; - focused routes for AI6WIN, BGI/Ethornell, Director, RealLive, Delphi/DirectDraw, PSP/Vita, Ren'Py, KiriKiri, and custom engines. GalTransl, VNTextPatch, GARbro, LunaTranslator, and engine-specific tools can handle translation or extraction. Galgame Doctor complements them by deciding what the project appears to be, checking their text output, and preserving release evidence.

Try the synthetic examples

`powershell python -X utf8 skill\scripts\vn_project_audit.py scan examples\synthetic-project\game --json test_outputs\synthetic-audit.json --markdown test_outputs\synthetic-audit.md python -X utf8 skill\scripts\vn_qa.py check-jsonl examples\translations.jsonl --encoding gbk --require-complete --report test_outputs\translation-qa.json --markdown test_outputs\translation-qa.md `` All example text is synthetic and redistributable.

DSH integration

The bundle uses the official packaged Skill Provider shape: -
inject = ['skills']; - ctx.skills.registerProvider(...); - directory resourceBase for on-demand references and scripts; - the official dsh.bundle.patch install path. The registered name remains galgame-localization-reverse, so existing prompts continue to work.

Verify the package

https://github.com/julescules/dsh-galgame-localization-reverse/actions/workflows/ci.yml/badge.svg](https://github.com/julescules/dsh-galgame-localization-reverse/actions/workflows/ci.yml)
`powershell npm run check npm pack --dry-run `` The check runs provider tests plus deterministic self-tests for the project audit and all bundled QA/patch utilities.

Limits

- Engine formats and binary constants remain title/version specific until proven against exact hashes. - Static audit and QA do not replace a zero-mutation round trip or in-game UI, save/load, audio, and rollback tests. - Residual Japanese can be intentional; review each finding or maintain an explicit exclusion instead of silently weakening the gate. - DeepSeek Harness is in developer preview; pin a reviewed plugin release. See [CONTRIBUTING.md](CONTRIBUTING.md) and [SECURITY.md](SECURITY.md) for contribution and reporting guidance.

License

[MIT](LICENSE)

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-galgame-localization-reverse」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:julescules/dsh-galgame-localization-reverse

Headless(CLI)profile:

dsh plugin --profile headless add github:julescules/dsh-galgame-localization-reverse

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 1896 个插件 →