BDOF (File Format)

From Custom Mario Kart
Revision as of 21:03, 7 February 2016 by Jefe (talk | contribs)
Jump to navigation Jump to search

The Binary DOF file controls effects like focus, sharpness and blur in tracks. It is always seen in the "./posteffect" folder inside an SZS.

File Format

Offset Size Description Extra Information
0x00 0x04 Magic PDOF in ASCII
0x04 0x04 File size Always 00 00 00 50
0x08 0x04 Unknown
0x0C 0x04 Unknown
0x10 0x02 Activator?
0x12 0x02 Unknown
0x14 0x04 Unknown
0x18 0x04 (float) Unknown
0x1C 0x04 (float) Unknown
0x20 0x04 (float) Blur scale? Low value means focus and high means blur
0x24 0x04 (float) Unknown High value creates curious effects
0x28 0x04 (float?) Unknown No visible change?
0x2C 0x04 (float?) Unknown No visible change?
0x30 0x04 (float) Unknown No visible change?
0x34 0x04 (float) Unknown No visible change?
0x38 0x04 (float) Unknown No visible change?
0x3C 0x04 (float) Unknown No visible change?
0x40 0x0F Padding?

Tools

The following tools can handle BDOF files:
(none)