Difference between revisions of "BAS (File Format)"
Jump to navigation
Jump to search
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 | | + | | 0x0C || Float || '''Parameter'''. Only seems to be checked in competition mode: |
+ | * 0x0 = '''Unknown''' | ||
+ | * 0x1 = '''Unknown''' | ||
+ | * 0x2 = '''Unknown''' | ||
+ | * 0x3 = Allows CPUs to constantly throw 3 Bananas | ||
|- | |- | ||
| 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 19:55, 14 September 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 | Parameter. Only seems to be checked in competition 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