BMM (File Format)

From Custom Mario Kart
Revision as of 16:55, 22 February 2019 by Atlas (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The BMM (Binary Mii Material) is a filetype used in Mario Kart Wii. It is only found as the name course.bmm in five different courses, and it controls the Mii head's material for statues used in MiiStatue objects. It is only used when the player is driving with a Mii.

File Format

The format used in course.bmm as found in Mario Kart Wii is probably the shortest and simplest of all the game (not counting the Mario Kart Channel WAD length file, wadListR.dat), along with BAS files (both of them 0x14 bytes long). The file is related to course.btiMat, since it manages that texture's mapping coordinates. It has no header and starts directly with a color value.

Offset Type Description
0x00 Byte[4] Material constant color value in RGBA format.
0x04 Float course.btiMat texture S scale. 0.950 in T3.1, 1.000 in all other tracks.
0x08 Float course.btiMat texture S translation. Always 0 in original files.
0x0C Float course.btiMat texture T scale. Always -30 in original files.
0x10 Float course.btiMat texture T translation. Always 0 in original files.


The following tools can handle BMM files: