Difference between revisions of "DriverParam.bin"

From Custom Mario Kart
Jump to navigation Jump to search
 
(13 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:driverParam.bin}}
 
{{DISPLAYTITLE:driverParam.bin}}
<noinclude>'''driverParam.bin''' is a sub file of '''[[Filesystem/Race/Common.szs|/Race/Common.szs]]'''. It contains a list of '''driver statistics'''. It is also found into the '''parameter''' folder from '''[[Filesystem/Scene/UI/Award.szs|Award.szs]]''', '''[[Filesystem/Scene/UI/Event.szs|Event.szs]]''', '''[[Filesystem/Scene/UI/Globe.szs|Globe.szs]]''', '''[[Filesystem/Scene/UI/MenuMulti.szs|MenuMulti.szs]]''', '''[[Filesystem/Scene/UI/MenuOther.szs|MenuOther.szs]]''', '''[[Filesystem/Scene/UI/MenuSingle.szs|MenuSingle.szs]]''' and '''[[Filesystem/Scene/UI/Present.szs|Present.szs]]''' from the '''[[Filesystem/Scene/UI|/Scene/UI]]''' folder.
+
<noinclude>'''driverParam.bin''' is a sub file of '''[[Filesystem/Race/Common.szs|/Race/Common.szs]]'''. It contains a list of '''driver statistics'''. 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 '''[[Filesystem/Scene/UI|/Scene/UI]]''' folder.
  
 
== File Format ==
 
== File Format ==
Line 12: Line 12:
 
|-
 
|-
 
| 0x04 || '''N'''*4*99
 
| 0x04 || '''N'''*4*99
| '''N''' section offsets. Each section is composed of 99 floats representing driver statistics. Only 22 floats contain data.
+
| '''N''' section offsets. Each section is composed of 99 floats representing driver statistics. Only 22 floats contain data*.
 
|-
 
|-
 
| colspan=2 {{unknown|0x29C8}} || {{unknown|End of file with '''<nowiki>N=27</nowiki>''' drivers}}
 
| colspan=2 {{unknown|0x29C8}} || {{unknown|End of file with '''<nowiki>N=27</nowiki>''' drivers}}
 
|}
 
|}
 +
 +
<nowiki>*</nowiki> The format is the same as the sections of kartParam.bin, however the tire number, drift type, weight class, unknown field at 0xC, bump deviation level, tilt strength, held item parameters, maximum normal acceleration, Mega Mushroom scale and front & rear tire distance are ignored by the game's code.
  
 
== Driver Statistics ==
 
== Driver Statistics ==
 
</noinclude>* '''Weight:''' How heavy a vehicle is.
 
</noinclude>* '''Weight:''' How heavy a vehicle is.
* '''''in Turn:''''' How high a stat is in a turn (not drifting).
+
* '''in Turn:''' How high a stat is in a turn (not drifting).
 
* '''Speed:''' How high the top speed of the vehicle is.
 
* '''Speed:''' How high the top speed of the vehicle is.
 
* '''Acceleration:''' How quickly the vehicle's top speed is achieved from a non-moving position.
 
* '''Acceleration:''' How quickly the vehicle's top speed is achieved from a non-moving position.
 
* '''Drift:''' How tight the vehicle turns while using the drifting maneuver.
 
* '''Drift:''' How tight the vehicle turns while using the drifting maneuver.
 
* '''Handling:''' How tight the vehicles can normally turn (not drifting).
 
* '''Handling:''' How tight the vehicles can normally turn (not drifting).
* '''Traction:''' How strong frictional forces are between the vehicle's tires and the road such as rolling resistance.
 
 
* '''Mini-Turbo:''' When using the manual drift option, how long a mini-boost will last.
 
* '''Mini-Turbo:''' When using the manual drift option, how long a mini-boost will last.
 
* '''Off-Road Speed:''' How much speed the vehicle retains when off of the track. Each value corresponds to a [[KCL flag]].
 
* '''Off-Road Speed:''' How much speed the vehicle retains when off of the track. Each value corresponds to a [[KCL flag]].
* '''Off-Road Handling:''' How much handling the vehicle retains when off of the track. Each value corresponds to a [[KCL flag]].
+
* '''Off-Road Rotation:''' How easily a vehicle can rotate when off of the track. Each value corresponds to a [[KCL flag]].
 
{|border="1" cellspacing=0 cellpadding=1 style="background:#f5f5f5;border-collapse:collapse" class="grid sortable center"
 
{|border="1" cellspacing=0 cellpadding=1 style="background:#f5f5f5;border-collapse:collapse" class="grid sortable center"
 
!colspan="22" bgcolor="#9c9c9c"|'''<big>Driver Statistics</big>'''
 
!colspan="22" bgcolor="#9c9c9c"|'''<big>Driver Statistics</big>'''
 
|-
 
|-
!width="3%" bgcolor="#dedede" rowspan="2" colspan="2"|<small>Weight Class</small>
+
!width="3%" bgcolor="#dedede" rowspan="3" colspan="2"|<small>Weight Class</small>
!width="3%" bgcolor="#dedede" rowspan="2"|<small>Weight</small>
+
!width="3%" bgcolor="#dedede" rowspan="3"|<small>Weight</small>
!width="6%" bgcolor="#dedede" colspan="2"|<small>Speed</small>
+
!width="6%" bgcolor="#dedede" rowspan="2" colspan="2"|<small>Speed</small>
!width="6%" bgcolor="#dedede" colspan="2"|<small>Acceleration</small>
+
!width="12%" bgcolor="#dedede" colspan="4"|<small>Acceleration</small>
!width="6%" bgcolor="#dedede" colspan="2"|<small>Drift</small>
+
!width="6%" bgcolor="#dedede" rowspan="2" colspan="2"|<small>Handling</small>
!width="6%" bgcolor="#dedede" colspan="2"|<small>Handling</small>
+
!width="6%" bgcolor="#dedede" rowspan="2" colspan="2"|<small>Drift</small>
!width="6%" bgcolor="#dedede" colspan="2"|<small>Traction</small>
+
!width="3%" bgcolor="#dedede" rowspan="3"|<small>Mini-Turbo</small>
!width="3%" bgcolor="#dedede" rowspan="2"|<small>Mini-Turbo</small>
+
!width="12%" bgcolor="#dedede" rowspan="2" colspan="4"|<small>Off-Road Speed</small>
!width="12%" bgcolor="#dedede" colspan="4"|<small>Off-Road Speed</small>
+
!width="12%" bgcolor="#dedede" rowspan="2" colspan="4"|<small>Off-Road Rotation</small>
!width="12%" bgcolor="#dedede" colspan="4"|<small>Off-Road Handling</small>
+
|-
 +
!width="6%" bgcolor="#dedede" colspan="2"|<small>Not drifting</small>
 +
!width="6%" bgcolor="#dedede" colspan="2"|<small>Drifting</small>
 
|-
 
|-
!width="3%" bgcolor="#dedede"|
+
!width="3%" bgcolor="#dedede"|<small>Normal</small>
!width="3%" bgcolor="#dedede"|<small>in Turn</small>
 
!width="3%" bgcolor="#dedede"|
 
!width="3%" bgcolor="#dedede"|<small>in Turn</small>
 
!width="3%" bgcolor="#dedede"|
 
!width="3%" bgcolor="#dedede"|<small>in Turn</small>
 
!width="3%" bgcolor="#dedede"|
 
!width="3%" bgcolor="#dedede"|<small>in Turn</small>
 
!width="3%" bgcolor="#dedede"|
 
 
!width="3%" bgcolor="#dedede"|<small>in Turn</small>
 
!width="3%" bgcolor="#dedede"|<small>in Turn</small>
 +
!width="3%" bgcolor="#dedede"|<small>A0</small>
 +
!width="3%" bgcolor="#dedede"|<small>A1</small>
 +
!width="3%" bgcolor="#dedede"|<small>A0</small>
 +
!width="3%" bgcolor="#dedede"|<small>A1</small>
 +
!width="3%" bgcolor="#dedede"|<small>Manual</small>
 +
!width="3%" bgcolor="#dedede"|<small>Auto</small>
 +
!width="3%" bgcolor="#dedede"|<small>Manual</small>
 +
!width="3%" bgcolor="#dedede"|<small>Auto</small>
 
!width="3%" bgcolor="#dedede"|<small>[[KCL flag#Weak Off-road (0x02)|0x02]]</small>
 
!width="3%" bgcolor="#dedede"|<small>[[KCL flag#Weak Off-road (0x02)|0x02]]</small>
 
!width="3%" bgcolor="#dedede"|<small>[[KCL flag#Off-road (0x03)|0x03]]</small>
 
!width="3%" bgcolor="#dedede"|<small>[[KCL flag#Off-road (0x03)|0x03]]</small>
Line 188: Line 191:
 
|bgcolor=#CCFFFF| 0.0368
 
|bgcolor=#CCFFFF| 0.0368
 
|bgcolor=#CCFFFF| 0.0226
 
|bgcolor=#CCFFFF| 0.0226
|bgcolor=#CCFFFF| 0.01283
+
|bgcolor=#CCFFFF| 0.01283<ref name="UIValue1">0.01368 in the UI version.</ref>
 
|bgcolor=#CCFFFF| 0.00526
 
|bgcolor=#CCFFFF| 0.00526
 
|bgcolor=#CCFFFF| 0.00736
 
|bgcolor=#CCFFFF| 0.00736
 
|bgcolor=#CCFFFF| 0.00526
 
|bgcolor=#CCFFFF| 0.00526
|bgcolor=#CCFFFF| 0.00526
+
|bgcolor=#CCFFFF| 0.00422
 
|-
 
|-
 
!bgcolor=#CCFFFF|[[File:tt_noko_64x64.tpl.png|32x32px|Koopa Troopa]]
 
!bgcolor=#CCFFFF|[[File:tt_noko_64x64.tpl.png|32x32px|Koopa Troopa]]
Line 300: Line 303:
 
|bgcolor="honeydew"| 0
 
|bgcolor="honeydew"| 0
 
|bgcolor="honeydew"| 0
 
|bgcolor="honeydew"| 0
|bgcolor="honeydew"| 0
+
|bgcolor="honeydew"| 0.00263
|bgcolor="honeydew"| 0
+
|bgcolor="honeydew"| 0.00368
|bgcolor="honeydew"| 0
+
|bgcolor="honeydew"| 0.00263
|bgcolor="honeydew"| 0
+
|bgcolor="honeydew"| 0.00211
 
|-
 
|-
 
!bgcolor="honeydew"|[[File:tt_peach_64x64.tpl.png|32x32px|Peach]]
 
!bgcolor="honeydew"|[[File:tt_peach_64x64.tpl.png|32x32px|Peach]]
Line 365: Line 368:
 
|bgcolor="honeydew"| 0.0368
 
|bgcolor="honeydew"| 0.0368
 
|bgcolor="honeydew"| 0.0226
 
|bgcolor="honeydew"| 0.0226
|bgcolor="honeydew"| 0.01283
+
|bgcolor="honeydew"| 0.01283<ref name="UIValue1">0.01368 in the UI version.</ref>
 
|bgcolor="honeydew"| 0
 
|bgcolor="honeydew"| 0
 
|bgcolor="honeydew"| 0
 
|bgcolor="honeydew"| 0
Line 387: Line 390:
 
|bgcolor="honeydew"| 0.0184
 
|bgcolor="honeydew"| 0.0184
 
|bgcolor="honeydew"| 0.0113
 
|bgcolor="honeydew"| 0.0113
|bgcolor="honeydew"| 0.00641
+
|bgcolor="honeydew"| 0.00641<ref name="UIValue2">0.00684 in the UI version.</ref>
 
|bgcolor="honeydew"| 0
 
|bgcolor="honeydew"| 0
 
|bgcolor="honeydew"| 0
 
|bgcolor="honeydew"| 0
Line 431: Line 434:
 
|bgcolor="honeydew"| 0.0184
 
|bgcolor="honeydew"| 0.0184
 
|bgcolor="honeydew"| 0.0113
 
|bgcolor="honeydew"| 0.0113
|bgcolor="honeydew"| 0.00641
+
|bgcolor="honeydew"| 0.00641<ref name="UIValue2">0.00684 in the UI version.</ref>
 
|bgcolor="honeydew"| 0.00263
 
|bgcolor="honeydew"| 0.00263
 
|bgcolor="honeydew"| 0.00368
 
|bgcolor="honeydew"| 0.00368
Line 476: Line 479:
 
|bgcolor="MistyRose"| 0.0184
 
|bgcolor="MistyRose"| 0.0184
 
|bgcolor="MistyRose"| 0.0113
 
|bgcolor="MistyRose"| 0.0113
|bgcolor="MistyRose"| 0.00641
+
|bgcolor="MistyRose"| 0.00641<ref name="UIValue2">0.00684 in the UI version.</ref>
 
|bgcolor="MistyRose"| 0
 
|bgcolor="MistyRose"| 0
 
|bgcolor="MistyRose"| 0
 
|bgcolor="MistyRose"| 0
Line 498: Line 501:
 
|bgcolor="MistyRose"| 0.0184
 
|bgcolor="MistyRose"| 0.0184
 
|bgcolor="MistyRose"| 0.0113
 
|bgcolor="MistyRose"| 0.0113
|bgcolor="MistyRose"| 0.00641
+
|bgcolor="MistyRose"| 0.00641<ref name="UIValue2">0.00684 in the UI version.</ref>
 
|bgcolor="MistyRose"| 0.00263
 
|bgcolor="MistyRose"| 0.00263
 
|bgcolor="MistyRose"| 0.00368
 
|bgcolor="MistyRose"| 0.00368
Line 564: Line 567:
 
|bgcolor="MistyRose"| 0.0184
 
|bgcolor="MistyRose"| 0.0184
 
|bgcolor="MistyRose"| 0.0113
 
|bgcolor="MistyRose"| 0.0113
|bgcolor="MistyRose"| 0.00641
+
|bgcolor="MistyRose"| 0.00641<ref name="UIValue2">0.00684 in the UI version.</ref>
 
|bgcolor="MistyRose"| 0
 
|bgcolor="MistyRose"| 0
 
|bgcolor="MistyRose"| 0
 
|bgcolor="MistyRose"| 0
Line 608: Line 611:
 
|bgcolor="MistyRose"| 0.0184
 
|bgcolor="MistyRose"| 0.0184
 
|bgcolor="MistyRose"| 0.0113
 
|bgcolor="MistyRose"| 0.0113
|bgcolor="MistyRose"| 0.00641
+
|bgcolor="MistyRose"| 0.00641<ref name="UIValue2">0.00684 in the UI version.</ref>
 
|bgcolor="MistyRose"| 0.00526
 
|bgcolor="MistyRose"| 0.00526
 
|bgcolor="MistyRose"| 0.00736
 
|bgcolor="MistyRose"| 0.00736
Line 630: Line 633:
 
|bgcolor="MistyRose"| 0.0368
 
|bgcolor="MistyRose"| 0.0368
 
|bgcolor="MistyRose"| 0.0226
 
|bgcolor="MistyRose"| 0.0226
|bgcolor="MistyRose"| 0.01283
+
|bgcolor="MistyRose"| 0.01283<ref name="UIValue1">0.01368 in the UI version.</ref>
 
|bgcolor="MistyRose"| 0
 
|bgcolor="MistyRose"| 0
 
|bgcolor="MistyRose"| 0
 
|bgcolor="MistyRose"| 0
Line 652: Line 655:
 
|bgcolor="MistyRose"| 0.0184
 
|bgcolor="MistyRose"| 0.0184
 
|bgcolor="MistyRose"| 0.0113
 
|bgcolor="MistyRose"| 0.0113
|bgcolor="MistyRose"| 0.00641
+
|bgcolor="MistyRose"| 0.00641<ref name="UIValue2">0.00684 in the UI version.</ref>
 
|bgcolor="MistyRose"| 0.00263
 
|bgcolor="MistyRose"| 0.00263
 
|bgcolor="MistyRose"| 0.00368
 
|bgcolor="MistyRose"| 0.00368
Line 659: Line 662:
 
|}
 
|}
 
<noinclude>
 
<noinclude>
 +
=== Notes ===
 +
<references/>
 +
 
== Tools ==
 
== Tools ==
</noinclude>
 
<includeonly>
 
=== Tools ===
 
</includeonly>
 
 
The following tools can handle driverParam.bin:
 
The following tools can handle driverParam.bin:
* [[driverParam.bin Tool]], by [[Atlas]]<noinclude>
+
* [[driverParam.bin Tool]], by [[Atlas]]
  
 
[[Category:Filesystem]]
 
[[Category:Filesystem]]
 
[[Category:File Format/MKW|D]]</noinclude>
 
[[Category:File Format/MKW|D]]</noinclude>

Latest revision as of 17:42, 16 May 2022

driverParam.bin is a sub file of /Race/Common.szs. It contains a list of driver statistics. 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

Format of a driverParam.bin file
Offset Size Description
0x00 4 N = Number of drivers.
0x04 N*4*99 N section offsets. Each section is composed of 99 floats representing driver statistics. Only 22 floats contain data*.
0x29C8 End of file with N=27 drivers

* The format is the same as the sections of kartParam.bin, however the tire number, drift type, weight class, unknown field at 0xC, bump deviation level, tilt strength, held item parameters, maximum normal acceleration, Mega Mushroom scale and front & rear tire distance are ignored by the game's code.

Driver Statistics

  • Weight: How heavy a vehicle is.
  • in Turn: How high a stat is in a turn (not drifting).
  • Speed: How high the top speed of the vehicle is.
  • Acceleration: How quickly the vehicle's top speed is achieved from a non-moving position.
  • Drift: How tight the vehicle turns while using the drifting maneuver.
  • Handling: How tight the vehicles can normally turn (not drifting).
  • Mini-Turbo: When using the manual drift option, how long a mini-boost will last.
  • Off-Road Speed: How much speed the vehicle retains when off of the track. Each value corresponds to a KCL flag.
  • Off-Road Rotation: How easily a vehicle can rotate when off of the track. Each value corresponds to a KCL flag.
Driver Statistics
Weight Class Weight Speed Acceleration Handling Drift Mini-Turbo Off-Road Speed Off-Road Rotation
Not drifting Drifting
Normal in Turn A0 A1 A0 A1 Manual Auto Manual Auto 0x02 0x03 0x04 0x05 0x01 0x02 0x03
0x04
0x05
Light Baby Mario 0.756 0 0.000474 0 0 0 0 0.00111 0.00058 0.000529 0.000444 0 0 0 0 0 0 0 0 0
Baby Luigi 0.756 1.06 0.000474 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Baby Peach 0.504 0.53 0.000474 0.025 0.035 0 0 0.000555 0.00029 0 0 0 0 0 0 0 0 0 0 0
Baby Daisy 0.504 1.06 0 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 0
Toad 0 0 0.000947 0.05 0.07 0.18 0.02 0 0 0 0 0 0 0 0 0 0 0 0 0
Toadette 0 0.53 0 0 0 0 0 0 0 0 0 0 0.0342 0.0368 0.0226 0.01283[1] 0.00526 0.00736 0.00526 0.00422
Koopa Troopa 0 0 0.000474 0 0 0 0 0.000555 0.00029 0.000265 0.000222 8 0 0 0 0 0 0 0 0
Dry Bones 0 0 0.000474 0.025 0.035 0.09 0.01 0 0 0 0 8 0 0 0 0 0 0 0 0
Mii Outfit AMii Outfit B 0 0.53 0.000947 0 0 0 0 0.000555 0.00029 0 0 4 0 0 0 0 0 0 0 0
Medium Mario 0.504 0 0 0.025 0.035 0.09 0.01 0.000555 0.00029 0.000265 0.000222 0 0 0 0 0 0 0 0 0
Luigi 0.504 0.53 0.000474 0 0 0 0 0 0 0 0 0 0 0 0 0 0.00263 0.00368 0.00263 0.00211
Peach 0 0.53 0 0.05 0.07 0.18 0.02 0 0 0 0 0 0 0 0 0 0 0 0 0
Daisy 0 1.06 0 0 0 0 0 0.000555 0.00029 0.000265 0.000222 4 0 0 0 0 0 0 0 0
Yoshi 0.252 0 0 0 0 0.09 0.01 0 0 0.000265 0.000222 0 0.0342 0.0368 0.0226 0.01283[1] 0 0 0 0
Birdo 0.252 0 0.000474 0 0 0 0 0 0 0 0 8 0.0171 0.0184 0.0113 0.00641[2] 0 0 0 0
Diddy Kong 0 0 0.000474 0.025 0.035 0.09 0.01 0 0 0 0 8 0 0 0 0 0 0 0 0
Bowser Jr. 0 0 0.000947 0 0 0 0 0 0 0 0 4 0.0171 0.0184 0.0113 0.00641[2] 0.00263 0.00368 0.00263 0.00211
Mii Outfit AMii Outfit B 0.252 0.53 0 0 0 0.09 0.01 0 0 0.000265 0.000222 4 0 0 0 0 0 0 0 0
Heavy Wario 0.252 0 0 0 0 0 0 0 0 0.000265 0.000222 8 0.0171 0.0184 0.0113 0.00641[2] 0 0 0 0
Waluigi 0 0 0 0.05 0.07 0.18 0.02 0 0 0 0 0 0.0171 0.0184 0.0113 0.00641[2] 0.00263 0.00368 0.00263 0.00211
Donkey Kong 0.252 0 0.000474 0.025 0.035 0 0 0.000555 0.00029 0 0 4 0 0 0 0 0 0 0 0
Bowser 0.504 0.53 0 0 0 0.09 0.01 0 0 0 0 0 0 0 0 0 0.00263 0.00368 0.00263 0.00211
King Boo 0 0 0.000474 0 0 0 0 0.00111 0.00058 0.000529 0.000444 0 0.0171 0.0184 0.0113 0.00641[2] 0 0 0 0
Rosalina 0 0.53 0.000947 0 0 0 0 0.000555 0.00029 0 0 4 0 0 0 0 0 0 0 0
Funky Kong 0 1.06 0 0 0 0 0 0 0 0 0 0 0.0171 0.0184 0.0113 0.00641[2] 0.00526 0.00736 0.00526 0.00422
Dry Bowser 0 0 0.000474 0 0 0 0 0 0 0 0 8 0.0342 0.0368 0.0226 0.01283[1] 0 0 0 0
Mii Outfit AMii Outfit B 0.252 0.53 0 0 0 0 0 0 0 0 0 4 0.0171 0.0184 0.0113 0.00641[2] 0.00263 0.00368 0.00263 0.00211

Notes

  1. 1.0 1.1 1.2 0.01368 in the UI version.
  2. 2.0 2.1 2.2 2.3 2.4 2.5 2.6 0.00684 in the UI version.

Tools

The following tools can handle driverParam.bin: