Difference between revisions of "KartParam.bin"

From Custom Mario Kart
Jump to navigation Jump to search
m
Line 1: Line 1:
 
{{DISPLAYTITLE:kartParam.bin}}
 
{{DISPLAYTITLE:kartParam.bin}}
<noinclude>File '''kartParam.bin''' is a sub file of file '''[[Filesystem/Race/Common.szs|/Race/Common.szs]]'''. It contains a list of '''vehicle statistics'''.
+
<noinclude>'''kartParam.bin''' is a sub file of '''[[Filesystem/Race/Common.szs|/Race/Common.szs]]'''. It contains a list of '''vehicle 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.
  
 
== File Format ==
 
== File Format ==

Revision as of 17:28, 2 November 2018

kartParam.bin is a sub file of /Race/Common.szs. It contains a list of vehicle 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 kartParam.bin file
Offset Size Description
0x00 4 N= Number of vehicles.
0x04 N*4*99 N section offsets. Each section is composed of 99 32-bit values representing vehicle statistics.
All values are represented as float with the exception of Mini-Turbo as an int.
0x37B4 End of file with N=36 vehicles

Vehicle Statistics

  • Weight: How heavy a vehicle is.
  • Speed: How high the top speed of the vehicle is.
    • in Turn: How high the stop speed of the vehicle is in a turn (not drifting).
  • Acceleration: How quickly the vehicle's top speed is achieved from a non-moving position. Acceleration progresses between 4 stages using some unknown calculation to reach top speed. Acceleration uses different values between not drifting and drifting.
    • Stage (S#): How fast a stage can progress. A larger value means faster progression.
    • Exponential (E): How quickly speed starts up and how slowly it takes to reach top speed. A larger value means more extremes of both. See the logistic function.
      E also determines the spacing of stages.
  • Handling: How tight the vehicles can normally turn (not drifting). Handling uses different values between Manual and Automatic drift modes.
    • Range: How far the vehicle can swing left or right.
  • Drift: How tight the vehicle turns while using the drifting maneuver. Drift uses different values between Manual and Automatic drift modes.
    A drift can be started when a vehicle's speed is at least 55% of its top speed.
    • Range: How far the vehicle can swing left or right.
  • Mini-Turbo: When using the manual drift option, how long a mini-boost will last.
  • Traction: How strong frictional forces are between the vehicle's tires and the road such as rolling resistance.
  • 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.
  • Tilt: How strongly the vehicle can tilt on its side. Only applicable to karts.
Vehicle Statistics
Weight Class Weight Speed Acceleration Handling Drift Mini-Turbo Traction Off-Road Speed Off-Road Handling Tilt
Not Drifting Drifting
in Turn S0 S1 S2 S3 E S0 S1 S2 S3 E Manual Auto Range Manual Auto Range 0x02 0x03 0x04 0x05 0x01 0x02 0x03 0x04 0x05
Light Standard Kart S 3.05 78.71 0.9957 0.728 0.728 0.5034 0.07034 0.65 0.85 0.95 1.95 0.13 0.965 0.024 0.0244 0.88 0.0186 0.0209 0.94 29 -15 0.7039 0.4906 0.2867 0.931 0.08419 0.12784 0.08419 0.08419 0.05743 0.03
Booster Seat Baby Booster 2.84 75.53 0.9985 0.866 0.866 0.5448 0.07448 0.65 0.85 0.95 1.45 0.13 0.965 0.0274 0.0267 0.94 0.0181 0.0204 0.92 36 5 0.7894 0.5826 0.3432 0.9588 0.09997 0.14992 0.09997 0.09997 0.07009 0.035
Mini Beast Concerto 3.26 81.89 0.9938 0.71924 0.3744 0.4172 0.05172 0.2 0.8 0.925 2.45 0.15 0.98 0.0205 0.0222 0.82 0.0198 0.0222 0.99 39 -8 0.6184 0.3986 0.2302 0.9032 0.06841 0.10576 0.06841 0.06841 0.04477 0.02
Cheep Charger 2.63 77.12 0.9933 0.4795 1.668 0.4418 0.04418 0.2 0.9 0.975 2.25 0.11 0.95 0.0257 0.0256 0.91 0.0191 0.0214 0.96 33 -3 0.7381 0.5274 0.3093 0.9421 0.08945 0.1352 0.08945 0.08945 0.06165 0.03
Tiny Titan Rally Romper 3.47 79.77 0.9966 0.89094 0.5764 0.5182 0.06182 0.2 0.8 0.925 1.15 0.15 0.98 0.0228 0.0237 0.86 0.0174 0.0196 0.89 27 4 0.8578 0.6562 0.3884 0.981 0.07893 0.12048 0.07893 0.07893 0.05321 0.02
Blue Falcon 3.05 82.95 0.9919 0.254 0.766 0.3516 0.03516 0.2 0.9 0.975 1.65 0.11 0.95 0.0199 0.0219 0.81 0.0167 0.0188 0.86 22 10 0.6013 0.3802 0.2189 0.8977 0.06315 0.0984 0.06315 0.06315 0.04055 0.03
Standard Bike S 2.42 78.18 0.9962 0.774 0.774 0.5172 0.07172 0.65 0.85 0.95 2.05 0.13 0.965 0.0269 0.0217 0.955 0.0135 0.0146 0.95 31 1 0.721 0.509 0.298 0.9366 0.08156 0.12416 0.08156 0.08156 0.05532
Bullet Bike 2.63 81.36 0.9943 0.75358 0.4148 0.4374 0.05374 0.2 0.8 0.925 2.55 0.15 0.98 0.0237 0.0205 0.91 0.0171 0.0125 1 40 1 0.6355 0.417 0.2415 0.9088 0.06578 0.10208 0.06578 0.06578 0.04266
Bit Bike Nanobike 2.21 75 0.999 0.912 0.912 0.5586 0.07586 0.65 0.85 0.95 1.55 0.13 0.965 0.0301 0.023 1 0.013 0.0142 0.93 37 0 0.8065 0.601 0.3545 0.9644 0.09734 0.14624 0.09734 0.09734 0.06798
Quacker 2 76.59 0.9938 0.5 1.75 0.45 0.045 0.2 0.9 0.975 2.35 0.11 0.95 0.0285 0.0224 0.9775 0.016 0.0119 0.97 35 3 0.7552 0.5458 0.3206 0.9477 0.08682 0.13152 0.08682 0.08682 0.05954
Magikruiser 2.63 79.24 0.9971 0.682 0.682 0.4896 0.06896 0.65 0.85 0.95 1.25 0.15 0.98 0.0258 0.0213 0.94 0.0136 0.0107 0.9 28 3 0.8749 0.6746 0.3997 0.9866 0.0763 0.1168 0.0763 0.0763 0.0511
Jet Bubble Bubble Bike 2.84 80.3 0.9947 0.8566 0.536 0.498 0.0598 0.2 0.8 0.925 1.75 0.13 0.965 0.0248 0.0209 0.925 0.0129 0.0103 0.88 26 3 0.6697 0.4538 0.2641 0.9199 0.07104 0.10944 0.07104 0.07104 0.04688
Medium Standard Kart M 4.31 79.77 0.9943 0.59 0.59 0.462 0.0662 0.65 0.85 0.95 1.75 0.13 0.965 0.0228 0.0237 0.86 0.0184 0.0206 0.93 27 3 0.6697 0.4538 0.2641 0.9199 0.07893 0.12048 0.07893 0.07893 0.05321 0.03
Classic Dragster Nostalgia 1 4.1 77.65 0.9924 0.4385 1.504 0.4254 0.04254 0.2 0.9 0.975 2.05 0.11 0.95 0.0251 0.0252 0.9 0.0186 0.0209 0.94 32 -5 0.7039 0.4906 0.2867 0.931 0.08419 0.12784 0.08419 0.08419 0.05743 0.02
Wild Wing 4.73 82.42 0.9928 0.61622 0.2532 0.3566 0.04566 0.2 0.8 0.925 2.25 0.15 0.98 0.0199 0.0219 0.81 0.0193 0.0217 0.97 36 0 0.6013 0.3802 0.2189 0.8977 0.06578 0.10208 0.06578 0.06578 0.04266 0.015
Super Blooper Turbo Blooper 3.89 80.83 0.9952 0.254 0.766 0.3516 0.03516 0.2 0.9 0.975 0.85 0.15 0.98 0.0216 0.023 0.84 0.0177 0.0198 0.9 24 5 0.7894 0.5826 0.3432 0.9588 0.07367 0.11312 0.07367 0.07367 0.04899 0.02
Daytripper Royal Racer 4.31 77.12 0.9976 0.774 0.774 0.5172 0.07172 0.65 0.85 0.95 1.25 0.13 0.965 0.0263 0.0259 0.92 0.0177 0.0198 0.9 33 -7 0.7552 0.5458 0.3206 0.9477 0.09471 0.14256 0.09471 0.09471 0.06587 0.035
Sprinter B Dasher Mk 2 4.52 84.01 0.9909 0.6849 0.334 0.397 0.0497 0.2 0.8 0.925 1.45 0.11 0.95 0.0187 0.0211 0.79 0.0162 0.0183 0.84 19 0 0.5842 0.3618 0.2076 0.8921 0.06052 0.09472 0.06052 0.06052 0.03844 0.015
Standard Bike M 3.68 79.24 0.9947 0.636 0.636 0.4758 0.06758 0.65 0.85 0.95 1.85 0.13 0.965 0.0258 0.0213 0.94 0.0127 0.014 0.92 28 -2 0.6868 0.4722 0.2754 0.9255 0.0763 0.1168 0.0763 0.0763 0.0511
Mach Bike 3.68 81.89 0.9933 0.65056 0.2936 0.3768 0.04768 0.2 0.8 0.925 2.35 0.15 0.98 0.0232 0.0203 0.9025 0.0164 0.0121 0.98 37 3 0.6184 0.3986 0.2302 0.9032 0.06315 0.0984 0.06315 0.06315 0.04055
Sugarscoot Bon Bon 3.26 76.59 0.9981 0.82 0.82 0.531 0.0731 0.65 0.85 0.95 1.35 0.13 0.965 0.029 0.0226 0.985 0.0124 0.0138 0.91 35 -9 0.7723 0.5642 0.3319 0.9532 0.09208 0.13888 0.09208 0.09208 0.06376
Zip Zip Rapide 3.47 78.71 0.9966 0.92528 0.6168 0.5384 0.06384 0.2 0.8 0.925 1.15 0.15 0.98 0.0269 0.0217 0.955 0.0115 0.0133 0.88 29 -4 0.8407 0.6378 0.3771 0.9755 0.08156 0.12416 0.08156 0.08156 0.05532
Sneakster Nitrocycle 3.89 83.48 0.9914 0.213 0.602 0.3352 0.03352 0.2 0.9 0.975 1.55 0.11 0.95 0.0221 0.0198 0.8875 0.0119 0.0097 0.85 20 -11 0.6013 0.3802 0.2189 0.8977 0.05789 0.09104 0.05789 0.05789 0.03633
Dolphin Dasher 4.1 80.3 0.9957 0.82226 0.4956 0.4778 0.05778 0.2 0.8 0.925 0.95 0.15 0.98 0.0248 0.0209 0.925 0.014 0.0108 0.91 26 2 0.8065 0.601 0.3545 0.9644 0.07104 0.10944 0.07104 0.07104 0.04688
Heavy Standard Kart L 5.36 80.3 0.9943 0.544 0.544 0.4482 0.06482 0.65 0.85 0.95 1.55 0.13 0.965 0.0222 0.0233 0.85 0.0174 0.0196 0.89 24 -15 0.6697 0.4538 0.2641 0.9199 0.0763 0.1168 0.0763 0.0763 0.0511 0.015
Offroader 5.78 78.18 0.9966 0.728 0.728 0.5034 0.07034 0.65 0.85 0.95 0.75 0.13 0.965 0.0251 0.0252 0.9 0.0167 0.0188 0.86 29 7 0.721 0.509 0.298 0.9366 0.08945 0.1352 0.08945 0.08945 0.06165 0.015
Flame Flyer 5.36 83.48 0.9919 0.54754 0.1724 0.3162 0.04162 0.2 0.8 0.925 1.85 0.15 0.98 0.0182 0.0207 0.78 0.0184 0.0206 0.93 31 0 0.5671 0.3434 0.1963 0.8866 0.05789 0.09104 0.05789 0.05789 0.03633 0.015
Piranha Prowler 5.99 81.89 0.9928 0.406 0.406 0.4068 0.06068 0.65 0.85 0.95 1.35 0.13 0.965 0.0211 0.0226 0.83 0.0169 0.0191 0.87 20 -13 0.6355 0.417 0.2415 0.9088 0.06578 0.10208 0.06578 0.06578 0.04266 0.01
Jetsetter Aero Glider 5.15 85.07 0.99 0.1515 0.356 0.3106 0.03106 0.2 0.9 0.975 1.05 0.11 0.95 0.017 0.02 0.76 0.0155 0.0175 0.81 15 30 0.55 0.325 0.185 0.881 0.05263 0.08368 0.05263 0.05263 0.03211 0.02
Honeycoupe Dragonetti 5.57 81.36 0.9938 0.6849 0.334 0.397 0.0497 0.2 0.8 0.925 2.15 0.15 0.98 0.0199 0.0219 0.81 0.0191 0.0214 0.96 35 0 0.6013 0.3802 0.2189 0.8977 0.06578 0.10208 0.06578 0.06578 0.04266 0.025
Standard Bike L 4.94 79.77 0.9947 0.59 0.59 0.462 0.0662 0.65 0.85 0.95 1.65 0.13 0.965 0.0253 0.0211 0.9325 0.0121 0.0137 0.9 26 0 0.6868 0.4722 0.2754 0.9255 0.07367 0.11312 0.07367 0.07367 0.04899
Flame Runner Bowser Bike 4.94 82.95 0.9924 0.58188 0.2128 0.3364 0.04364 0.2 0.8 0.925 1.95 0.15 0.98 0.0216 0.0196 0.88 0.015 0.0114 0.94 32 0 0.5842 0.3618 0.2076 0.8921 0.05526 0.08736 0.05526 0.05526 0.03422
Wario Bike 5.36 77.65 0.9971 0.774 0.774 0.5172 0.07172 0.65 0.85 0.95 0.85 0.13 0.965 0.028 0.0222 0.97 0.0112 0.0131 0.87 31 5 0.7381 0.5274 0.3093 0.9421 0.08682 0.13152 0.08682 0.08682 0.05954
Shooting Star Twinkle Star 4.52 80.83 0.9943 0.71924 0.3744 0.4172 0.05172 0.2 0.8 0.925 2.25 0.15 0.98 0.0232 0.0203 0.9025 0.0141 0.0149 0.97 36 27 0.6184 0.3986 0.2302 0.9032 0.06315 0.0984 0.06315 0.06315 0.04055
Spear Torpedo 5.15 84.54 0.9905 0.172 0.438 0.3188 0.03188 0.2 0.9 0.975 1.15 0.11 0.95 0.0205 0.0192 0.865 0.0108 0.0092 0.82 16 3 0.5671 0.3434 0.1963 0.8866 0.05 0.08 0.05 0.05 0.03
Phantom 4.73 79.24 0.9957 0.89094 0.5764 0.5182 0.06182 0.2 0.8 0.925 0.65 0.15 0.98 0.0264 0.0215 0.9475 0.0107 0.0127 0.85 27 2 0.8065 0.601 0.3545 0.9644 0.0763 0.1168 0.0763 0.0763 0.0511