RenderWare DAT: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks No edit summary |
imported>Ikskoks |
||
| Line 8: | Line 8: | ||
=== Format Specifications === | === Format Specifications === | ||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width: | <div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:1000px; overflow:auto;"> | ||
<pre> | <pre> | ||
// 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 for tex dictionary | |||
4 bytes (uint32) - chunk type // 0x16 0x07 0x00 0x00 - some container for tex dictionary | |||
4 bytes (uint32) - RW version ID | |||
4 bytes (uint32) - GUID + path length | |||
x bytes (char) - GUID + path string | |||
4 bytes (uint32) - chunk size? | |||
// texture dictionary chunk | |||
4 bytes (uint32) - chunk type // 0x16 0x00 0x00 0x00 - texture dictionary | |||
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 | |||
} | |||
// 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 | |||
</pre> | </pre> | ||
</div> | </div> | ||
Revision as of 18:22, 25 March 2021
Back to index | Edit this page
DAT
- Format Type : Image
- Endian Order : Little Endian
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 for tex dictionary
4 bytes (uint32) - chunk type // 0x16 0x07 0x00 0x00 - some container for tex dictionary
4 bytes (uint32) - RW version ID
4 bytes (uint32) - GUID + path length
x bytes (char) - GUID + path string
4 bytes (uint32) - chunk size?
// texture dictionary chunk
4 bytes (uint32) - chunk type // 0x16 0x00 0x00 0x00 - texture dictionary
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
}
// 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
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
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