JSI Tip 5675. Resource Hacker TM freeware.

Jerold Schulman

August 29, 2002

4 Min Read
ITPro Today logo in a gray background | ITPro Today


http://www.users.on.net/johnson/resourcehacker/ begins with:




What is Resource HackerTM?

Resource HackerTM is a freeware utility to view, modify, rename, add, delete and extract resources in 32bit Windows executables and resource files (*.res). It incorporates an internal resource script compiler and decompiler and works on Win95, Win98, WinME, WinNT, Win2000 and WinXP operating systems.Viewing Resources: Cursor, Icon, Bitmap, GIF, AVI, and JPG resource images can be viewed. WAV and MIDI audio resources can be played. Menus, Dialogs, MessageTables, StringTables, Accelerators, Delphi Forms, and VersionInfo resources can be viewed as decompiled resource scripts. Menus and Dialogs can also be viewed as they would appear in a running application.Saving Resources: Resources can be saved as image files (*.ico, *.bmp etc), as script files (*.rc), as binary resource files (*.res), or as untyped binary files (*.bin).Modifying Resources: Resources can be modified by replacing the resource with a resource located in another file (*.ico, *.bmp, *.res etc) or by using the internal resource script compiler (for menus, dialogs etc). Dialog controls can also be visually moved and/or resized by clicking and dragging the respective dialog controls prior to recompiling with the internal compiler.Adding Resources: Resources can be added to an application by copying them from external resource files (*.res).Deleting Resources: Most compilers add resources into applications which are never used by the application. Removing unused resources can reduce an application's size.


Last Updated:

24 March 2002Version: 3.4.0


Author & Copyright:

Angus Johnson© Copyright 1999-2002


Licence to Use - Terms and Conditions:

This Resource HackerTM software is released as freeware provided that you agree to the following terms and conditions:

DISCLAIMER: A user of this Resource HackerTM software acknowledges that he or she is receiving this software on an "as is" basis and the user is not relying on the accuracy or functionality of the software for any purpose. The user further acknowledges that any use of this software will be at the user's own risk and the copyright owner accepts no responsibility whatsoever arising from the use or application of the software.

The above licence terms constitute "copyright management information" within the meaning of Section 1202 of Title 17 of the United States Code and must not be altered or removed from the licensed works. Their alteration or removal from the licensed works, and the distribution of licensed works without all the above licence terms in an unaltered way, may contravene Section 1202 and give rise civil and/or criminal consequences.


Known Limitations:

Limitation:Resource HackerTM will not read 16bit (Windows 3.1) executables.Status:I have no intention of supporting these executables -they are a dying breed.The shareware resource editor eXeScope I believe does handle 16bit files.

Limitation:Resource HackerTM is currently compiled with Delphi 3.02.When decompiling and recompiling Borland's Delphi forms in applications compiled with later version of Delphi, there may be errors in the recompiled forms if frames have been used to create the form. This error is due to the inline DFM keyword not being recognized. While decompiling, the inline keyword will be replaced by object and, if manually corrected before recompiling, inline will be rejected by the internal compiler.Status:I'm not rushing to make all the changes that are necessary to recompile Resource HackerTM with the latest version of Delphi.

Limitation:To reduce the size of application files, some applications are "packed" or "compressed" using an EXE compressor once they have been compiled. This has a side-effect of making it more difficult to view and modify resources. When a "compressed" executable is viewed with Resource HackerTM, only resource types and names will be visible but not the actual resources.Status:This is not viewed as a bug. The application developer may well have viewed this as beneficial feature so no "fix" is planned.



Download Sites for Version 3.4.0

  Europe (Zip File 541kb)  Australia (Zip File 541kb)


Resource HackerTM translations:

  Simplified Chinese:  (Ver 3.4.0)  Translation by: Darong Lv  Traditional Chinese:  (Ver 3.2.10)  Translation by: Menghsi Wu  Japanese:  (Ver 3.4.0)  Translation by: Yoshiroh MaruokaI do not intend to host any other translations of Resource HackerTM.



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like