BMM (File Format)
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.
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.
|0x00||Byte||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: