ROM Hack [Release] Metroid Samus Returns Save Editor

rog9001

Well-Known Member
OP
Member
Joined
Aug 13, 2016
Messages
119
Trophies
0
XP
469
Country
Japan
normal game max hp is 1099 (default hp 99 + 10 extra E tanks you could get in the game), if you set hp to more than 1099 , it would still only show 10 pink bars, E reserve tank unlocked by amiibo only can be 1 which refills your hp to max when it reaches 0

Okay so wait, I think an important distinction needs to be made here. Exactly how much additional energy does a tank give you, 99 or 100? I was fairly certain that E-Tanks gave you an additional 99 with the lowest value being 1, and I don't think I've ever seen a tank with 0 (which makes sense as far as videogames go). If the tanks are 100 with fill values of 0-99 and there are ten tanks in the game, then yes, the max would be 1099 health. But if they're only 99 with fill values of 1-99, then max health is 1089. That's an important distinction as far as understanding exactly what value you need to have the editor search for to replace. I will test this and get an exact answer. Maybe.

WELP OKAY 799 -> 1099 WORKED GG

TL;DR: EACH ENERGY TANK IS WORTH 100. THE CORRECT FORMULA IS 99+(100*eTANKS). EVERYTHING WORKS EXACTLY AS ADVERTISED AND I AM JUST AN IDIOT

I went ahead and tried to change the super missiles and power bombs but then my game wouldn't load. I'm not sure if it's corruption or not but that might be worth a look. I also wasn't able to determine what my ability time value was. I counted it in seconds with both abilities but neither took in the editor. Otherwise, though, the two most desired options appear to work. Really the only other thing I'm interested in is changing the game time, which I know was removed.

Now I am confused xD

Well whatever. I changed the editor completely... again and this time you don't need to do any calculations (e.g. Saves max value - Extra value = Whatever), all you do is type the max value you see on screen and that's it. Not going to write all the changes now. When I release v0.3, that's when I will write all the changes made to the editor.
 

kerobscure

Well-Known Member
Newcomer
Joined
Oct 28, 2015
Messages
88
Trophies
0
Age
30
XP
534
Country
what do you mean? what type (post a screen shot)? I haven't encountered any issues when opening files.

Windows 10 pro, 64 Bits

The message it's in Spanish
Pifb4Rg.png
 

kerobscure

Well-Known Member
Newcomer
Joined
Oct 28, 2015
Messages
88
Trophies
0
Age
30
XP
534
Country
@kerobscure I made a typo in the program. Will quickly fix it. Thanks for letting me know.

--------------------- MERGED ---------------------------

Updated it to v0.3a. View the change log in the main post to see what changed/was fixed.


Does this save editor unlock the Sound Test? Because it does not unlock me
 

wowwow

Active Member
Newcomer
Joined
Sep 20, 2009
Messages
43
Trophies
0
XP
654
Country
United States
just to inform
i tried to move a save to the fusion mode
just to quickkly finish it, i changed the max energy to 1099, the max missile to 264 and the max aeion to 2000
strangely it also give me the screw attack
dont know why it give me
i only used the v0.3 and enable the fusion and amiibo unlocks
im just before the first metroid and with the screw attack
 

BtEtta

Well-Known Member
Member
Joined
Apr 9, 2016
Messages
147
Trophies
0
XP
718
Country
There seems to be a problem with editing my save.
Changing Max/Current Health — works (from 1099 to 9099)
Changing Max/Current Missiles — works (from 249 to 900)
Changing Max/Current Super Missiles — no effect (from 32 to 99)
Changing Max/Current Power Bombs — game will crash [stuck on black screen] before title screen (from 20 to 50)
This was just from testing sequential edits (i.e. each edit assumes the others above it have also been applied) so I have no idea if, for example, just editing Power Bombs alone will not result in the crash.

I compared the edited file (with just Health/Missile changes) versus the clean save to see what was being changed (floats? no checksum?) and used that knowledge to apply the Super Missile/Power Bomb changes manually — this edit works fine.
I've attached my clean save.
 

Attachments

  • profile0.zip
    11 KB · Views: 261

rog9001

Well-Known Member
OP
Member
Joined
Aug 13, 2016
Messages
119
Trophies
0
XP
469
Country
Japan
There seems to be a problem with editing my save.
Changing Max/Current Health — works (from 1099 to 9099)
Changing Max/Current Missiles — works (from 249 to 900)
Changing Max/Current Super Missiles — no effect (from 32 to 99)
Changing Max/Current Power Bombs — game will crash [stuck on black screen] before title screen (from 20 to 50)
This was just from testing sequential edits (i.e. each edit assumes the others above it have also been applied) so I have no idea if, for example, just editing Power Bombs alone will not result in the crash.

I compared the edited file (with just Health/Missile changes) versus the clean save to see what was being changed (floats? no checksum?) and used that knowledge to apply the Super Missile/Power Bomb changes manually — this edit works fine.
I've attached my clean save.

