feat: translate first four tutorial stages for in-game trial
This commit is contained in:
@@ -153,3 +153,13 @@ so centred labels (the "Start New Game" button) were flushed right. Fixed to
|
||||
- Do the localization ourselves (route B): patch the engine for double-byte text, build our own font
|
||||
atlas, translate only display text (never Ids / event names / unit types) to avoid trigger bugs.
|
||||
- Keep the repository text-only; regenerate binaries from scripts (see `.gitignore`).
|
||||
|
||||
## 2026-09-20 — Tutorial Chinese trial, batch 1
|
||||
|
||||
- Branch: `codex/tutorial-step1`. Translate only introduction, camera rotation, camera centering and zoom: 9 mappings replace 12 of 55 direct display literals. Flight and later stages remain unchanged.
|
||||
- Added `tools/script_text.py`, a byte-span scanner restricted to direct `DisplayMessage` / `SetMissionDescription` string arguments; preserves controls, printf parameters and all non-display bytes. JSON contains decoded strings; translated output uses GB2312.
|
||||
- Added 14 scanner tests and `tools/verify_tutorial_step1.py` for the pinned source, changed-span coverage and full-byte baseline/rollback checks. All 14 scanner + 16 existing font regression tests pass.
|
||||
- Original SHA256: `bd959758223b976ffac35b4ef7d94661f62060c1134316eddb559772d544e02c`. Translated SHA256: `c0e9d1d0fe2e8f3eb656907e5c2e1c44222614b8ecdb6e2ef148ccf897ed40e0`.
|
||||
- Original backup: `E:/DragonHD/backup_game/tutorial-step1-20260920/Tutorial.dsc`; build: `E:/DragonHD/build/tutorial-step1/Tutorial.dsc`. Deployed to the Steam English script directory after checking the game was stopped and the original hash still matched. Re-read deployed file and passed the same byte-span verification.
|
||||
- Git Bash rollback script was executed on a separate translated copy; restored bytes/hash match the original exactly. The deployed tutorial and deliverable remain translated.
|
||||
- In-game acceptance PENDING: start a fresh tutorial, read intro, rotate camera, press numpad 5, zoom with wheel, and check each next-step trigger. Then translate flight in the next small batch. No claim yet about native script loading or rendered layout.
|
||||
|
||||
@@ -160,3 +160,15 @@ def validate_size(original, result):
|
||||
|
||||
报告本项改了什么、实机看到的收益、验证结果、已知未完成点和恢复方式。
|
||||
每项单独提交;没有明确收益的试验及时止步,不因已经生成文件就继续批处理。
|
||||
|
||||
## 2026-09-20 分批执行进度
|
||||
|
||||
按用户“一步一步尝试汉化”将 Task 1 的首次实机批次缩小为开场、旋转镜头、镜头回正、缩放,飞行留待下一批。
|
||||
|
||||
- [x] 固定原始备份与 SHA256,建立独立工作区。
|
||||
- [x] 文本扫描器和 14 项测试;首批 9 条映射、12 处显示文字。
|
||||
- [x] 非显示字节逐段核对;原有 16 项字体回归通过。
|
||||
- [x] 在独立副本执行恢复并核对原始哈希;生成差异和验证记录。
|
||||
- [x] 游戏退出后部署,重读游戏文件并通过校验。
|
||||
- [ ] 用户实机验证首批中文显示和教程事件推进。
|
||||
- [ ] 首批确认后继续飞行及后续教程;Task 1 整体验收仍未完成。
|
||||
|
||||
Reference in New Issue
Block a user