XPlor/definitions/asura/chunks/uvet_chunk.xscript
njohnson d0510d7ab2 Update Asura archive XScript definitions
- 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>
2026-01-08 00:38:33 -05:00

37 lines
1.1 KiB
Plaintext

// UVET - User Vector Track Chunk
// Contains user-defined vector track data
// Found in .cut files
type uvet_chunk [display="UVET User Vector Track"] 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"];
// Track name (null-terminated)
track_name = cstring();
track_name = track_name [ui, readonly, display="Track Name"];
// Use track name for display (clean removes non-printable chars)
_name = clean(track_name);
// 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"];
// Vector type (position, scale, etc.)
u32 vector_type;
vector_type = vector_type [ui, readonly, display="Vector Type"];
}