User Tools

Site Tools


.OBD file

The OBD file holds changes to the objectives. The main objectives are read from the parent campaing file, and in this subfile the changes to the base record are recorded.

It also holds the current damage state of the features.

.OBD File Format

Raw (compressed contents)

FieldData TypeWidth (in bytes)Description
CompressedSize Signed 32-bit integer4Size, in bytes, of the compressed data to follow (includes space for the NumObjectiveDeltas and UncompressedSize fields)
NumObjectiveDeltas Signed 16-bit integer2Number of objective delta records in the data that follows
UncompressedSizeSigned 32-bit integer4Size, in bytes, of the data that follows, when it's uncompressed
DATAbyte[](CompressedSize-6) bytesLZSS-compressed binary data.

Uncompressed contents of the DATA field

FieldData TypeWidth (in bytes)DescriptionVersions
objectiveDeltaRecords[]ObjectiveDeltaRecord[NumObjectiveDeltas] All

Structures Used

ObjectiveDeltaRecord structure

FieldData TypeWidth (in bytes)DescriptionVersions
idVU_ID8 All
last_repairunsigned 32-bit integer4 All
ownerbyte1 All
supplybyte1 All
fuelbyte1 All
lossesbyte1 All
numFstatusbyte1 All
fStatus[]byte[numFstatus](numFstatus) bytes > = 64
fStatus[]byte[1]1 < 64

VU_ID structure

FieldData TypeWidth (in bytes)Description
num_unsigned 32-bit integer4
creator_unsigned 32-bit integer4
falcon4/file_formats/cam_trn_tac/obd_file.txt · Last modified: 2009-02-15 19:49 by lightning