kartPartsDispParam.bin

From Custom Mario Kart
Jump to navigation Jump to search

kartPartsDispParam.bin is a sub file of /Race/Common.szs. It contains visual display parameters for each kart. Its bike counterpart is bikePartsDispParam.bin. Both files are 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 starts with a simple 4-byte header.

Offset Type Description
0x0 Int32 Number of karts. Always 0x12 (18).

Parameter Data

For each kart, there is a 0x150-byte section with many parameters.

kartPartsDispParam.bin section
Offset Type Description
0x0 float Camera target vertical distance.
0x4 float Tires forward rotation speed.
0x8 float Tires backward rotation speed.
0xC float Unknown.
0x10 float Unknown.
0x14 float Unknown.
0x18 float Unknown.
0x1C float Unknown.
0x20 float Unknown.
0x24 float Unknown.
0x28 float Unknown.
0x2C float Unknown.
0x30 float Unknown.
0x34 float Unknown.
0x38 float Unknown.
0x3C float[3] Rear tires XYZ scale.
0x48 float[3] Front control arms XYZ position.
0x54 float[3] Front control arms XYZ rotation.
0x60 float[3] Rear control arms XYZ position.
0x6C float Rear control arms X rotation.
0x70 float Unknown.
0x74 float Unknown.
0x78 float Unknown.
0x7C float Unknown.
0x80 float Unknown.
0x84 float Unknown.
0x88 float Unknown.
0x8C float Unknown.
0x90 float Unknown.
0x94 float Unknown.
0x98 float Unknown.
0x9C float Unknown.
0xA0 float Unknown.
0xA4 float Unknown.
0xA8 float[3] Front suspensions XYZ top position.
0xB4 float[2] Front suspensions XY bottom position (inverse).
0xBC float[3] Rear suspensions XYZ top position.
0xC8 float[2] Rear suspensions XY bottom position (inverse).
0xD0 float Unknown.
0xD4 float Unknown.
0xD8 float Unknown.
0xDC float Unknown.
0xE0 float Unknown.
0xE4 float Unknown.
0xE8 float Unknown.
0xEC float Unknown.
0xF0 float Unknown.
0xF4 float Unknown.
0xF8 Int32 Number of exhaust pipes in exhaust particle set 1 (0 = 2 exhaust pipes, 1 = left exhaust pipe, 2 = right exhaust pipe, >2 or <0 = no exhaust pipes).
0xFC float[3] Exhaust particle set 1 XYZ position.
0x108 float[2] Exhaust particle set 1 XY rotation.
0x110 Int32 Number of exhaust pipes in exhaust particle set 2 (0 = 2 exhaust pipes, 1 = left exhaust pipe, 2 = right exhaust pipe, >2 or <0 = no exhaust pipes).
0x114 float[3] Exhaust particle set 2 XYZ position.
0x120 float[2] Exhaust particle set 2 XY rotation.
0x128 float[3] ice XYZ size.
0x134 float[3] ice XYZ position.
0x140 float[2] Balloons YZ position.
0x148 float Unknown.
0x14C float Unknown.

Tools

The following tools can handle kartPartsDispParam.bin:

  • (none)