diff options
| author | cxchhh <cxchhh@users.noreply.github.com> | 2026-11-22 09:08:55 +0000 |
|---|---|---|
| committer | cxchhh <cxchhh@users.noreply.github.com> | 2026-11-22 09:08:55 +0000 |
| commit | 17f39ac44fd167b2e3fb4f94ed3f5954f270ade4 (patch) | |
| tree | 8b215339dc373789daf02496d09c14273a00de20 /runtime/src/pe_loader.cpp | |
| parent | 0d61c357656d92334eef97facec1ae4f7b2b60b1 (diff) | |
anim_clips: read .motion child times and one-axis parameter nodes
.motion +0x70 holds one 0x28-byte item per child: the child's duration, its
duration in the blend and a (child time, blend time) curve. On anim.rpf the
first float is bit-for-bit the named .clip's duration for all 111,948 children
that name a .clip there; 158,991 of 159,584 curves are the identity and 402 are
monotonic time warps.
The parameter node is at +0x138 (+0x58 = 1) or at +0x18 of the block +0x120
points at (+0x58 = 2). Type 3 (10,171 of 17,247) is one sampled axis: a name
hash, (sample index, value) items sorted by value, min and max. 10 of the 88
axis name hashes resolve to joaat32 names such as yawangle and speed.
Also documents that the unlisted-last-page recovery needs the page map in a
listed stream (whattheflop's review on #1174): no anim.rpf root and no
story000 clip dictionary has its page map in such a tail. A synthetic test
keeps that layout unresolved.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions