RenderWare DAT: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 29: Line 29:
{
{


   // container for tex dictionary
   // container chunk
   4 bytes (uint32) - chunk type  // 0x16 0x07 0x00 0x00 - container for assets
   4 bytes (uint32) - chunk type  // 0x16 0x07 0x00 0x00 - container for assets
   4 bytes (uint32) - chunk size
   4 bytes (uint32) - chunk size
Line 37: Line 37:
   4 bytes (uint32) - chunk size?
   4 bytes (uint32) - chunk size?
    
    
   // texture dictionary chunk
   x bytes - chunk data // See "Related structures" section
  4 bytes (uint32) - chunk type  // 0x16 0x00 0x00 0x00 - texture dictionary
                        // for more information
  4 bytes (uint32) - chunk size
  4 bytes (uint32) - RW version ID
 
  // struct chunk
  4 bytes (uint32) - chunk type  // 0x01 0x00 0x00 0x00 - struct chunk
  4 bytes (uint32) - chunk size  // 4
  4 bytes (uint32) - RW version ID
  4 bytes (uint32) - unknown // 2
 
  // raster chunk
  4 bytes (uint32) - chunk type  // 0x15 0x00 0x00 0x00 - raster chunk
  4 bytes (uint32) - chunk size 
  4 bytes (uint32) - RW version ID
 
  // struct chunk
  4 bytes (uint32) - chunk type  // 0x01 0x00 0x00 0x00 - struct chunk
  4 bytes (uint32) - chunk size
  4 bytes (uint32) - RW version ID
  4 bytes (uint32) - unknown  // 5
  4 bytes (uint32) - unknown  // 4353
  65 bytes (char) - texture name + padding // e.g. "barl01_top" or "mask"
 
  // texture header (22 bytes)
  4 bytes (uint32) - unknown
  3 bytes - nulls
  2 bytes (uint16) - texture width
  2 bytes (uint16) - texture height
  1 byte (uint8) - texture depth (bits per pixel)  // e.g. 32
  10 bytes - unknown
 
 
  x bytes - texture data
}
}


Line 82: Line 50:
</pre>
</pre>
</div>
</div>


=== Replated Structures ===  
=== Replated Structures ===  

Revision as of 15:12, 26 March 2021

Back to index | Edit this page

DAT


Format Specifications

// Kill Switch 
// DAT file format

// header chunk
4 bytes (uint32) - chunk type  // 0x19 0x07 0x00 0x00 - unknown 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 - chunk data // 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
   

Replated Structures

// Texture dictionary structure

MultiEx BMS Script

Not written yet.

Notes and Comments

  • This file format occurs in games made with RenderWare engine.

Games

List of games using this file format:

  • Killswitch / kill.switch / Kill Switch

Compatible Programs

See Also