Difference between revisions of "Pikmin 2 mapcode file"
Jump to navigation
Jump to search
(Start of page) |
UnclePaul894 (talk | contribs) (I formatted the page better and gave a clearer explanation about how the mapcode works.) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | The mapcode.bin is a file format that assigns physical characteristics to each face of the grid.bin where each face | + | 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 0xYY (the x here is not the digit, the Ys are.) For example, 0x00 would give a face with full friction, 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. | ||
+ | |||
+ | First Digit (Physical characteristics): | ||
+ | |||
+ | {| class="wikitable sortable" | ||
+ | ! Integer (the value of Y) || Effect | ||
+ | |- | ||
+ | | 0 || Full Friction, Pikmin Seeds Can Root | ||
+ | |- | ||
+ | | 1 || Some Friction, Pikmin Seeds Can Root | ||
+ | |- | ||
+ | | 2 || No Friction, Pikmin Seeds Can Root | ||
+ | |- | ||
+ | | 4 || Full Friction, Pikmin Seeds Die | ||
+ | |- | ||
+ | | 5 || Some Friction, Pikmin Seeds Die | ||
+ | |- | ||
+ | | 6 || No Friction, Pikmin Seeds Die | ||
+ | |} | ||
+ | |||
+ | Second Digit (Sound index): | ||
+ | |||
+ | {| class="wikitable sortable" | ||
+ | ! Integer (the value of Y) || Effect | ||
+ | |- | ||
+ | | 0 || Grass | ||
+ | |- | ||
+ | | 1 || Soil | ||
+ | |- | ||
+ | | 2 || Sand | ||
+ | |- | ||
+ | | 3 || Wood | ||
+ | |- | ||
+ | | 4 || Water | ||
+ | |- | ||
+ | | 5 || Stone | ||
+ | |- | ||
+ | | 6 || Iron | ||
+ | |- | ||
+ | | 7 || Snow | ||
+ | |- | ||
+ | | 8 || Water* | ||
+ | |- | ||
+ | | 9 || Paper Bag | ||
+ | |} | ||
+ | |||
+ | *Has water particle effects when 1 is used as the first digit. |
Latest revision as of 22:54, 24 February 2024
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 0xYY (the x here is not the digit, the Ys are.) For example, 0x00 would give a face with full friction, 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.
First Digit (Physical characteristics):
Integer (the value of Y) | Effect |
---|---|
0 | Full Friction, Pikmin Seeds Can Root |
1 | Some Friction, Pikmin Seeds Can Root |
2 | No Friction, Pikmin Seeds Can Root |
4 | Full Friction, Pikmin Seeds Die |
5 | Some Friction, Pikmin Seeds Die |
6 | No Friction, Pikmin Seeds Die |
Second Digit (Sound index):
Integer (the value of Y) | Effect |
---|---|
0 | Grass |
1 | Soil |
2 | Sand |
3 | Wood |
4 | Water |
5 | Stone |
6 | Iron |
7 | Snow |
8 | Water* |
9 | Paper Bag |
*Has water particle effects when 1 is used as the first digit.