BAS (File Format)

From Custom Mario Kart
Revision as of 13:45, 1 July 2019 by Atlas (talk | contribs)
Jump to navigation Jump to search
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 parameter. Higher values make faster CPUs, but after a limit,
the speed won't change anymore and it will use the maximum allowed.
Negative values make the CPUs stop when they reach their maximum speed.
0x04 Float Unknown.
0x08 Float Unknown.
0x0C Float Unknown.
0x10 Float Unknown.

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: