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
464 B
Plaintext
16 lines
464 B
Plaintext
// Xbox 360 texture archive (Sniper Elite, AVP, etc.)
|
|
// Direct Asura archive (not compressed)
|
|
|
|
type xbox360_textures [root, display="Xbox 360 Textures"] byteorder BE
|
|
{
|
|
criteria {
|
|
require _ext == "xbox360_textures";
|
|
// 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"];
|
|
}
|