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.
<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.
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>