Posted: Thu Jan 12, 2023 12:36 pm Post subject: AM2R Unable To Create Scripts Due To Complicated Game Struct
I cannot make a simple invincibility script on Another Metroid 2 Remake v1.5.5 due to the accessed and written to HP pointer having hundreds if not thousands of other addresses running through the same spot in disassembler.
It's very strange since AM2R v1.5 was easy enough to write scripts for!
I've tried making scripts for all of these places in disassembler but using mov [eax],99 or mov [edi],99 messes up the game and doesn't keep HP at 99. I ask, is there a tutorial that covers this issue on here? If not can someone help me?
I'm guessing it's a double. Moving a 4-byte value of 99 is completely wrong.
The last instruction is the only one that writes a floating point value to that address. Find out what other addresses that instruction accesses. If nothing else, simply inject there; otherwise, see step 9 of the tutorial. _________________
I don't know where I'm going, but I'll figure it out when I get there.
I'm guessing it's a double. Moving a 4-byte value of 99 is completely wrong.
The last instruction is the only one that writes a floating point value to that address. Find out what other addresses that instruction accesses. If nothing else, simply inject there; otherwise, see step 9 of the tutorial.
Thanks for your reply! I've checked out step 9 and some YouTube tutorials, but my issue is not quite the same. You see, messing with these scripts with or without testing a compare to a number that's only unique to you doesn't seem to work.
You'll visually see the HP only change to 100 no matter what but you'll still take on damage. The missile ammo counter visual is affected too. It's as if the opcodes accessing my HP pointer has nothing to do with whether or not I'm taking damage.
You can still click on my HP pointer to keep your HP at 99 though.
Capture6.PNG
Description:
This is 1 among many attempts at creating a script.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum