This how to edit Metroid Prime 4 saves. I am not sure save order other than it might be all the manual saves then auto saves. if you have only used one save slot it should be easy to work out. searching for VSM in text might be the start of each save.
Save Editor
There is now a save editor based on the values Genesis_Nova found and py file that OblivionReign created This is link to it. The py file is also attached to this post
https://www.mediafire.com/file/o3mxi7eigt1rpty/mp4_save_editor_enhanced.zip/file
*Save editor can mod each save
*mod items
*mod scans
*odd number saves should be manual and even should be auto, also skips completed saves
Some abilities might need more than one value edited. Check further down after item list if there a note. if you are using editor with a save that as completed save because it dosen't have a scan section it might effect the order of other saves.
Saves Have Checksum
There a Checksum fixer in zip file unzip and drop save onto bat file it will fix the checksum so won't need to use Hxd to fix it. The Checksum fixer uses Bucanero's cli app and a bat file. Bat file is a patch file if you have experience with ps4 save wizard you can add quick codes to it.
Fix Checksum With Hxd
The saves have a checksum it is the first 4 bytes. the next 4 bytes is the whole size of save minus the first 8 bytes if your not changing save size you can ignore this. the checksum covers from after 8th byte or from 35 to end of save. the checksum is CRC-32/JAMCRC. i used hxd to fix checksum. i selected the whole save minus the first 8 bytes you can go into edit and select block. start is 8 and end you can just type ffffff. you then go into analysis select checksum. in generate checksums box select custom CRC (32bit) then select custom crc... in the custom CRC box you need to put 04C11DB7 in poly, FFFFFFFF in intial and in output xor 00000000. also need to tick in and out for reflection. click ok for this and previous box and you should have checksum. the bytes in checksum needs to be reversed you can see in picture below what i mean. both checksum and size are in little endian meaning bytes are reversed.
Editing
To find green shards search for 66 51 03 1A shards will be after that in reverse float. max green shards is 0000af46. also max amount you can have is also after the amount you have so if the id doesn't work you can search for max shard value and go back 4 bytes
it looks like for items its id then amount then cap total repeated twice (so thats 4 byte id and 3 reverse float values). any id with 00 00 80 3F repeated 3 times is probably something unlocked. will need a completed save to see what the right floats should be after the ids.
I don't think id change order so not a problem but if the ids are like the scan section it would be float values then Id
To find scan section search for AF 05 00 00 00 you should find a section similar to whats in picture. all you need to do is put 00 3F in front of the Ids the ids range from 00 to 0A. the 00 ones are easy workout after filling the others in.
As mentioned below changing all might cause a softlock it could be the 0A ones. in picture below in the boxes is the ids
here are some ids i got from a end game save with their float values. I added names that genesis nova found
?* Present at start of game after losing items
** does not give double jump, need SJB as well as they take up the same slot
*** Allows them to be thrown, does not decrease like the other power bomb entry, set to max
**** IC Suit
you can use this site if you want to edit float values just enter decimal value in float value box and tick the box Swap to use big-endian https://gregstoll.com/~gregstoll/floattohex/
There a zip file with bat files that edit green shards it should edit the first auto and manual save you just drop save on to them. you can open them in text editor and change amount they write use the gregstoll site to create hex values you don't have to tick swap.
Save Editor
There is now a save editor based on the values Genesis_Nova found and py file that OblivionReign created This is link to it. The py file is also attached to this post
https://www.mediafire.com/file/o3mxi7eigt1rpty/mp4_save_editor_enhanced.zip/file
*Save editor can mod each save
*mod items
*mod scans
*odd number saves should be manual and even should be auto, also skips completed saves
Some abilities might need more than one value edited. Check further down after item list if there a note. if you are using editor with a save that as completed save because it dosen't have a scan section it might effect the order of other saves.
Saves Have Checksum
There a Checksum fixer in zip file unzip and drop save onto bat file it will fix the checksum so won't need to use Hxd to fix it. The Checksum fixer uses Bucanero's cli app and a bat file. Bat file is a patch file if you have experience with ps4 save wizard you can add quick codes to it.
Fix Checksum With Hxd
The saves have a checksum it is the first 4 bytes. the next 4 bytes is the whole size of save minus the first 8 bytes if your not changing save size you can ignore this. the checksum covers from after 8th byte or from 35 to end of save. the checksum is CRC-32/JAMCRC. i used hxd to fix checksum. i selected the whole save minus the first 8 bytes you can go into edit and select block. start is 8 and end you can just type ffffff. you then go into analysis select checksum. in generate checksums box select custom CRC (32bit) then select custom crc... in the custom CRC box you need to put 04C11DB7 in poly, FFFFFFFF in intial and in output xor 00000000. also need to tick in and out for reflection. click ok for this and previous box and you should have checksum. the bytes in checksum needs to be reversed you can see in picture below what i mean. both checksum and size are in little endian meaning bytes are reversed.
Editing
To find green shards search for 66 51 03 1A shards will be after that in reverse float. max green shards is 0000af46. also max amount you can have is also after the amount you have so if the id doesn't work you can search for max shard value and go back 4 bytes
it looks like for items its id then amount then cap total repeated twice (so thats 4 byte id and 3 reverse float values). any id with 00 00 80 3F repeated 3 times is probably something unlocked. will need a completed save to see what the right floats should be after the ids.
I don't think id change order so not a problem but if the ids are like the scan section it would be float values then Id
To find scan section search for AF 05 00 00 00 you should find a section similar to whats in picture. all you need to do is put 00 3F in front of the Ids the ids range from 00 to 0A. the 00 ones are easy workout after filling the others in.
As mentioned below changing all might cause a softlock it could be the 0A ones. in picture below in the boxes is the ids
here are some ids i got from a end game save with their float values. I added names that genesis nova found
Code:
Name ID Float 1 Float 2 Float 3 Float 1 to dec Float 3 to dec
Psychic Glove 10 C0 F5 03 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
?* 07 66 A5 04 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Teleporter Patches 1C 2B 9F 08 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
? 79 6A EA 0C 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
?* 35 AA 9D 0E 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
? 22 44 44 10 00 00 00 00 00 00 00 00 00 00 80 3F 1
Super Thunder Shot BD A6 E8 13 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Psychic Shot 6D 69 68 18 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Green Shards 66 51 03 1A 00 00 AF 46 00 00 AF 46 F0 23 74 49 22400 999999
Thunder Chip 04 97 8C 1E 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Gal Fed Mech Parts 64 A9 21 23 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
? BD 82 FE 23 00 00 C8 42 00 00 C8 42 00 00 C8 42 100 100
?* E5 77 80 25 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
? FD 04 8F 25 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
? 07 BC 73 26 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Charged Ice Shot 97 42 B4 27 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
?* 05 7C B5 29 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Psychic Boot** A8 2E FE 2A 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Ice Shot 71 64 03 2B 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Psychic Crystal/Visor DF D2 69 2C 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
? A0 3C 6C 2D 00 00 80 40 00 00 80 40 00 00 80 40 4 4
Spring Ball 77 1D 12 2E 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Space Jump Boots E6 BB 27 35 00 00 40 40 00 00 40 40 00 00 40 40 3 3
? CB 91 7F 35 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
? 5A D7 7F 3D 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
? BA 15 D4 44 00 00 00 00 00 00 00 00 00 00 80 3F 1
? C7 7C DB 48 00 00 80 3F 00 00 80 3F 00 00 00 40 1 2
Missiles 06 9C 51 49 00 00 7A 43 00 00 7A 43 00 00 7A 43 250 250
? CE 41 51 4D 00 00 80 3F 00 00 80 3F 00 00 80 42 1 64
? 1C 5D 23 53 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
?* DD 54 99 5E 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Vi-O-La IC Suit/Vi-O-La IC D3 2E C3 5F 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
? FE 04 E3 6A 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Fire Chip 82 96 DD 6C 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
?* 85 40 45 6F 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
?* 0A 97 20 71 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Psychic Charge Shot 52 21 65 73 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Vi-O-La Suit 99 52 4F 74 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Morph Bomb 76 0C C9 76 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
? 0B 58 59 7A 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Teleporter Chip F8 1B C6 7D 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Psychic Power Bomb F4 B9 C7 84 00 00 00 41 00 00 00 41 00 00 00 41 8 8
Fire Shot F7 C2 D8 85 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Thunder Shot 4F 53 59 8A 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Psychic Grapple 84 7F 51 8C 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
? DA 68 CA 8E 00 00 A0 40 00 00 A0 40 00 00 A0 40 5 5
Energy Tanks A6 12 FB 97 00 60 BB 44 00 60 BB 44 00 60 BB 44 1499 1499
? B1 13 03 9D 00 00 00 00 00 00 96 43 00 00 96 43 300
Psychic Power Bomb 1F 6C D8 9D 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Psychic Power Bomb*** 31 21 C0 A0 00 00 80 3F 00 00 80 3F 00 00 00 41 1 8
? E3 6B 49 A4 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Shot Ammo A3 29 D5 A6 00 80 04 44 00 80 04 44 00 80 04 44 530 530
?* 6A 7C A4 AB 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Charged Thunder Shot 71 94 D8 B0 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
? 5B 01 94 B5 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Super Missile A0 0B 34 BC 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
? 2D 56 4E BC 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
? 61 C3 D8 BC 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
TK Code 5F EE C5 BD 00 00 00 00 00 00 00 00 00 00 A0 40 5
Legacy Suit 76 41 DC BF 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Control Beam FA 8D EF C1 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
? 35 05 1F C2 00 00 00 00 00 00 C6 42 00 00 C6 42 99
? 16 A7 38 C5 00 00 00 00 00 00 00 00 00 00 40 40 3
Super Fire Shot 74 E4 B3 C7 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Super Ice Shot 34 AC 2C CF 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Psychic Boost Ball 57 48 75 D0 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
? FC C4 40 D5 00 00 C0 40 00 00 C0 40 00 00 C6 42 6 99
Boost Ball E5 DC 3B D9 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Charged Fire Shot F2 6C 79 DC 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
? 06 06 CD DE 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Psychic Spider Ball DD 01 B1 E8 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Vi-O-La D6 0A 10 ED 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
?* 1B 4E 40 F0 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Ice Chip B9 A4 4D F3 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Psychic Lasso CB 9C 03 F9 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
Psychic Spider Ball**** F5 B8 46 FB 00 00 80 3F 00 00 80 3F 00 00 80 3F 1 1
** does not give double jump, need SJB as well as they take up the same slot
*** Allows them to be thrown, does not decrease like the other power bomb entry, set to max
**** IC Suit
you can use this site if you want to edit float values just enter decimal value in float value box and tick the box Swap to use big-endian https://gregstoll.com/~gregstoll/floattohex/
There a zip file with bat files that edit green shards it should edit the first auto and manual save you just drop save on to them. you can open them in text editor and change amount they write use the gregstoll site to create hex values you don't have to tick swap.
Attachments
Last edited by Pj1980,









