Cave Story/Cheats

Cave Story does not have built-in cheats, but you can modify the save file to your advantage.

A profile appears to start with "Do041220", so this guide also applies to Cave Story+, where there are multiple save slots. Just add the offset that the profile starts at to the data value offsets.

Profile.dat
All values (unless explicitly stated) are 32-bit unsigned ints, little-endian. To be clear, "1C" refers to the 32-bit int starting at 1C, ranging to 1F.

Open Profile.dat with a hex editor to manipulate the following values:

Inventory Item Types
There are save file utilities that can change these values for you, and are available from the most common fan sites.