RenderWare DAT: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
(No difference)
| |
Revision as of 15:11, 26 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 - 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?
// 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
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
- 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