Savefile Manipulation

From Terranigma Wiki
Revision as of 14:08, 12 August 2023 by Crediar (talk | contribs) (Crediar moved page Savefile Corruption to Savefile Manipulation: This doesn't corrupt a savefile)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Terranigma uses two checksum to verify its save file, an ADD of all the bytes and a XOR of all the bytes.

Due this its vulnerable to moving values around in the save file as long as the byte is at the same align.

In the following POC three values are being moved around to achieve item duplication.


  1. Equipped Item (0x4C)
  2. Fluffy Position (0x00)
  3. First Slot ID Item (0x10)


  1. Equipped Item (0x00)
  2. Fluffy Position (0x10)
  3. First Slot ID Item (0x4C)

Note: Terranigma automatically sorts the inventory but only when reentering the inventory screen.


  1. Get item you want to duplication and nine small heals, since they will always be left most in the inventory
  2. Save to second slot
  3. Equip item you want to dupe
  4. Put Fluffy on the top left door in the inventory
  5. Save to first slot
  6. Reset game
  7. Load second save file
  8. Unequip the item
  9. Delete all the small heals
  10. Reenter the item inventory screen
  11. Place Fluffy on the 2nd row and the 4th slot
  12. Save to first slot but as soon as the first slot item ID is written reset the system

Example: (Note: This shows a way using money)