Editing Pikmin 2 save file
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 11: | Line 11: | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
! Address || Size || Description | ! Address || Size || Description | ||
− | |||
− | |||
− | |||
|- | |- | ||
| <code>0x14</code> || 4 bytes | | <code>0x14</code> || 4 bytes | ||
Line 28: | Line 25: | ||
|- | |- | ||
| <code>0x53</code> || array of 2, 4 byte integers followed by a 1 byte bitmask | | <code>0x53</code> || array of 2, 4 byte integers followed by a 1 byte bitmask | ||
− | | 4 byte integer | + | | 4 byte integer of Pikmin lost to the said enemy, followed by a 4 byte integer representing the amount of enemies killed, followed by a 1 byte bitmask <code>0b1</code> represents that the enemy has been unlocked in the Piklopedia and <code>0b10</code> represents that the enemy has been viewed in the Piklopedia. |
− | |||
− | |||
− | |||
|- | |- | ||
| <code>0x3ED</code> || 2 bytes | | <code>0x3ED</code> || 2 bytes | ||
Line 37: | Line 31: | ||
|- | |- | ||
| <code>0x3F1</code> || 21 length 4 byte array | | <code>0x3F1</code> || 21 length 4 byte array | ||
− | | Pikmin types that fall from the sky during entering and exiting a cave. Editing this value on a save file that is on the area select screen will result in the Pikmin falling from the sky upon entering an area. The Pikmin types are organized into groups of three, with the first integer representing a leaf Pikmin, the second a bud Pikmin, and the third a flower Pikmin. The Pikmin types in the array are ordered Blue, Red, Yellow, Purple, White, Bulbmin, and an unused | + | | Pikmin types that fall from the sky during entering and exiting a cave. Editing this value on a save file that is on the area select screen will result in the Pikmin falling from the sky upon entering an area. The Pikmin types are organized into groups of three, with the first integer representing a leaf Pikmin, the second a bud Pikmin, and the third a flower Pikmin. The Pikmin types in the array are ordered Blue, Red, Yellow, Purple, White, Bulbmin, and an unused PikPik carrot. |
|- | |- | ||
| <code>0x479</code> || 21 length 4 byte array | | <code>0x479</code> || 21 length 4 byte array | ||
− | | Same as above but for Pikmin in the Onions and Ship. | + | | Same as above but for Pikmin in the Onions and Ship. {{todo|Find out what happens when Bulbmin and PikPik carrots are added}} |
|- | |- | ||
| <code>0x4CF</code> || 188 length 1 byte array | | <code>0x4CF</code> || 188 length 1 byte array | ||
− | | 1 byte each represents the treasure as accessed on the area select screen. Treasures appear to follow their [[Pikmin 2 identifiers|internal IDs]] for order. These are all the treasures not part of the Exploration Kit (nor The Key). Non-zero values mean collected. | + | | 1 byte each represents the treasure as accessed on the area select screen. Treasures appear to follow their [[Pikmin 2 identifiers|internal IDs]] for order. These are all the treasures not part of the Exploration Kit (nor The Key). Non-zero values mean collected. {{todo|find if there is a difference between the value being <code>0x2</code> or the more common <code>0x6</code>}} |
|- | |- | ||
| <code>0x58D</code> || 13 length 1 byte array | | <code>0x58D</code> || 13 length 1 byte array | ||
| Same as above, only for Exploration Kit treasures including The Key. | | Same as above, only for Exploration Kit treasures including The Key. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <code>0x834</code> || 4 bytes | | <code>0x834</code> || 4 bytes |