- Enhanced chunk parsing - Improved structure definitions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
33 lines
1006 B
Plaintext
33 lines
1006 B
Plaintext
// TATC - Target Camera Track Chunk
|
|
// Contains camera target tracking data
|
|
// Found in .cut files
|
|
|
|
type tatc_chunk [display="TATC Target Camera"] 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, readonly, display="Chunk ID"];
|
|
chunk_size = chunk_size [ui, readonly, display="Chunk Size"];
|
|
version = version [ui, readonly, display="Version"];
|
|
flags = flags [ui, readonly, display="Flags"];
|
|
|
|
// Target name (null-terminated)
|
|
target_name = cstring();
|
|
target_name = target_name [ui, readonly, display="Target Name"];
|
|
|
|
// Use target name for display (clean removes non-printable chars)
|
|
_name = clean(target_name);
|
|
|
|
// Track entry count
|
|
u32 entry_count;
|
|
entry_count = entry_count [ui, readonly, display="Entry Count"];
|
|
|
|
// Keyframe count
|
|
u32 keyframe_count;
|
|
keyframe_count = keyframe_count [ui, readonly, display="Keyframe Count"];
|
|
}
|