Difference between revisions of "BDOF (File Format)"

From Custom Mario Kart
Jump to navigation Jump to search
Line 4: Line 4:
  
 
{|class=wikitable
 
{|class=wikitable
! Offset !! Size !! Description !! Extra Information
+
! Offset !! Size !! Type !! Description !! Extra Information
 
|-
 
|-
| 0x00 || 0x04 || Magic || PDOF in ASCII
+
| 0x00 || 0x04 || string || Magic || PDOF in ASCII
 
|-
 
|-
| 0x04 || 0x04 || File size || Always  00 00 00 50
+
| 0x04 || 0x04 || UInt32 || File size || Always  00 00 00 50
 
|-
 
|-
| 0x08 || 0x04 || Unknown ||
+
| 0x08 || 0x04 || UInt32  || Unknown ||
 
|-
 
|-
| 0x0C || 0x04 || Unknown ||
+
| 0x0C || 0x04 || UInt32 || Unknown ||
 
|-
 
|-
| 0x10 || 0x02 || Activator? ||
+
| 0x10 || 0x02 || UInt16 || Unknown ||
 
|-
 
|-
| 0x12 || 0x02 || Unknown ||
+
| 0x12 || 0x02 || UInt16 || Unknown ||
 
|-
 
|-
| 0x14 || 0x04 || Unknown ||
+
| 0x14 || 0x04 || UInt32 || Unknown ||
 
|-
 
|-
| 0x18 || 0x04 (float) || Unknown ||
+
| 0x18 || 0x04 || float || Unknown ||
 
|-
 
|-
| 0x1C || 0x04 (float) || Unknown ||
+
| 0x1C || 0x04 || float || Unknown ||
 
|-
 
|-
| 0x20 || 0x04 (float) || Blur scale? || Low value means focus and high means blur
+
| 0x20 || 0x04 || float || Blur scale? || Low value means focus and high means blur
 
|-
 
|-
| 0x24 || 0x04 (float) || Unknown || High value creates curious effects
+
| 0x24 || 0x04 || float || Unknown || High value creates curious effects
 
|-
 
|-
| 0x28 || 0x04 (float?) || Unknown || No visible change?
+
| 0x28 || 0x04 || float? || Unknown || No visible change?
 
|-
 
|-
| 0x2C || 0x04 (float?) || Unknown || No visible change?
+
| 0x2C || 0x04 || float? || Unknown || No visible change?
 
|-
 
|-
| 0x30 || 0x04 (float) || Unknown || No visible change?
+
| 0x30 || 0x04 || float || Unknown || No visible change?
 
|-
 
|-
| 0x34 || 0x04 (float) || Unknown || No visible change?
+
| 0x34 || 0x04 || float || Unknown || No visible change?
 
|-
 
|-
| 0x38 || 0x04 (float) || Unknown || No visible change?
+
| 0x38 || 0x04 || float || Unknown || No visible change?
 
|-
 
|-
| 0x3C || 0x04 (float) || Unknown || No visible change?
+
| 0x3C || 0x04 || float || Unknown || No visible change?
 
|-
 
|-
| 0x40 || 0x0F || Padding? ||
+
| 0x40 || 0x10 || byte[16] || Padding? ||
 
|}
 
|}
  
 
==Tools==
 
==Tools==
 
The following tools can handle BDOF files:<br>
 
The following tools can handle BDOF files:<br>
(none)
+
*(none)
  
 
[[Category:File Format]]
 
[[Category:File Format]]

Revision as of 16:02, 17 March 2016

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 Type Description Extra Information
0x00 0x04 string Magic PDOF in ASCII
0x04 0x04 UInt32 File size Always 00 00 00 50
0x08 0x04 UInt32 Unknown
0x0C 0x04 UInt32 Unknown
0x10 0x02 UInt16 Unknown
0x12 0x02 UInt16 Unknown
0x14 0x04 UInt32 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 0x10 byte[16] Padding?

Tools

The following tools can handle BDOF files:

  • (none)