Commit Graph

11 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
d239fd8556 tools: accept UTF-8 BOM JSON inputs in ten utilities (#6779)
Squash-merged after diff review of PR #6779 - tools: fix BOM-prefixed JSON inputs in 10 utilities (batch 01)
2026-11-23 09:56:38 -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
179cde16b3 Merge pull request #3937 from Jeremy Goldberg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:09:42 -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
6756b8ab45 character_textures: import the shared report_paths helper
Drop the local _case_insensitive_volume, _path_key and same_report_path copies in favour of tools/report_paths.py, with the scripts-dir sys.path insert that -I needs. The dedupe call now uses path_key; behavior is unchanged. This clears the private-copy failure in tests/test_report_paths.py.
2026-11-22 20:12:09 +00:00
15f5b2fbc0 Fix what the round-41 merges broke
- tests/semantic: BaseVertex/BaseInstance read 0 in the wave interpreter; the LDS MockGens follow
  SHADER-309 (lds_bound, lds_access, lds_atomic); abs emission tests load their operand, since
  SHADER-315 folds scalar ALU on constants.
- test_translate: the dynamic gather sampler is a loaded word, not s16 + 0 (SHADER-315 folds it).
- test_world_build: DDS downscale weights colours by alpha (62804d0d).
- test_fspx_shaders_stage: the fake disassembler writes the listing make_game now checks.
- xgameruntime_test: re-read the package id after clearing the LEONIDA_PACKAGE_ID override.
- docs: one row per topic again in design.md (72 topics) and README.md; one Other languages line;
  embedded_shaders.md keeps one copy of each bullet; animation.md links the heading anchor.
- tools/scripts: character_textures uses report_paths.same_report_path; stdout guard on six programs;
  LF write in vs_input_survey; the cl.exe fallback compiles winhttp_offline.cpp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 14:30:33 -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