Thanks for letting me know. I just tried using the save editor on your save to see what is happening, Changing the max super missiles didn't work because the number 32 can be encountered 3 times in your save file and the first 1st number 32 isn't super missiles, idk what it is. Changing max power bombs works just fine, have you tried replenishing power bombs? cuz that's something that doesn't work. Will look into these issues in a bit.

Also, you can edit anything you want in any order, it doesn't have to be sequential

--------------------- MERGED ---------------------------

does this game save the number of deaths encountered? as the old metroids did (I think).

Idk. Will look into that as well.
 
  • Like
Reactions: naddel81

BtEtta

Well-Known Member
Member
Joined
Apr 9, 2016
Messages
147
Trophies
0
XP
718
Country
It looks like choosing 50 for my max Power Bombs may be the problem as that value occurs more than a few times too. But I'm looking into things a bit more and may have more to help you in a bit.

Edit: So here's what I'm finding. This is the block of data that seems to govern the inventory. As you already know it can move about within the save file.
Code:
09 E5 0E EE 66 00 00 48 42
55 F1 D6 B6 66 00 00 79 43
FE 98 15 19 66 00 00 48 42
70 83 38 90 66 00 60 89 44
E9 87 77 35 66 00 00 A0 41
CB A0 FF DF 66 00 00 00 42
77 56 1E 39 66 00 00 80 3F
9B D1 2C 5A 66 00 80 09 45
73 3C 15 CE 66 00 60 89 44
42 CE D4 2A 66 00 00 79 43
45 5A 1D 6A 66 00 00 00 42
B0 74 A1 EE 66 00 00 A0 41
63 4D C5 41 66 00 00 80 3F
20 04 62 96 66 00 00 80 3F
19 4F 3B AA 66 00 00 80 3F
EA 9E 38 2B 66 00 00 80 3F
A9 FB 07 78 66 00 00 80 3F
57 6E 48 03 66 00 00 80 3F
B9 80 5F 37 66 00 80 09 45
46 2D 24 63 66 00 00 00 00
A3 44 23 D9 66 00 00 80 3F
03 FD A5 8A 66 00 00 80 3F
06 F5 8B 9C 66 00 00 80 3F
7D 14 58 10 66 00 00 80 3F
F7 E0 6C 74 66 00 00 80 3F
8E 72 72 BA 66 00 00 80 3F
5C BD 3A 2B 66 00 00 80 3F
CB B3 72 C9 66 00 00 80 3F
CB 79 05 19 66 00 00 80 3F
48 71 DB B7 66 00 00 80 3F
D5 5B 97 14 66 00 00 80 3F
99 9D AC AD 66 00 00 80 3F
E6 E8 EC B4 66 00 00 80 3F

It seems you've got:
[4 byte ID] [0x66] [Quantity (32-bit float)]

As far as my save files go The IDs are consistent, as is their order in the file.
I've identified the following so far, does this track with your saves?
Code:
FULL ID LIST (numbers for unknowns are the quantities in my most recent save)
09 E5 0E EE - ??[50]
55 F1 D6 B6 - Missiles Max
FE 98 15 19 - ??[50]
70 83 38 90 - Health Max
E9 87 77 35 - Power Bombs Max
CB A0 FF DF - Super Missiles Max
77 56 1E 39 - ??[1]
9B D1 2C 5A - Aeion Energy Max
73 3C 15 CE - Health Current
42 CE D4 2A - Missiles Current
45 5A 1D 6A - Super Missiles Current
B0 74 A1 EE - Power Bombs Current
63 4D C5 41 - ??[1]
20 04 62 96 - ??[1]
19 4F 3B AA - ??[1]
EA 9E 38 2B - ??[1]
A9 FB 07 78 - ??[1]
57 6E 48 03 - ??[1]
B9 80 5F 37 - Aeion Energy Current
46 2D 24 63 - ??[0]
A3 44 23 D9 - ??[1]
03 FD A5 8A - ??[1]
06 F5 8B 9C - ??[1]
7D 14 58 10 - ??[1]
F7 E0 6C 74 - ??[1]
8E 72 72 BA - ??[1]
5C BD 3A 2B - ??[1]
CB B3 72 C9 - ??[1]
CB 79 05 19 - ??[1]
48 71 DB B7 - ??[1]
D5 5B 97 14 - ??[1]
99 9D AC AD - ??[1]
E6 E8 EC B4 - That "power up" you get right at the end of the game.

I also not that there are 19 unknown IDs with a quantity of 1. I made a list of power ups, there are also 19.
Code:
Power Beam
Charge Beam
Ice Beam
Wave Beam
Grapple Beam
Spazer Beam
Plasma Beam
Missiles
Super Missiles
Bomb
Power Bomb
Varia Suit
Gravity Suit
Morph Ball
Spider Ball
Spring Ball
High Jump
Space Jump
Screw Attack

I'm right at the end of the game now but it might be interesting to track whether those IDs and power ups do match up one to one.

If this is the same in your saves, you should be able to do away with needing to enter the existing values.

