RenderWare DAT: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 57: Line 57:
{| class="wikitable sortable"
{| class="wikitable sortable"
|-  
|-  
!    Chunk type                     !! Extension      !! Description
!    Chunk type                               !! Extension      !! Description
|-
|-
|    rwID_CLUMP                     || .dff          || 3D Models / Atomics / Lights / Cameras
|    rwID_CLUMP                               || .dff          || 3D Models / Atomics / Lights / Cameras
|-
|-
|    rwID_HANIMANIMATION             || .anm          || Animation
|    rwID_HANIMANIMATION                       || .anm          || Animation
|-
|-
|    rwID_TEXTFILE                   || .txt          || Text file
|    rwID_TEXTFILE                             || .txt          || Text file
|-
|-
|    [[RenderWare TXD|rwID_TEXDICTIONARY]]             || .txd          || Texture
|    [[RenderWare TXD|rwID_TEXDICTIONARY]]     || .txd          || Texture
|-
|-
|    NAMCO_LEVEL                     || .level        || Level data
|    NAMCO_LEVEL                               || .level        || Level data
|-
|-
|    rwaID_WAVEDICT                 || .rws          || Audio
|    [[RWS|rwaID_WAVEDICT]]                    || .rws          || Audio
|-
|-



Revision as of 22:06, 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 - 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
   

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.

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