Difference between revisions of "KartCameraParam.bin"

From Custom Mario Kart
Jump to navigation Jump to search
m (Atlas moved page Filesystem/Race/Common.szs/kartCameraParam.bin to KartCameraParam.bin over redirect: kartCameraParam.bin is found into other files as well)
(Describe all remaining fields)
 
Line 29: Line 29:
 
|-
 
|-
 
| 0x6
 
| 0x6
| {{Unknown-left|'''Unknown'''.}}
+
| Parameters for small vehicles in some missions/tournaments. Maybe unused.
 
|-
 
|-
 
| 0x7
 
| 0x7
| {{Unknown-left|'''Unknown'''.}}
+
| Parameters for medium vehicles in some missions/tournaments. Maybe unused.
 
|-
 
|-
 
| 0x8
 
| 0x8
| {{Unknown-left|'''Unknown'''.}}
+
| Parameters for large vehicles in some missions/tournaments. Maybe unused.
 
|}
 
|}
  
Line 47: Line 47:
 
|-
 
|-
 
| 0x0
 
| 0x0
| {{Unknown-left|'''Unknown'''. It seems to be a farther camera.}}
+
| 1/3/4 player(s) 4:3.
 
|-
 
|-
 
| 0x1
 
| 0x1
| Standard camera in game.
+
| 1/3/4 player(s) 16:9.
 
|-
 
|-
 
| 0x2
 
| 0x2
| {{Unknown-left|'''Unknown'''. It seems to be a nearer camera.}}
+
| 2 players 4:3.
 
|-
 
|-
 
| 0x3
 
| 0x3
| {{Unknown-left|'''Unknown'''. It seems to be a nearer camera.}}
+
| 2 players 16:9.
 
|}
 
|}
  

Latest revision as of 08:29, 17 January 2022

kartCameraParam.bin is a sub file of /Race/Common.szs. It contains camera parameters for different modes and vehicle classes. It is also found into the parameter folder from Award.szs, Event.szs, Globe.szs, MenuMulti.szs, MenuOther.szs, MenuSingle.szs and Present.szs from the /Scene/UI folder.

File Format

The file contains 9 entries, and each one is 0x40 bytes long.

kartCameraParam.bin entries
Index Description
0x0 Parameters for small vehicles in race.
0x1 Parameters for medium vehicles in race.
0x2 Parameters for large vehicles in race.
0x3 Parameters for small vehicles in battle.
0x4 Parameters for medium vehicles in battle.
0x5 Parameters for large vehicles in battle.
0x6 Parameters for small vehicles in some missions/tournaments. Maybe unused.
0x7 Parameters for medium vehicles in some missions/tournaments. Maybe unused.
0x8 Parameters for large vehicles in some missions/tournaments. Maybe unused.

Entry

Each entry has four cameras. Each one is 0x10 bytes long.

kartCameraParam.bin camera entries
Index Description
0x0 1/3/4 player(s) 4:3.
0x1 1/3/4 player(s) 16:9.
0x2 2 players 4:3.
0x3 2 players 16:9.

Subsequently, each camera has four values.

kartCameraParam.bin camera data
Offset Type Description
0x0 float Camera lens/field of view.
0x4 float Camera distance.
0x8 float Camera Y position.
0xC float Camera target Y position.

Tools

The following tools can handle kartCameraParam.bin:

  • (none)