Thursday, August 6, 2009

How to modify *.exe files

You can acomplish this in 5 easy steps:

1) First off all, you need Resource Hacker. It's a resource editor very easy to use.You can download it from http://www.users.on.net/johnson/resourcehacker


2) Unzip the archive, and run ResHacker.exe.

3) You will see that the interface is simple and clean. Go to the menu File\Open or
press Ctrl+O to open a file. Browse your way to the file you would like to edit.
You can edit *.exe, *.dll, *.ocx, *.scr and *.cpl files, but this tutorial is meant
to teach you how to edit *.exe files, so open one.

4) In the left side of the screen a list of sections will appear.
The most common sections are:
-Icon;
-String table;
-RCData;
-Dialog;
-Cursor group;
-Bitmap;
-WAV.

5) In the RCData, Dialog, Menu and String table sections you can do a lot of changes. You can modify or translate the text change links, change buttons, etc.


=> To change a window title, search for something like: CAPTION "edit this".

=>After all operations press the "Compile Script" button, and when you're done editing save
your work @ File\Save(Save as).

=> When you save a file, the original file will be backed up by default and renamed to Name_original and the saved
file will have the normal name of the changed program.

=>Sometimes you may get a message like: "This program has a non-standard resource layout... it has probably been compressed with an .EXE compressor." That means that Resource Hacker can't modify it because of it's structure.

No comments:

Post a Comment