Jump to content

Recommended Posts

Posted

My disasm engine spits out mnemonics and the works.  I'm tempted to do likewise for his executable.  I'd copy the original code to the new section and set a check(config parsed at startup or new map) to execute original or jump over to the patched or nopped code, then back to the regular execution.  Clean, simple and efficient.

 

As for nasm files, meh, I'd just write my own mini assembler ;)

Posted

Not a bad idea, you should join our IRC channel and hang around there ;)

Do you know our patching systems? We turn the exe into an object file and compile our own asm/c/c++ to separate object files and afterwards link it all together

Posted

The only time I've ever really used patches like these is to create cheats.

 

So, what are you guys on about? Do you really need to "patch" your little hearts out? IMHO this should be considered cheating.

 

Now people will think a "patch" cannot be bad. Well, yeah, it can be pretty bad. It usually gives the guy who has the "patch" significant advantages.

 

 

CreateFile on both files

ReadFile on both

 

[...]

 

iterate until through ( *pbOldCodeSection != *pbPatchedCodesection )

A lot of WinAPi and hungarian notation, eh? Typical CnC hacker...

Posted

The only time I've ever really used patches like these is to create cheats.

 

So, what are you guys on about? Do you really need to "patch" your little hearts out? IMHO this should be considered cheating.

 

Now people will think a "patch" cannot be bad. Well, yeah, it can be pretty bad. It usually gives the guy who has the "patch" significant advantages.

 

 

CreateFile on both files

ReadFile on both

 

[...]

 

iterate until through ( *pbOldCodeSection != *pbPatchedCodesection )

A lot of WinAPi and hungarian notation, eh? Typical CnC hacker...

 

Grow up.  I hacked FPS games long before I took a whack at CnC.

 

It's easy to determine whether a patch gives an advantage or not, just have a whitelist.  Ergo, what are you talking about.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...