Maxis DBPF: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
== DAT, PACKAGE ==  
== DAT, PACKAGE, SC4 ==  


* ''' Format Type ''':    Archive <br>  
* ''' Format Type ''':    Archive <br>  
Line 32: Line 32:
</b></tt>
</b></tt>


=== MultiEx BMS Script ===  
=== quickBMS Script ===  


Not written yet<br><br>
Not written yet.<br><br>


=== Notes and Comments ===  
=== Notes and Comments ===  
Line 51: Line 51:
<br>
<br>


=== Other Games ===  
=== Games ===  


These games also use this file format<br>
These games use this file format:<br>
* SimCity 4 Deluxe (PC) (*.DAT)
* SimCity 4 Deluxe (PC) (*.DAT / *.SC4)
* Spore
* Spore
* The Sims 2 (*.PACKAGE)
* The Sims 2 (*.PACKAGE)
Line 71: Line 71:
[[Category:Format_Archive | Type: Archive]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Extension_dat | Extension: dat]]
[[Category:Extension_dat | Extension: dat]]
[[Category:Extension_sc4 | Extension: sc4]]
[[Category:Extension_package | Extension: package]]
[[Category:Extension_package | Extension: package]]
[[Category:BMS_None | BMS: None]]
[[Category:BMS_None | BMS: None]]
[[Category:Refpack compression]]
[[Category:Refpack compression]]
[[Category:File Format]]
[[Category:File Format]]

Latest revision as of 01:12, 15 May 2022

DAT, PACKAGE, SC4

  • 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


quickBMS Script

Not written yet.

Notes and Comments

  • Archive format used by many games developed by Maxis.
  • Some files use RefPack/QFS compression.



Compatible Programs


Games

These games use this file format:

  • SimCity 4 Deluxe (PC) (*.DAT / *.SC4)
  • Spore
  • The Sims 2 (*.PACKAGE)
  • The Sims Online (*.DAT)

See Also