quote:
Originally posted by MenthiX
How did you figure out on which offset you should be and what to change it to?
He didn't
Easiest way, and the way that 99% of the people who create patches do it is simply by byte-comparing a patched executable with a non patched executable (This can even be done with the DOS command FC.exe). In other crude words: they simply copy the things that other people have found...
The disadvantage of this is that you don't know what exactly you're doing and why.
(And this is also the cause that polygamy patches almost always patch different bytes then the ones shown by Ahmz_055. These different bytes/offsets are all copied from other patches. Note: Ahmz_055 changed this in his latest patch, before he also had those different bytes. To know what the difference is between the ones shown and the others see " Polygamy (what/why/how/etc...)")
The hard way (and only true way), is by disassembling the executable. The big benefit from this is that you know exactly what you're patching and why.
quote:
Originally posted by MenthiX
Are there any tools you use for it or another method?
Some compare tools to do the easy job (like anyone else). eg: fc.exe (standard DOS tool, compares text and binary) or any other dedicated tool (any decent hex-editor can do it also of course).
Some hex-editing (hexadecimal editor) tools. Again, searching the web is the answer, there are millions. Personaly I use the not-free but very decent
Hexworks)
If you realy mean bussiness, some dissassembler. Yep, search the web...
quote:
Originally posted by MenthiX
I would to know a bit more so i can do some hex editing on other programs as well .
My advise would be to d/l some free hex-editor and start peeking around in files with it. And don't just do it on executables (most stuff you'll see will not make any sense anyways), but start with other files like GIF's, BMP's, word documents, StuffPlug-NG translation files, wav-files, etc... and also seek info about the file format that you're looking at (eg: on
http://www.wotsit.org/ you'll find lots of formats)
And after that start changing some bits 'n bolds in the files with the hexeditor and see what it will do to the files. In this way you'll get a quick notion on what those
strange numbers and characters are that you'll see in a hex-editor and how to deal with them (which is for each type of file very different).
May I also point out that the title of this thread isn't correct
This isn't a tutorial on Resource Hacker, nor on Hex-editing. (I once made one on hex-editing though, but the thread got deleted I think when the main subject of that thread became redundant (tabs in 6.1.x)
)
quote:
Originally posted by Pr0xY
Alot of nice info for someone who wants to learn about Hex Editing.
tbh, the info in this thread is of no value what-so-ever to those who want to learn about hex editing. Except for the polygamy patch (which isn't explained), there is nothing in this thread which has got anything todo with "hex-editing". Sorry, Ahmz_055... the "
[how-to] skin/change stuff in msn messenger 7.0.0604"* of yours is nice though.
PS: Don't forget to update all your threads on all those forums when something changes, Ahmz_055
* "
[how-to] skin/change stuff in msn messenger 7.0.0604" would be a more correct/appropiate title of this thread.