
Once a resource file has been opened, its resources will generally be displayed as either an image (or group of images) or as decompiled text.

Filenames that contain spaces must be enclosed within double-quote characters.Ĭompiler error messages are reported, even errors nested within INCLUDE statements. Filenames with relative paths are allowed. Script comments are preceded either by double forward-slashes (//) or by a semi-colon ( ).

A double-quote within a string must be 'escaped' using either a preceding backslash or with another double-quote. Strings, between double-quote (") characters, may contain typical 'C' style backslashed 'escaped' characters - \t, \n, \\, \", \x, \u and \377 (octal). #DEFINE, #UNDEF, #IF, #ELIF, #ELSE, #IFDEF, #IFNDEF, #INCLUDE, and #PRAGMA directives are all supported.

While Resource Hacker™ is primarily a GUI application, it also provides many options for compiling and decompiling resources from the command-line.Ĭompiling can be initiated either by opening an existing resource script file, or by creating one from scratch using Resource Hacker's editor.Ī complete list of Resource-Definition Statements can be found here.Īdditional features of Resource Hacker's compiler include: The #INCLUDE directive (to access definition statements in header files etc) can be nested to multiple levels, as can the #IF, and #IFDEF directives. It's both a resource compiler (for *.rc files), and a decompiler - enabling viewing and editing of resources in executables (*.exe *.dll *.scr etc) and compiled resource libraries (*.res, *.mui). Resource Hacker™ is a resource editor for 32bit and 64bit Windows® applications. a freeware resource compiler & decompiler for Windows® applicationsįreeware - no nags, no ads and fully functional.
