Difference between revisions of "BAS (File Format)"
Jump to navigation
Jump to search
(According to the parse function, BAS files mostly override the data set by kartAiSpdParam) |
m |
||
Line 14: | Line 14: | ||
| 0x08 || Float || '''Base speed'''. Minimum speed value for the CPUs while driving? | | 0x08 || Float || '''Base speed'''. Minimum speed value for the CPUs while driving? | ||
|- | |- | ||
− | | 0x0C || Float || {{Unknown-left|'''Unknown'''.}} | + | | 0x0C || Float || {{Unknown-left|'''Unknown'''.}} Can only be 0 or 1, and seems to be checked only in Tournament/Mission Mode. |
|- | |- | ||
− | | 0x10 || Float || CPU difficulty override. Accepted values (in float format): 0 (Easy), 1 (Normal), 2 (Hard). | + | | 0x10 || Float || '''CPU difficulty override'''. Accepted values (in float format): 0 (Easy), 1 (Normal), 2 (Hard). |
|} | |} | ||
Revision as of 15:22, 12 August 2021
Under Construction
This article is not finished. Help improve it by adding accurate information or correcting grammar and spelling.
BAS (Binary AI Speed) is a filetype found into competitions, specifically found as AIParam.bas; it changes the speed parameters for the Mario Kart Wii's in race CPUs. AIParam can be added into any track to make more challenging gameplay in offline versus races. When this file is not present, the parameters are controlled instead by kartAISpdParam.bin, found into Common.szs.
File Format
BAS files are only 20 bytes long, containing 5 floats:
Offset | Type | Description |
---|---|---|
0x00 | Float | Speed advantage. This value is added to the CPUs' base speed. |
0x04 | Float | Speed bias. It seems to be some kind of speed multiplier. Bigger values mean slower. |
0x08 | Float | Base speed. Minimum speed value for the CPUs while driving? |
0x0C | Float | Unknown. Can only be 0 or 1, and seems to be checked only in Tournament/Mission Mode. |
0x10 | Float | CPU difficulty override. Accepted values (in float format): 0 (Easy), 1 (Normal), 2 (Hard). |
Trivia
The first ever Nintendo competition contained a BAS file that was 16 bytes long, missing the last float.
Tools
The following tools can handle BAS files:
- BASic Tool, by TheZACAtac