- Migrate from bracket attributes to ui() function calls - Enhance chunk parsing with improved structure definitions - Add additional metadata fields to chunk handlers - Update Xbox 360 texture and archive definitions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
45 lines
815 B
Plaintext
45 lines
815 B
Plaintext
// POSE - Pose/Animation Chunk
|
|
// Contains pose and animation keyframe data
|
|
// Found in .cut files
|
|
|
|
type pose_chunk [display="POSE Animation Pose"] byteorder BE
|
|
{
|
|
// Standard 16-byte Asura chunk header
|
|
chunk_id = ascii(read(4));
|
|
u32 chunk_size;
|
|
u32 version;
|
|
u32 flags;
|
|
|
|
chunk_id = chunk_id;
|
|
|
|
|
|
ui("chunk_id", "Chunk ID");
|
|
chunk_size = chunk_size;
|
|
|
|
ui("chunk_size", "Chunk Size");
|
|
version = version;
|
|
|
|
ui("version", "Version");
|
|
flags = flags;
|
|
|
|
ui("flags", "Flags");
|
|
|
|
// Bone/joint count
|
|
u32 bone_count;
|
|
bone_count = bone_count;
|
|
|
|
ui("bone_count", "Bone Count");
|
|
|
|
// Frame number
|
|
u32 frame;
|
|
frame = frame;
|
|
|
|
ui("frame", "Frame");
|
|
|
|
// Pose flags
|
|
u32 pose_flags;
|
|
pose_flags = pose_flags;
|
|
|
|
ui("pose_flags", "Pose Flags");
|
|
}
|