Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


AM2R Unable To Create Scripts Due To Complicated Game Struct

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Gear2ndGandalf
Newbie cheater
Reputation: 0

Joined: 22 Jan 2018
Posts: 19
Location: USA

PostPosted: Thu Jan 12, 2023 12:36 pm    Post subject: AM2R Unable To Create Scripts Due To Complicated Game Struct Reply with quote

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?



Capture2.PNG
 Description:
 Filesize:  35.95 KB
 Viewed:  968 Time(s)

Capture2.PNG



Capture.PNG
 Description:
Instructions accessing HP pointer.
 Filesize:  18.49 KB
 Viewed:  968 Time(s)

Capture.PNG


Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4293

PostPosted: Thu Jan 12, 2023 2:13 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Gear2ndGandalf
Newbie cheater
Reputation: 0

Joined: 22 Jan 2018
Posts: 19
Location: USA

PostPosted: Thu Jan 12, 2023 4:31 pm    Post subject: Reply with quote

ParkourPenguin wrote:
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.
 Filesize:  117.61 KB
 Viewed:  930 Time(s)

Capture6.PNG


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites