BMM (File Format)

From Wexos's Wiki
(Redirected from BMM)
Jump to navigationJump 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 read whenever the player is driving with a Mii.

File Format

The file byte order is always big endian, and it is always 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.

Tools

The following tools can handle BMM files: