Difference between revisions of "DriverParam.bin"
Jump to navigation
Jump to search
m (Atlas moved page Filesystem/Race/Common.szs/driverParam.bin to DriverParam.bin over redirect: driverParam.bin is found into other files as well) |
m (→File Format) |
||
(15 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude> | + | {{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 '''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 11: | 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). |
* '''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). | ||
− | |||
* '''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 | + | * '''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=" | + | !width="3%" bgcolor="#dedede" rowspan="3" colspan="2"|<small>Weight Class</small> |
− | !width="3%" bgcolor="#dedede" rowspan=" | + | !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=" | + | !width="12%" bgcolor="#dedede" colspan="4"|<small>Acceleration</small> |
− | !width="6%" bgcolor="#dedede" colspan="2"|<small> | + | !width="6%" bgcolor="#dedede" rowspan="2" colspan="2"|<small>Handling</small> |
− | !width="6%" bgcolor="#dedede" colspan="2"|<small> | + | !width="6%" bgcolor="#dedede" rowspan="2" colspan="2"|<small>Drift</small> |
− | !width=" | + | !width="3%" bgcolor="#dedede" rowspan="3"|<small>Mini-Turbo</small> |
− | !width=" | + | !width="12%" bgcolor="#dedede" rowspan="2" colspan="4"|<small>Off-Road Speed</small> |
− | !width="12%" bgcolor="#dedede" colspan="4"|<small>Off-Road | + | !width="12%" bgcolor="#dedede" rowspan="2" colspan="4"|<small>Off-Road Rotation</small> |
− | !width=" | + | |- |
+ | !width="6%" bgcolor="#dedede" colspan="2"|<small>Not drifting</small> | ||
+ | !width="6%" bgcolor="#dedede" colspan="2"|<small>Drifting</small> | ||
|- | |- | ||
− | + | !width="3%" bgcolor="#dedede"|<small>Normal</small> | |
− | !width="3%" bgcolor="#dedede"|<small> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
!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 187: | 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. | + | |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 299: | 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 364: | 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 386: | 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 430: | 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 475: | 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 497: | 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 563: | 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 607: | 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 629: | 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 651: | 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 658: | Line 662: | ||
|} | |} | ||
<noinclude> | <noinclude> | ||
+ | === Notes === | ||
+ | <references/> | ||
+ | |||
== Tools == | == Tools == | ||
− | |||
− | |||
− | |||
− | |||
The following tools can handle driverParam.bin: | The following tools can handle driverParam.bin: | ||
− | * [[driverParam.bin Tool]], by [[Atlas]] | + | * [[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
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 | 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 | |
0.756 | 1.06 | 0.000474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
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 | ||
0.504 | 1.06 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
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 | ||
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 | ||
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 | ||
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 | ||
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 | 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 | |
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 | ||
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 | ||
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 | ||
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 | ||
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 | ||
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 | ||
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 | ||
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 | 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 | |
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 | ||
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 | ||
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 | ||
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 | ||
0 | 0.53 | 0.000947 | 0 | 0 | 0 | 0 | 0.000555 | 0.00029 | 0 | 0 | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
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 | ||
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 | ||
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
Tools
The following tools can handle driverParam.bin: