Chinese main menu: font atlas + GB2312 tables + Strings translation
- build_cjk.py: 2048x1024 UI atlas (original ASCII at 0,0 + full GB2312 at 12px) and cjk_glyph/cjk_metric tables. - cn_strings.py + make_cn_strings.py: escape-aware GB2312 rewrite of Strings.dat (46 entries). - install_cjk.py: one-shot deploy/restore (exe patch, atlas loose+res, strings). - apply_cjk.py: fix metrics cave code byte order (was (second<<8)|first) so CJK width measures correctly and centred labels are no longer flushed right. - docs: DEVLOG + patch notes for the atlas and the fix.
This commit is contained in:
@@ -26,6 +26,10 @@ Working data (not tracked): `original/`, `png/`, `report/`, `patch/`, `crack/`.
|
||||
| `tools/fontparse.py` | parse `Fonts.dat` into font blocks and glyph rects |
|
||||
| `tools/add_section.py` | add an executable section to the game PE |
|
||||
| `tools/apply_cjk.py` | apply the double-byte font-rendering patch |
|
||||
| `tools/build_cjk.py` | build the 2048x1024 UI font atlas + `cjk_glyph`/`cjk_metric` tables |
|
||||
| `tools/cn_strings.py` | simplified-Chinese translation table (`Id` -> text) |
|
||||
| `tools/make_cn_strings.py` | patch the `English` column of `Strings.dat` to GB2312 |
|
||||
| `tools/install_cjk.py` | deploy/restore the whole patch into the game folder |
|
||||
| `tools/xrefs.py` | find call/jmp xrefs in the game executable |
|
||||
|
||||
See `docs/` for the reverse-engineered formats and addresses.
|
||||
|
||||
Reference in New Issue
Block a user