Jump to navigation
Jump to search
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:
Offset | Description |
---|---|
0x1C | Maximum Health |
0x20 | Current Health |
Weapons | |
There are 6 weapon slots, add 0x14 * (weapon number) to the following offsets to modify the other weapon slots. (These are the offsets for the first weapon) | |
0x38 | Weapon Type (see "Weapon Types") |
0x3C | Weapon Level |
0x40 | Weapon EXP Level |
0x44 | Max Ammo |
0x48 | Current Ammo |
Inventory | |
There are 24 inventory slots, add 0x4 * (inventory slot number) to the following offset to modify the other inventory item slots. | |
0xD8 | Item Type (see "Inventory Item Types") |
Weapon Types
ID | Description |
---|---|
0 | None |
1 | Snake |
2 | Polar Star |
3 | Fireball |
4 | Machine Gun |
5 | Missile Launcher |
6 | Missiles [Bad] |
7 | Bubbler |
8 | ??? [Bad] |
9 | Blade |
10 | Super Missile |
11 | Super Missiles [Bad] |
12 | Nemesis |
13 | Spur |
14 | "Hajime" [Bad] |
Inventory Item Types
ID | Description |
---|---|
0 | None |
1 | Arthur's Key |
2 | Map System |
3 | Santa's Key |
4 | Silver Locket |
5 | Beast Fang |
6 | Life Capsule |
7 | ID Card |
8 | Jellyfish Juice |
9 | Rusted Key |
10 | Gum Key |
11 | Gum Base |
12 | Charcoal |
13 | Bomb |
14 | Dog |
15 | Life Pot |
16 | Cure-All |
17 | Clinic Key |
18 | Booster v0.8 |
19 | Arms Barrier |
20 | Turbocharge |
21 | Air Tank |
22 | 290 Counter |
23 | Booster v2.0 |
24 | Mimiga Mask |
25 | Teleporter Room Key |
26 | Sue's Letter |
27 | Controller |
28 | Broken Sprinkler |
29 | Sprinkler |
30 | Tow Rope |
31 | Medal of the Red Ogre |
32 | Mister Little |
33 | Mushroom Badge |
34 | Ma Pignon |
35 | Curly's Panties |
36 | Alien Medal |
37 | Chako's Rouge |
38 | Whimsical Star |
39 | Iron Bond |
There are save file utilities that can change these values for you, and are available from the most common fan sites.