(Also, how/where was the play time stored in the file?) Edit: Never mind, found it.
 
Last edited by BtEtta,

rog9001

Well-Known Member
OP
Member
Joined
Aug 13, 2016
Messages
119
Trophies
0
XP
469
Country
Japan
It looks like choosing 50 for my max Power Bombs may be the problem as that value occurs more than a few times too. But I'm looking into things a bit more and may have more to help you in a bit.

Edit: So here's what I'm finding. This is the block of data that seems to govern the inventory. As you already know it can move about within the save file.
Code:
09 E5 0E EE 66 00 00 48 42
55 F1 D6 B6 66 00 00 79 43
FE 98 15 19 66 00 00 48 42
70 83 38 90 66 00 60 89 44
E9 87 77 35 66 00 00 A0 41
CB A0 FF DF 66 00 00 00 42
77 56 1E 39 66 00 00 80 3F
9B D1 2C 5A 66 00 80 09 45
73 3C 15 CE 66 00 60 89 44
42 CE D4 2A 66 00 00 79 43
45 5A 1D 6A 66 00 00 00 42
B0 74 A1 EE 66 00 00 A0 41
63 4D C5 41 66 00 00 80 3F
20 04 62 96 66 00 00 80 3F
19 4F 3B AA 66 00 00 80 3F
EA 9E 38 2B 66 00 00 80 3F
A9 FB 07 78 66 00 00 80 3F
57 6E 48 03 66 00 00 80 3F
B9 80 5F 37 66 00 80 09 45
46 2D 24 63 66 00 00 00 00
A3 44 23 D9 66 00 00 80 3F
03 FD A5 8A 66 00 00 80 3F
06 F5 8B 9C 66 00 00 80 3F
7D 14 58 10 66 00 00 80 3F
F7 E0 6C 74 66 00 00 80 3F
8E 72 72 BA 66 00 00 80 3F
5C BD 3A 2B 66 00 00 80 3F
CB B3 72 C9 66 00 00 80 3F
CB 79 05 19 66 00 00 80 3F
48 71 DB B7 66 00 00 80 3F
D5 5B 97 14 66 00 00 80 3F
99 9D AC AD 66 00 00 80 3F
E6 E8 EC B4 66 00 00 80 3F

It seems you've got:
[4 byte ID] [0x66] [Quantity (32-bit float)]

As far as my save files go The IDs are consistent, as is their order in the file.
I've identified the following so far, does this track with your saves?
Code:
FULL ID LIST (numbers for unknowns are the quantities in my most recent save)
09 E5 0E EE - ??[50]
55 F1 D6 B6 - Missiles Max
FE 98 15 19 - ??[50]
70 83 38 90 - Health Max
E9 87 77 35 - Power Bombs Max
CB A0 FF DF - Super Missiles Max
77 56 1E 39 - ??[1]
9B D1 2C 5A - Aeion Energy Max
73 3C 15 CE - Health Current
42 CE D4 2A - Missiles Current
45 5A 1D 6A - Super Missiles Current
B0 74 A1 EE - Power Bombs Current
63 4D C5 41 - ??[1]
20 04 62 96 - ??[1]
19 4F 3B AA - ??[1]
EA 9E 38 2B - ??[1]
A9 FB 07 78 - ??[1]
57 6E 48 03 - ??[1]
B9 80 5F 37 - Aeion Energy Current
46 2D 24 63 - ??[0]
A3 44 23 D9 - ??[1]
03 FD A5 8A - ??[1]
06 F5 8B 9C - ??[1]
7D 14 58 10 - ??[1]
F7 E0 6C 74 - ??[1]
8E 72 72 BA - ??[1]
5C BD 3A 2B - ??[1]
CB B3 72 C9 - ??[1]
CB 79 05 19 - ??[1]
48 71 DB B7 - ??[1]
D5 5B 97 14 - ??[1]
99 9D AC AD - ??[1]
E6 E8 EC B4 - That "power up" you get right at the end of the game.

I also not that there are 19 unknown IDs with a quantity of 1. I made a list of power ups, there are also 19.
Code:
Power Beam
Charge Beam
Ice Beam
Wave Beam
Grapple Beam
Spazer Beam
Plasma Beam
Missiles
Super Missiles
Bomb
Power Bomb
Varia Suit
Gravity Suit
Morph Ball
Spider Ball
Spring Ball
High Jump
Space Jump
Screw Attack

I'm right at the end of the game now my it might be interesting to track whether those IDs and power ups do match up one to one.

If this is the same in your saves, you should be able to do away with needing to enter the existing values.

(Also, how/where was the play time stored in the file?)

-______________________-

ehhhhhhh . . . sorry I am just really bored right now. Also I will check out everything that you shared with me. About the play time, it wasn't really play time, I mean it was but its just text nothing more. Idk how play time is stored for this game, I thought it would be just like any other game aka convert time to milliseconds and there is your value as a int 32 but I guess its not.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: Nope. Not into gaming.