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>
16 lines
440 B
Plaintext
16 lines
440 B
Plaintext
// English locale file (Big Endian, Sniper Elite, AVP, etc.)
|
|
// Direct Asura archive
|
|
|
|
type enBE [root, display="English Locale (Big Endian)"] byteorder BE
|
|
{
|
|
criteria {
|
|
require _ext == "enbe";
|
|
// Asura signature: "Asura " (8 bytes)
|
|
require ascii(bytesat(0, 8)) == "Asura ";
|
|
}
|
|
|
|
// Parse as Asura archive
|
|
archive = parse_here("asura_archive");
|
|
archive = archive [ui, display="Asura Archive"];
|
|
}
|