Add XScript definitions for Rebellion's Asura engine formats: - Archive chunks (fcsr, acsr, rcsr) - Texture chunks (tsxt, xbtx2d_chunk) - Resource chunks and headers Used by games like Sniper Elite V2 on Xbox 360. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
30 lines
887 B
Plaintext
30 lines
887 B
Plaintext
// TTAT - Target Track Attribute Chunk
|
|
// Contains target track attribute data
|
|
// Found in .cut files
|
|
|
|
type ttat_chunk [display="TTAT Target Attribute"] 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 type identifier
|
|
u32 track_type;
|
|
track_type = track_type [ui, readonly, display="Track Type"];
|
|
|
|
// Entry count
|
|
u32 entry_count;
|
|
entry_count = entry_count [ui, readonly, display="Entry Count"];
|
|
|
|
// Attribute flags
|
|
u32 attribute_flags;
|
|
attribute_flags = attribute_flags [ui, readonly, display="Attribute Flags"];
|
|
}
|