BAA (File Format)
BAA (Binary AI Action) is a filetype found into competitions, specifically found as AIParam.baa; it changes action 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 kartAIActionParam.bin, found inside Common.szs.
File Format
BAA files use the same exact data format as kartAIActionParam.bin, but instead of having one section per difficulty level, there's just a single set of 12 entries that override the file aforementioned.
Entry
There are 12 entries in each section, matching each CPU player. Each value is percentage based. The game generates a random number from 0 to 99 and then compares it to one of the fields. If the random number is less than the value, the CPU will perform the action.
Offset | Type | Action |
---|---|---|
0x00 | Float | Getting the rocket boost. |
0x04 | Float | Busting the engine, if missed the rocket boost. |
0x08 | Float | Starting a drift on a curve/force drift section. |
0x0C | Float | Releasing a mini-turbo after a drift. |
0x10 | Float | Doing a trick. |
0x14 | Float | Performing a wheelie on a force wheelie section. |
0x18 | Float | Unknown. |
0x1C | Float | Unknown. Triggered right before swerving left/right? |
Tools
The following tools can handle BAA files:
- (none)