RenderWare DAT: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks (→Games) |
||
| (62 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
== DAT == | == DAT == | ||
* ''' Format Type ''': | * ''' Format Type ''': Archive <br> | ||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | ||
=== 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 14: | Line 14: | ||
// header chunk | // header chunk | ||
4 bytes (uint32) - chunk type // 0x19 0x07 0x00 0x00 - | 4 bytes (uint32) - chunk type // 0x19 0x07 0x00 0x00 - RW DAT archive type? | ||
4 bytes (uint32) - chunk size // 12 | 4 bytes (uint32) - chunk size // 12 | ||
4 bytes (uint32) - RW version ID // 0xFF 0xFF 0x00 0x14 - RW v3.5.0.0 | 4 bytes (uint32) - RW version ID // 0xFF 0xFF 0x00 0x14 - RW v3.5.0.0 | ||
| Line 21: | Line 21: | ||
// start chunk | // start chunk | ||
// Note: This chunk is some kind of data start marker | // 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 type // 0x06 0x07 0x00 0x00 - data start marker | ||
4 bytes (uint32) - chunk size // 0 | 4 bytes (uint32) - chunk size // 0 | ||
4 bytes (uint32) - RW version ID // 0xFF 0xFF 0x00 0x14 - RW v3.5.0.0 | 4 bytes (uint32) - RW version ID // 0xFF 0xFF 0x00 0x14 - RW v3.5.0.0 | ||
| Line 37: | Line 37: | ||
4 bytes (uint32) - chunk size? | 4 bytes (uint32) - chunk size? | ||
x bytes - chunk | x bytes - data chunk // See "Related structures" section | ||
// for more information | // for more information | ||
} | } | ||
| Line 44: | Line 44: | ||
// end chunk | // end chunk | ||
// Note: This chunk is some kind of data end marker | // 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 type // 0x06 0x07 0x00 0x00 - data end marker | ||
4 bytes (uint32) - chunk size // 0 | 4 bytes (uint32) - chunk size // 0 | ||
4 bytes (uint32) - RW version ID // 0xFF 0xFF 0x00 0x14 - RW v3.5.0.0 | 4 bytes (uint32) - RW version ID // 0xFF 0xFF 0x00 0x14 - RW v3.5.0.0 | ||
| 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) - | 4 bytes (uint32) - number of files | ||
4 bytes (uint32) - | num_of_files * | ||
4 bytes (uint32) - | { | ||
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 === | |||
Following data chunks can be found inside container chunks: | |||
{| class="wikitable sortable" | |||
|- | |||
! Chunk type !! Extension !! Description | |||
|- | |||
| rwID_CLUMP || .dff || 3D Models / Atomics / Lights / Cameras | |||
|- | |||
| rwID_HANIMANIMATION || .anm || Animation | |||
|- | |||
| rwID_TEXTFILE || .txt || Text file | |||
|- | |||
| [[RenderWare TXD|rwID_TEXDICTIONARY]] || .txd || Texture | |||
|- | |||
| NAMCO_LEVEL || .level || Level data | |||
|- | |||
| [[RWS|rwaID_WAVEDICT]] || .rws || Audio | |||
|- | |||
|} | |||
=== MultiEx BMS Script === | === MultiEx BMS Script === | ||
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) | ||
* 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 === | ||
* [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/xaylinks/gametools/blob/main/rw-ffff0218.js rw-ffff0218.js (made for PSP Disney Pixar Cars)] | |||
=== See Also === | === See Also === | ||
| Line 133: | Line 151: | ||
[[Category:Complete Almost Done| | [[Category:Complete Almost Done|RenderWare DAT]] | ||
[[Category:Platform PC| | [[Category:Platform PC|RenderWare DAT]] | ||
[[Category:CE None| | [[Category:Platform PS2|RenderWare DAT]] | ||
[[Category: | [[Category:CE None|RenderWare DAT]] | ||
[[Category:CE Compressed|RenderWare DAT]] | |||
[[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 Type : Archive
- Endian Order : Little Endian
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
- RenderWare3Docs
- RenderWare versioning
- List of RW section IDs
- Texture archive
- TXD file format
- RenderWare binary stream file
- List of RenderWare games
- TXD file format for Burnout PSP games
- RWS Audio file format
- RenderWare TXD