diff options
| author | cxchhh <35392417+cxchhh@users.noreply.github.com> | 2026-11-22 06:17:56 +0000 |
|---|---|---|
| committer | cxchhh <35392417+cxchhh@users.noreply.github.com> | 2026-11-22 06:17:56 +0000 |
| commit | 09d3841df8c4fa13b4497c06b997b8746e40a7f8 (patch) | |
| tree | f22159162c1a62f611c91e1f89a06e1db8ff0d70 /runtime/test/queue_proxy_test.cpp | |
| parent | 43d470316ec6cbcd64002bc3792998d9f5745dac (diff) | |
anim_clips: decode the clip dictionaries in anim.rpf to keyframes
tools/anim_clips.py groups the stream walk of anim_index.py into RAGE
resources via the page map at the +0x08 pointer, finds the clip
dictionaries (system-only, 1 or 2 pages) and decodes dictionary -> clips
-> packs -> animations -> sequences -> channels. Channel types 0-5, 7, 8
and the GTA VI type 10 (second-order delta coding) are decoded. Output is
counts and per-dictionary rows only; --decode prints one dictionary's
values to stdout for local use.
docs/animation.md gets a "Keyframe decoding" section with the layouts and
the measured full-archive counts, and the statements it makes stale are
updated: 0x98e1750c is joaat32("bonerotation"), the 2/3 packed streams
are second system pages of 0DRP resources, and keyframes are decoded for
the clip dictionaries. tests/test_anim_clips.py builds synthetic
resources, including a type-10 encoder for a round trip.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/queue_proxy_test.cpp')
0 files changed, 0 insertions, 0 deletions