| View previous topic :: View next topic |
| Author |
Message |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
Posted: Wed May 08, 2013 11:39 am Post subject: Making edits to the executables themselves. |
|
|
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 |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Wed May 08, 2013 1:25 pm Post subject: |
|
|
| 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 |
|
 |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
Posted: Thu May 09, 2013 12:26 am Post subject: |
|
|
| 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 |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Thu May 09, 2013 6:22 pm Post subject: |
|
|
...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 |
|
 |
TsTg Master Cheater
Reputation: 5
Joined: 12 Dec 2012 Posts: 340 Location: Somewhere....
|
Posted: Fri May 10, 2013 11:25 am Post subject: |
|
|
PE identifier tools:
-RDG Packer Detector
-Exeinfo PE
-ProtectionID
they all are good apps to try
|
|
| Back to top |
|
 |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
Posted: Sat May 11, 2013 3:29 am Post subject: |
|
|
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 |
|
 |
TsTg Master Cheater
Reputation: 5
Joined: 12 Dec 2012 Posts: 340 Location: Somewhere....
|
Posted: Sat May 11, 2013 3:36 am Post subject: |
|
|
did you try editing it in ollydbg ?
and can you post the entrypoint bytes here
|
|
| Back to top |
|
 |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
Posted: Sun May 12, 2013 3:53 pm Post subject: |
|
|
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 |
|
 |
|