IconParam.bin

From Custom Mario Kart
Jump to navigation Jump to search

IconParam.bin is a set of files found into the parameter folder from Award.szs, Event.szs, Globe.szs, MenuMulti.szs, MenuOther.szs, MenuSingle.szs and Present.szs from the /Scene/UI folder. They contain the scale, rotation and translation values of the vehicle models that load on the vehicle selection buttons. Many people believe the icons are images, but they actually are the same vehicle models that load on the menu.

File Information

There are 24 total diferent IconParam.bin files. They are described by their file names in the following way:

IconParam_WIDTH_HEIGHT_SIZE.bin

WIDTH = Width in pixels of the button where the icons are displayed.
HEIGHT = Height in pixels of the button where the icons are displayed.
SIZE = Size of the character. L = Large, M = Medium, S = Small.

The reasons why there are many of them is because on the one hand, the vehicle selection buttons change while progressing in the game: you start with 6 large buttons, and once you unlock more vehicles, the buttons become smaller; on the other hand, buttons change as well when Only Karts/Only Bikes modes are chosen. Note that these settings are not present in all menus, although all the IconParam.bin files are always present, including the unused ones.

List of IconParam.bin files

Show text


File Format

All files have the same structure. They are divided in twelve 0x1C byte entries, one for each vehicle of the specified size. The file is headerless, thus it starts with an entry directly. The order of the entries is the same shown in game, being the first six ones karts, and the 6 last bikes, from up to down.

Format of an IconParam.bin entry
Offset Type Description
0x00 Float Icon scale.
0x04 Float Model X rotation in degrees.
0x08 Float Model Y rotation in degrees.
0x0C Float Model Z rotation in degrees.
0x10 Float Model X translation.
0x14 Float Model Y translation.
0x18 Float Model Z translation.
0x1C End of entry

Tools

The following tools can handle IconParam.bin files:

  • (none)