Pikmin 2 mapcode file
Overview[edit]
The mapcode.bin is a file format that assigns physical characteristics to each face of the grid.bin file where each face receives two hex digit values identifiers.
The formatting for the mapcode is 0xAB (the x here is not the digit, A and B are). A determines the traction (the amount of control leaders have on a face if it's an incline) and whether Pikmin seeds root or die, B determines the footstep sounds.
For example, 0x00 would give a face full traction, Pikmin seeds can root, and it uses grass walking sound effects. Refer to the table below for more information.
The following was pasted from Kai's notes:
First 4 Bytes of data define the amount of faces it's grid.bin has. Each byte after defines 3 different characteristics of each face.
Integer/effect tables[edit]
| Integer (the value of A) | Effect |
|---|---|
| 0 | Full traction, Pikmin seeds can root |
| 1 | Some traction, Pikmin seeds can root |
| 2 | No traction, Pikmin seeds can root |
| 4 | Full traction, Pikmin seeds die |
| 5 | Some traction, Pikmin seeds die |
| 6 | No traction, Pikmin seeds die |
| Integer (the value of B) | Footstep sounds |
|---|---|
| 0 | Grass |
| 1 | Soil |
| 2 | Sand |
| 3 | Wood |
| 4 | Water |
| 5 | Stone |
| 6 | Iron |
| 7 | Snow |
| 8 | Water, uses water particle effects when 1 is used as the first digit. |
| 9 | Paper Bag |
| a | Dummy, uses soil sounds |
| b | Dummy, uses soil sounds |
| c | Dummy, uses soil sounds |
| d | Dummy, uses soil sounds |
| e | Dummy, uses soil sounds |
| f | Dummy, uses soil sounds |