Header

Members

Functions

indexVersion
Version indexVersion()

Computed, human-readable Index table version.

Static variables

identifier
auto identifier;

Always DBPF.

Variables

dateCreated
uint dateCreated;

Date created. Unix timestamp. Remarks: Unused in DBPF 1.1.

dateModified
uint dateModified;

Date modified. Unix timestamp. Remarks: Unused in DBPF v1.1.

holeEntryCount
uint holeEntryCount;

Number of Hole entries in the Hole Record.

holeOffset
uint holeOffset;

Location of the hole Record.

holeSize
uint holeSize;

Size of the hole Record, in bytes.

indexEntryCount
uint indexEntryCount;

Number of entries in the Index Table.

indexMajorVersion
uint indexMajorVersion;

Major version of the Index table. Remarks: Always 7 in The Sims 2 and SimCity 4. If this is a DBPF v2.0 archive, then it is 0 for Spore.

indexMinorVersion
uint indexMinorVersion;

Minor version of the Index table. Remarks:

In The Sims 2 for DBPF v1.1+.

In DBPF >= v2.0, this is 3, otherwise:

  • 1 = v7.0
  • 2 = v7.1
indexOffset
uint indexOffset;

Offset to Index table, in bytes. Location of first index entry.

indexOffset
uint indexOffset;

Offset to Index table, in bytes. Location of first index entry.

indexSize
uint indexSize;

Size of the Index table, in bytes.

magic
ubyte[4] magic;

Always DBPF.

reserved
ubyte[24] reserved;

Reserved for future use.

unknown1
uint unknown1;

Unused, possibly reserved.

unknown2
uint unknown2;

Unused, possibly reserved.

unknown3
uint unknown3;

Should always be zero in DBPF v2.0.

unknown4
uint unknown4;
version_
Version version_;

See Also

<a href="https://www.wiki.sc4devotion.com/index.php?title=DBPF#Header">DBPF Header</a> (SC4D Encyclopedia)

Meta