Maxis DBPF: Difference between revisions

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


These games also use this file format<br>
These games also use this file format<br>
* Simcity 4 *.dat
* SimCity 4 Deluxe (PC) (*.DAT)
* The Sims 2 *.package
* The Sims 2 (*.PACKAGE)
* The Sims Online *.dat
* The Sims Online (*.DAT)
 
<br><br>
<br><br>



Revision as of 15:46, 14 May 2022

DAT, PACKAGE

  • 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 Deluxe (PC) (*.DAT)
  • The Sims 2 (*.PACKAGE)
  • The Sims Online (*.DAT)