RenderWare DAT: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
m (Ikskoks moved page Killswitch DAT to RenderWare DAT)
imported>Ikskoks
 
(27 intermediate revisions by the same user not shown)
Line 6: Line 6:




=== Format Specifications ===  
=== Format Specifications (Kill Switch DAT) ===  


<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:1000px; overflow:auto;">
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:1000px; overflow:auto;">
Line 50: Line 50:
</pre>
</pre>
</div>
</div>
<br>
=== Format Specifications (Gaelic Games Football 2 PS2 DAT) ===
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:1000px; overflow:auto;">
<pre>
// 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
}
</pre>
</div>
<br>


=== Related Structures ===  
=== Related Structures ===  
Line 77: Line 114:


Not written yet.
Not written yet.
=== QuickBMS Script ===
* [https://github.com/bartlomiejduda/Tools/blob/master/NEW%20Tools/Gaelic%20Games%20Football%202/gaelic_games_football_2_DAT_script.bms gaelic_games_football_2_DAT_script.bms]


=== Notes and Comments ===  
=== Notes and Comments ===  


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


=== Games ===  
=== Games ===  
List of games using this file format:
List of games using this file format:
* Killswitch / kill.switch / Kill Switch
* Disney Pixar Cars (PSP)
* Gaelic Games Football 2 (PS2)
* 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 ===  
=== Compatible Programs ===  
Line 91: Line 134:
* [http://www.steve-m.com/downloads/tools/rwanalyze/ RW Analyze]
* [http://www.steve-m.com/downloads/tools/rwanalyze/ RW Analyze]
* [https://github.com/bartlomiejduda/Tools/blob/master/NEW%20Tools/Kill%20Switch/Kill_Switch_DAT_Tool.py Kill_Switch_DAT_Tool.py]
* [https://github.com/bartlomiejduda/Tools/blob/master/NEW%20Tools/Kill%20Switch/Kill_Switch_DAT_Tool.py Kill_Switch_DAT_Tool.py]
* [https://github.com/xaylinks/gametools/blob/main/rw-ffff0218.js rw-ffff0218.js (made for PSP Disney Pixar Cars)]


=== See Also ===  
=== See Also ===  
Line 107: Line 151:




[[Category:Complete Almost Done|Killswitch DAT]]
[[Category:Complete Almost Done|RenderWare DAT]]
[[Category:Platform PC|Killswitch DAT]]
[[Category:Platform PC|RenderWare DAT]]
[[Category:CE None|Killswitch DAT]]
[[Category:Platform PS2|RenderWare DAT]]
[[Category:CE None|RenderWare DAT]]
[[Category:CE Compressed|RenderWare DAT]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Extension_dat | Extension: dat]]
[[Category:Extension_dat | Extension: dat]]
[[Category:BMS_None | BMS: None]]
[[Category:BMS_None | BMS: None]]
[[Category:ZLIB compression]]
[[Category:File Format]]
[[Category:File Format]]

Latest revision as of 19:34, 24 October 2021

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:

  • Disney Pixar Cars (PSP)
  • 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