- 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>
54 lines
1.1 KiB
Plaintext
54 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("chunk_id", "Chunk ID");
|
|
chunk_size = chunk_size;
|
|
|
|
ui("chunk_size", "Chunk Size");
|
|
version = version;
|
|
|
|
ui("version", "Version");
|
|
flags = flags;
|
|
|
|
ui("flags", "Flags");
|
|
|
|
// Track name (null-terminated)
|
|
track_name = cstring();
|
|
track_name = track_name;
|
|
|
|
ui("track_name", "Track Name");
|
|
|
|
// Use track name for display (clean removes non-printable chars)
|
|
set_name(clean(track_name));
|
|
|
|
// Entry count
|
|
u32 entry_count;
|
|
entry_count = entry_count;
|
|
|
|
ui("entry_count", "Entry Count");
|
|
|
|
// Keyframe count
|
|
u32 keyframe_count;
|
|
keyframe_count = keyframe_count;
|
|
|
|
ui("keyframe_count", "Keyframe Count");
|
|
|
|
// Vector type (position, scale, etc.)
|
|
u32 vector_type;
|
|
vector_type = vector_type;
|
|
|
|
ui("vector_type", "Vector Type");
|
|
}
|