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 


Making edits to the executables themselves.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Wed May 08, 2013 11:39 am    Post subject: Making edits to the executables themselves. Reply with quote

So with older/simpler games on a custom engine (such as Cave Story), I can generally browse for the hex of the ASM I want to change inside Doukutsu.exe, make the edits, and bam I have a cracked/modified copy of the EXE (so I can make a patch, etc.)

Of course, if the executable is packed or encrypted in any sort of way, that doesn't work. Is there any easy way to get around that?
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed May 08, 2013 1:25 pm    Post subject: Reply with quote

First, you have to identify the packer. You can use PEiD to do that. Once identified, use PEiD or some specific unpacker to unprotect the .exe.
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Thu May 09, 2013 12:26 am    Post subject: Reply with quote

GNIREENIGNE wrote:
First, you have to identify the packer. You can use PEiD to do that. Once identified, use PEiD or some specific unpacker to unprotect the .exe.
Thanks!
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Thu May 09, 2013 6:22 pm    Post subject: Reply with quote

...Or make a loader that will start the game, wait until decryption is done and apply your patch. d i a b l o2oo2's* Universal Patcher can do that if you're able to find a dword that tells when the decryption/unpacking is finished.

*sorry for the spaces, wordfilters think it's an rpg from blizzard.
Back to top
View user's profile Send private message
TsTg
Master Cheater
Reputation: 5

Joined: 12 Dec 2012
Posts: 340
Location: Somewhere....

PostPosted: Fri May 10, 2013 11:25 am    Post subject: Reply with quote

PE identifier tools:

-RDG Packer Detector
-Exeinfo PE
-ProtectionID

they all are good apps to try Smile
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Sat May 11, 2013 3:29 am    Post subject: Reply with quote

So I tried BIT.TRIP RUNNER (steam version) as a test (since it doesn't appear to be flash with a launcher), but none of the programs were able to detect anything specific, other than ProtectionID noting that it had Steam security in it.

Yet when I bring it into a hex editor, I can't see any of the 'raw' ASM like I do with other simpler executables (nethack, Cave Story, etc.)

Is there some essential step I'm missing due to my inexperience?
Back to top
View user's profile Send private message
TsTg
Master Cheater
Reputation: 5

Joined: 12 Dec 2012
Posts: 340
Location: Somewhere....

PostPosted: Sat May 11, 2013 3:36 am    Post subject: Reply with quote

did you try editing it in ollydbg ?
and can you post the entrypoint bytes here
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Sun May 12, 2013 3:53 pm    Post subject: Reply with quote



Tried opening it in Olly 1.10, got these messages...





And while it appears to open fine, the code there does not match what I see in CE's memory viewer. I even tried searching the main CPU thread window for just "7C 05", and while it found some entries, none of them seemed to be what I'm looking for.

For reference, this is the note I saved on the mod I'm trying to do as an example.
Code:
One Gold Collects All
00407344
7C 05 -> EB 05
jnge to jmp

0040733C - 89 0D 7C7D5600        - mov [00567D7C],ecx
00407342 - 3B C8                 - cmp ecx,eax
00407344 - 7C 05                 - jnge 0040734B
00407346 - A3 7C7D5600           - mov [00567D7C],eax
0040734B - B9 90C05B00           - mov ecx,005BC090 : [021CD1F8]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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