Commit Graph

7 Commits

Author SHA1 Message Date
896fe7ad39 character_textures: fix None/zero/dict-param classification, unknown_slots count, and atomic I/O 2026-11-25 05:21:38 +01:00
6a42995637 character_textures: handle OSError when writing JSON/CSV reports (#6637)
Squash-merged after diff review of PR #6637
2026-11-23 11:09:39 -06:00
5c56d61e2a character_textures: derive manifest model names consistently across hosts (#6757)
Squash-merged after diff review of PR #6757
2026-11-23 10:46:41 -06:00
235426c7eb Merge pull request #4418 from wxrrry
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:14:34 -05:00
7c3c60dd1e character_textures: fail on an unlistable sub-folder instead of silently skipping its models 2026-11-23 04:20:33 +03:00
37eb4f2808 fix(tools): retain character texture resource IDs in reports
Keep the display name or hash and carry the separate 64-bit asset key through each output so the binding can be joined to a texture pool.

Refs: #3918
2026-11-22 17:34:18 -05:00
f5a7a903ba character_textures.py: classify material slots and flag garments without albedo
The five slot hashes are the verified character-corpus mapping: diffusetex (0xC8E8C282) is the only albedo, speculartex (0xC6F46E79) is specular/gloss, bumptex (0x1E77BF4C) is the tangent-space normal, speculartex2 (0x739E3D0D) is packed ORM, and materialid (0x8ADB8480) is an ID/palette map. Unrecognised hashes print as unknown 0x... and are never matched by texture name.

Garment shaders d5ed50f4, ea8d09d0 and 39ddb9ca declare no 0xC8E8C282 slot, so a garment material without one is flagged garment-no-albedo instead of treating speculartex as colour. --json/--csv reports reuse gamedata_xml.py's same_report_path guard. Tests use synthetic model JSON only.
2026-11-22 17:51:33 +00:00