RenderWare DAT

From XentaxWiki
Jump to: navigation, search

Back to index | Edit this page

DAT


Format Specifications (Kill Switch DAT)

// Kill Switch 
// DAT file format

// header chunk
4 bytes (uint32) - chunk type  // 0x19 0x07 0x00 0x00 - RW DAT archive type?
4 bytes (uint32) - chunk size  // 12
4 bytes (uint32) - RW version ID // 0xFF 0xFF 0x00 0x14 - RW v3.5.0.0
12 bytes (char) - some string  // "StopSystem.X"

// start chunk
// Note: This chunk is some kind of data start marker
4 bytes (uint32) - chunk type  // 0x06 0x07 0x00 0x00 - data start marker
4 bytes (uint32) - chunk size  // 0
4 bytes (uint32) - RW version ID // 0xFF 0xFF 0x00 0x14 - RW v3.5.0.0

// data chunks
num_of_data_chunks *
{

   // container chunk
   4 bytes (uint32) - chunk type  // 0x16 0x07 0x00 0x00 - container for assets
   4 bytes (uint32) - chunk size
   4 bytes (uint32) - RW version ID
   4 bytes (uint32) - GUID + path length
   x bytes (char) - GUID + path string
   4 bytes (uint32) - chunk size?
   
   x bytes - data chunk // See "Related structures" section
                        // for more information
}


// end chunk
// Note: This chunk is some kind of data end marker
4 bytes (uint32) - chunk type  // 0x06 0x07 0x00 0x00 - data end marker
4 bytes (uint32) - chunk size  // 0
4 bytes (uint32) - RW version ID // 0xFF 0xFF 0x00 0x14 - RW v3.5.0.0
   


Format Specifications (Gaelic Games Football 2 PS2 DAT)

// Gaelic Games Football 2 (PS2)
// DAT file format

// header
4 bytes - signature // 0x95 0x97 0x9E 0x91 (RW DAT archive type?)
4 bytes (uint32) - unknown1 // 6
4 bytes (uint32) - unknown2 // 0
4 bytes (uint32) - unknown3 // 1
4 bytes (uint32) - info array offset

// data
num_of_files *
{
   4 bytes (uint32) - compressed file size
   x bytes - file data  // compressed with ZLIB
}

// info array
4 bytes (uint32) - number of files
num_of_files *
{
   4 bytes (uint32) - filename length
   x bytes (char) - filename
   4 bytes (uint32) - file offset
   4 bytes (uint32) - f_unknown1
   4 bytes (uint32) - f_unknown2  // 1
   4 bytes (uint32) - f_unknown3
}


Related Structures

Following data chunks can be found inside container chunks:

Chunk type Extension Description
rwID_CLUMP .dff 3D Models / Atomics / Lights / Cameras
rwID_HANIMANIMATION .anm Animation
rwID_TEXTFILE .txt Text file
rwID_TEXDICTIONARY .txd Texture
NAMCO_LEVEL .level Level data
rwaID_WAVEDICT .rws Audio

MultiEx BMS Script

Not written yet.

QuickBMS Script

Notes and Comments

  • This file format occurs in games made with RenderWare engine.
  • Files inside archive can be compressed with ZLIB compression.

Games

List of games using this file format:

  • Killswitch / kill.switch / Kill Switch [RW v3.5.0.0] (*.DAT)
  • Gaelic Games Football 2 (PS2) [RW 3.7.0.2 Build A] (*.DAT)

Compatible Programs

See Also