What is Resourcer?
Windows executables (or more specifically, Win32 PE files) often contain a small database of resources, these are graphics files, text strings, icons, and other programming paraphernalia. Often it can be advantageous to modify these resources, such as to modify a program's visual appearance or to correct a mistranslation in a string table. Anolis Resourcer is a "resource hacker" program which enables you to do this.
Anolis Resourcer is a free and open-source utility to view, replace, add, delete, and extract resources located in 32-bit and 64-bit Windows executables and resource (*.res) files. It is written in C# and runs on any system for which the .NET Framework 2.0 exists (i.e. Windows 98 and later).
- Viewing Resources
Supports viewing bitmaps, icons, cursors, a wide variety of image formats (GIF, JPEG, PNG, and more), AVI animations. Menus, Dialogs, Version Information, and String Tables can all be viewed and dissected.
There is also a thumbnail view for most resource data formats so you can see them all at a glance without having to extract them individually. Three thumbnail sizes available (16x16, 32x32, and 96x96)
- Exporting and Extracting Resources
All resources can be saved to disk as a raw data file (*.bin), additionally most "known" data types, such as images, icons, and cursors can be saved to their appropriate file formats.
You can also batch extract all resources (or just "visual" resources) from a single file, or a directory full of executables in a couple of mouse-clicks. Select the "Batch Export" menu item under Tools or the Open Button's side menu.
- Replacing and Updating Resources
You can replace most resources with their file-based equivalents (i.e. replace a Bitmap resource with a *.bmp file, or an Icon Directory resource with an *.ico file). Further options are available for some types, like icons (see "Intelligent Icons" below).
Some resource types don't have a special file format (like Version Information, or String Tables), in which case during replacement their raw data is replaced with the raw data from a file. Use caution with this procedure.
- Intelligent Icon Replacement
Icon resources are stored in two places: the "directory" containing references to sub-images is stored in the Icon Directory resource, and the actual images that make up an icon are stored in the Icon Images area.
Most resource editors delete the old subimages before adding new ones and overwriting the directory. Resourcer has the option to "merge" icons instead, so you end up with the union of the original icon and the new file's icon.
- Vista MUI and RC CONFIG Aware
Windows Vista introduced some changes to the resource model with "RC Config" and MUI files. Resourcer is aware of these changes and can work around them to achieve the results you're after.
- x64 Support
Resourcer runs on the .NET Framework, so it will run as an x64 program on x64 systems (and thus, not be subject to x64's WOW64 filesystem and API sandboxing).
But more importantly: Resourcer can perform the same operations it does on 32-bit executable files as to 64-bit executable files, ensuring forwards-compatibility for modern computing systems.
- Ancillary Features
- Portable - Requires no installation, just extract and run
Command-Line Arguments- Automate resource tasks from a batch/command scripting environment
- Extensible and Developer Friendly - Reference Resourcer in your .NET projects to allow your programs to work with resources directly. You can also extend Resourcer with your own code for working with specific resource data types and source file formats.
Anolis Resourcer is licensed under GPLv2. In a nutshell it means:
- You are free to redistribute Resourcer's source code or compiled executables (as long as it isn't modified)
- If you make modifications to the program, you must distribute them under the same GPL license (and provide the changes' source code)
- Resourcer is provided without any warranty.
The latest version is 0.9, released 1st September 2009, 387KB. Download.