kartParam.bin

From Custom Mario Kart
Revision as of 12:15, 12 January 2021 by Stebler (talk | contribs) (Fix more labels)
Jump to navigation Jump to search

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 Number of tires, Drift type, Camera mode and Mini-Turbo duration, which are integers.
0x37B4 End of file with N=36 vehicles

Section Format

All sections are ordered by Vehicle ID.

Format of a kartParam.bin section
Offset Type Description
0x00 Int32 Number of tires:
  • 0 = 4 tires
  • 1 = 2 tires
  • 2 = 2 tires, closer from each other (used on Quacker)
  • 3 = 3 tires (used on Blue Falcon).
0x04 Int32 Drift type:
  • 0 = outside drift used on karts
  • 1 = outside drift used on bikes
  • 2 = inside drift
0x08 Int32 Camera mode:
  • 0 = used on small vehicles
  • 1 = used on medium vehicles
  • 2 = used on large vehicles
0x0C Float Unknown.
0x10 Float Weight.
0x14 Float Bump Deviation Level.
0x18 Float Speed.
0x1C Float Speed in Turn.
0x20 Float Tilt Strength.
0x24 Float Standard acceleration A0.
0x28 Float Standard acceleration A1.
0x2C Float Standard acceleration A2.
0x30 Float Standard acceleration A3.
0x34 Float Standard acceleration T1.
0x38 Float Standard acceleration T2.
0x3C Float Standard acceleration T3.
0x40 Float Drift acceleration A0.
0x44 Float Drift acceleration A1.
0x48 Float Drift acceleration T1.
0x4C Float Manual Handling Tightness.
0x50 Float Automatic Handling Tightness.
0x54 Float Handling Reactivity.
0x58 Float Manual Drift Tightness.
0x5C Float Automatic Drift Tightness.
0x60 Float Drift Reactivity.
0x64 Float Drift Start Distance.
0x68 Float Drift End Correction.
0x6C Int32 Mini-Turbo Duration.
0x70 Float[32] Speed Multiplier Values for each KCL flag. 1 = default speed.
0xF0 Float[32] Handling Multiplier Values for each KCL flag. 0.7 = default handling.
0x170 Float Rotating/trailing Items X Distance.
0x174 Float Rotating/trailing Items Z Distance.
0x178 Float Rotating/trailing Items Y Distance.
0x17C Float Another value related to rotating/trailing items.
0x180 Float Vertical Tilt.
0x184 Float Vehicle + driver scale when using a Mega Mushroom.
0x188 Float Distance between rear and front tires.

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 is linearly interpolated between 5 data points (3 if drifting), with the current speed divided by the top speed as an input (called T below). The computed value is directly added to the current speed on each frame.
    • A#: The acceleration value of each data point. A4 (A2 if drifting) is always equals to A3 (A1 if drifting) and is not explicitly stored.
    • T#: The T value of each data point. T0 is always 0 and T4 (T2 if drifting) is always equals to T3 (T1 if drifting) and they are not explicitly stored.
  • Handling: How tight the vehicles can normally turn (not drifting). Handling uses different values between Manual and Automatic drift modes.
    • Reactivity: How quickly the vehicle can change its turning direction. The current turn value is linearly interpolated between the current stick horizontal value and the previous turn value, using the reactivity stat as the interpolation parameter.
  • 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.
    • Reactivity: How quickly the vehicle can change its turning direction while drifting. The current turn value is linearly interpolated between the current stick horizontal value and the previous turn value, using the reactivity stat as the interpolation parameter.
  • 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 Off-Road Speed Off-Road Handling Tilt
Not Drifting Drifting
in Turn A0 A1 A2 A3 T1 T2 T3 A0 A1 T1 Manual Auto Reactivity Manual Auto Reactivity 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 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 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 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 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 0.8578 0.6562 0.3884 0.981 0.07893 0.12048 0.07893 0.07893 0.05321 0.02[1]
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 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 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 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.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 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 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 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 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 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.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 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 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.5842 0.3618 0.2076 0.8921 0.06052 0.09472 0.06052 0.06052 0.03844 0.015[2]
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 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 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 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 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 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 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 0.6697 0.4538 0.2641 0.9199 0.0763 0.1168 0.0763 0.0763 0.0511 0.015[2]
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 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.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 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 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.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.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.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 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 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 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 0.8065 0.601 0.3545 0.9644 0.0763 0.1168 0.0763 0.0763 0.0511

Notes

  1. 0.03 in the UI version.
  2. 2.0 2.1 0.02 in the UI version.

Tools

The following tools can handle kartParam.bin: