Maxis DBPF: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 6: Line 6:




=== Format Specifications ===  
=== Format Specifications (version 1) ===  


<tt><b>
<tt><b>
char {4}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">(DBPF)</font> <br>  
char {4}&nbsp;&nbsp;&nbsp;&nbsp; - Signature <font color="purple">(DBPF)</font> <br>  
uint32 {4}&nbsp;&nbsp; - Version <font color="purple">(1)</font> <br>  
uint32 {4}&nbsp;&nbsp; - Version <font color="purple">(1)</font> <br>  
byte {16}&nbsp;&nbsp;&nbsp; - null <br>  
byte {16}&nbsp;&nbsp;&nbsp; - null <br>  

Revision as of 15:40, 14 May 2022

DAT

  • Format Type : Archive
  • Endian Order : Little Endian
  • Signature : DBPF


Format Specifications (version 1)

char {4}     - Signature (DBPF)
uint32 {4}   - Version (1)
byte {16}    - null
uint32 {4}   - Archive ID?
uint32 {4}   - Archive Type
uint32 {4}   - Unknown (7)
uint32 {4}   - Number Of Files
uint32 {4}   - Directory Offset
uint32 {4}   - Directory Size
byte {48}    - null

byte {X}     - File Data

// Directory

// for each file
uint32 {4}   - Type ID
uint32 {4}   - Group ID
uint32 {4}   - Instance ID
uint32 {4}   - Offset
uint32 {4}   - Size


MultiEx BMS Script

Not written yet

Notes and Comments

  • Some files use compression



Compatible Programs


Other Games

These games also use this file format

  • Simcity 4 *.dat
  • The Sims 2 *.package
  • The Sims Online *.dat