Commit Graph

9 Commits

Author SHA1 Message Date
0aa6730360 anim_rigs: read --rigs JSON with utf-8-sig (#6350)
Squash-merged after review of PR #6350 - anim_rigs: read --rigs JSON with utf-8-sig
2026-11-23 08:14:46 -06:00
b23779d6a9 tests: pass errors=replace to subprocess pipes capturing python -I tools 2026-11-23 00:42:37 +02:00
f902f18c7a TEST-629: report invalid rig join input cleanly 2026-11-22 20:28:29 +01:00
550d88383c Merge pull request #2240 from Vonsek 2026-11-22 11:43:15 -05:00
ae48161024 Merge pull request #2043 from liang-kai-shui 2026-11-22 11:41:09 -05:00
43afd00f71 fix(tools): retain keys across same-named rig dictionaries
The rig-set join used only the last dictionary with a name. Collect unique keys from every dictionary with that name so resolution is independent of scan order.
2026-11-22 17:27:14 +01:00
d1b338bf8b anim_rigs: refuse an output path that overwrites an input
<out> was opened after the scan, so passing the archive or the --rigs
JSON as <out> replaced that input with the report (a synthetic 1472-byte
RPF archive became a 741-byte JSON array, exit 0). Guard the three
aliases before the scan, create a missing parent folder, and report
write failures as one ERROR line with exit 2.
2026-11-22 23:42:01 +08:00
55c50d63eb fix(anim_rigs): raise DecodeError on truncated RIG block header instead of IndexError 2026-11-22 12:28:48 -03:00
4763e0f7fc anim_rigs: read the four RIG dictionaries in anim.rpf and resolve the RBF0 rig entries (ASSET-20)
The rig dictionaries share the clip dictionary root; each map value points at +0x20 to a RIG block of
{kind, size, count, word} tables. Their names are the RBF0 sources, and all 6,677 rig-set entries resolve
to a key there. docs/animation.md gets the layout, the counts and the clip-to-skeleton measurement.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 14:59:03 +01:00