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 


Patching a file after finding ram addresses UPDATE

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
vaques
How do I cheat?
Reputation: 0

Joined: 28 Apr 2023
Posts: 1

PostPosted: Fri Apr 28, 2023 2:13 am    Post subject: Patching a file after finding ram addresses UPDATE Reply with quote

I've been tinkering with an exe game. After finding a memory address I wanted to change using Cheat Engine (I want to change a je to a jne op), I successfully managed to change the game's code.

I want to modify the .exe file so that when I launch the game, that je is already modified to a jne. However, I read that when editing memory in Cheat Engine, the memory modified is RAM, and therefore I cannot use any tools such as olly or x64dbg (because they modify disk memory, not RAM) to patch the exe.

I tried to find the address I found in CE at the disk file memory, but it seems as if the memory is only available after the game.exe is launched.

The address is addressable using a modulename+offset.

I tried changing the opcode (je->jne), then hit Scan for patches, but nothing showed up in the patches window.

Can anyone help? I have been stuck on this issue for a while now and it's really annoying Sad
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 138

Joined: 06 Jul 2014
Posts: 4275

PostPosted: Fri Apr 28, 2023 12:30 pm    Post subject: Reply with quote

It works fine for me. My best guess is that you're doing something wrong. Try it on the CE 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
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