Resource Hacker FX: the improved Resource Hacker

Note: The most recent version of Resource Hacker incorporates most of the changes that this patch offers. Therefore, Resource Hacker FX is considered obsolete, and the post is here mostly for historical reasons.

Remember the good ol’ Resource Hacker?
It’s a popular Resource viewer/editor, I use it to quickly view and edit resources. I tried to find an alternative, but I did not find any that I liked, so I decided to just improve Resource Hacker.

Here is a patcher that needs to be used on the original Resource Hacker v3.6.0.92:
zip Resource Hacker FXer.zip (117.97 kB, changelog)

Here is how it looks:

What does the patcher change:

  1. Partial Unicode support.
    More details.
  2. A new interface with modern icons and a manifest.
    Icons by Yusuke Kamiyamane.
  3. Resource Hacker FX does not create tree nodes for every language. Usually only one language is used anyway, so it makes it much faster to navigate through resources.
  4. Resource Hacker FX uses the new open and save common dialogs instead of the old outdated ones. Also, some saving as parameters got improved: the directory of the current file is initially shown, the file name gets filled, the extension is automatically added if not specified.
  5. If you have a modified file open and you close Resource Hacker FX, you have a Cancel option when asked whether you would like to save the file. Also, if you choose to save it, it just gets saved instead of saving as.
  6. The Hex viewer shows only the first 10 KB of the binary resource by default to prevent hanging Resource Hacker FX. I could not really fix it, as it’s the Rich Edit control’s fault, it’s quite slow with large texts. Well, it’s not too smart to use Rich Edit to view a Hex dump, but that’s how it works. 10 KB should be usually enough to understand what the resource is about. If it isn’t, you can hold shift to load the whole resource.
  7. Other minor additions, like e.g. double click to replace resource, minimizing/maximizing effects.
  8. Lots of bug fixes.
Posted in Releases, Software by Michael (Ramen Software) on March 13th, 2011.
Tags:

395 Responses to “Resource Hacker FX: the improved Resource Hacker”

  1. Pablo mkenya says:

    Well done! with the patch.
    my problem however might be a bit off topic. . . . . after modifying my shell3*.dll with high res icons, the resulting files is about 30Mb. but when put it to use and reboot, several application crash and report that “shell32 dll has occupied space allocated for user32 dll in system memory”.
    how would you resolve such assuming i want to keep my high resolution icons?

    • I’m afraid I don’t know, I’ve never encountered such an issue before. Perhaps the system doesn’t support the shell32 library being so large.

    • Zero Dubby says:

      If I recall correctly, the system dll is bounded to specific address range.. if the size is grown beyond the boundaries, usually it will cause an error for several application…
      actually there is one possibility to achieve that.. but its include patching the shell and it’s not an easy process… (assuming you are using XP then its possible… been done that before, but currently its still very unstable…. Wanna to recreate them but I’m still in the middle of another jobs…)

  2. Pablo mkenya says:

    Thanks you 2 for the responces.
    i just had to give in to reducing the icons resolution and then rebuilding the shell allover again.
    Down from 30+MB to 14.5MB and no more errors!

    Your patch has made my life so much easier…… THANKS!

  3. mojeed says:

    I need your assistance

  4. Jacker says:

    is it for Windows 8.1 update 1 too?

  5. WanderMax says:

    after patched ,and the About dialog shows a error ,hope you can fix it.

  6. Syahfry says:

    How to see the Source Tool coding Here Existing “https://docs.google.com/file/d/0B4JcSFda9jSNQWZPOURXeEVVaUE/edit?usp=sharing&pli=1” Please look at this tool

  7. Laga Mahesa says:

    I started using ResHacker in its infancy and it has been a resident on all my hard drives every since, with a context menu option to “Edit Resources” being one of the first things ‘installed’ in any copy of Windows I set up.

    Today I stumbled upon this, and a smile split my face. I am extremely impressed. Well done, mate.

  8. neiio says:

    Thank you for making this, very useful and brings back life to the aged & outdated reshacker.

  9. Some Autistic Kid says:

    Thank you for making this. I stumbled upon this when i went to redownload Resource Hacker for my 2 Virtual Machines. Now I don’t have to open a folder in a folder to see a file! You just made my night! 🙂

  10. Sfqhts says:

    Hello!Sometimes I can not paste text from the same ResHacker FX Window,e.g.,i copy some text from Menu–1[0] ,and then paste them to Menu–101[0],but only paste an empty line.I only found the problem is 1[0],there is no problem from 103[0] to 101[0].ClipBoard has those text,i can paste them in a txt file,however,i can not paste them on the same ResHacker FX Window.Hope you can fix it.

  11. Jacker says:

    can you add it for automatic update?

  12. RJI says:

    Hi!
    ResHacker.ini file contains: LastOpenedDir, LastSavedDir (path Open and Save – different). Maybe the same Resource Hacker FX?
    Thanks in advance.

    • Hi,
      I’ve changed the behavior deliberately, so that it will use the current directory both for opening and saving. I think that’s more handy and intuitive.
      Why do you think the previous way was better?

      • RJI says:

        Hi,
        I often hinders. Have to make unnecessary movements. It seems to me superfluous this automation.
        I understand that this is not the IDE. Resource Hacker FX I use often, it is very compact.
        I use myself, doing localization.
        I understand that the case is quite rare.
        How to divide the dialogues?Can advise here or e-mail?
        Thank you.

  13. WanderMax says:

    1.4.17 avast! recognize as virus

  14. Charles says:

    Hi,

    thx for your patch.

    I have the error:
    Compiler error in line… at offset…
    Invalid statement: Text expected

    when I try to compile script with ‘Word Wrap’ activated.

    BTW, when you activate it, there is no visible check in the menu.

  15. Charles says:

    (NB: tried with Win7 Pro, …and Win 98SE).

  16. Charles says:

    I’ve made a try with the last 1.4.17 version,
    but it makes no difference 🙁

  17. Charles says:

    1.4.18 version is perfect with Win 98SE,

    but it is buggy with Windows7 Pro:
    – If I open the exe I want to modify by drag&drop (moving with the cursor the exe icon over ResHackerFX icon), it opens with two lines missing in the action menu!
    http://img11.hostingpics.net/pics/4279661Actionmenu.png
    – Not even sure that the Word wrap glitch is fixed here, and several windows are missing their text:
    http://img11.hostingpics.net/pics/2190602Compiling.png
    – Strange ‘About’ window behavior: it opens first an empty one, and afterward the right one but the animated logo is missing!
    – The program icon is changed. A folder-like icon is used in place of the original one.
    http://img11.hostingpics.net/pics/4922753AboutIcon.png

    NB: may I suggest that the last (current) number version of ‘Resource Hacker FXer’ appears somewhere in the beginning of the page, before we click on the changelog link?

    Thx again.
    Charles.

    • I couldn’t reproduce the issues on Windows 7 or Windows 8.1. Perhaps something went wrong during patching, so you might want to try patching again.

      NB: may I suggest that the last (current) number version of ‘Resource Hacker FXer’ appears somewhere in the beginning of the page, before we click on the changelog link?

      You can see the version number on the tooltip when hovering over the download link.

      • Charles says:

        You’re right!
        The FXed Resource Hacker I’d made was wrong.
        I made a second one, and …so far so good!!
        Thx again (& also for the tooltip 😉 ).

        Charles.

  18. Bakes says:

    I have translated ResHackerFX into german and i get Errors.
    In preview releases i didn’t get those errors (~1.4.11).
    So whats wrong in these? How can i fix it? Error info are:
    1.) “Access violation at address 004ACDE5 in module ‘ResHackerFX.exe’.
    Read of address 00000008”
    2.) “Exception EReadError in module ResHackerFX.exe at 00011829.
    Error reading AddnewResourcefromresfile1.OnClick: Invalid property value”

    I’m on Windows 7 Prof.

    German ResHackerFX_1.4.19_DE to download:
    http://www.file-upload.net/download-9660437/ResHackerFX_1.4.19_DE.7z.html

  19. Bakes says:

    Thank you very much for your Help.

  20. Bakes says:

    Hi RaMMicHaeL

    Did you notice, when you take a 256px Icon instead of your 128px Icon, you get a smaller Icon?
    128-48-32-16 -81kb
    256-48-32-16 -40kb

  21. Gerardo González says:

    Hello RaMMicHaeL!

    I have the following question regarding the “RESOURCE HACKER” program:

    How I can put in BOLD format the text of a label?
    Is it really possible?

    Greetings.

    • Hi Gerardo,

      You’re talking about the static control, right?
      It’s not possible by editing the resources, you have to change the code for that. That’s usually done by setting a new font for the control.
      http://win32-tips.blogspot.co.il/2009/03/use-bold-or-underlined-font.html

      • Gerardo González says:

        Exactly RaMMicHaeL!

        Is about a static control, a “label”.

        I am looking and trying to understand the code of the link you left me.
        The truth is that I do not know how to do it, I know very little of programming.

        Could you tell me please STEP BY STEP that I have to do in “Resource Hacker”?

        Thank you.

        • Perhaps I wasn’t clear enough. By saying “It’s not possible by editing the resources”, I meant that it’s not possible with Resource Hacker (as well as any other resource editor). You have to change the source code of the application if you have it. Otherwise, you have to change the assembly, which is a non-trivial task.

  22. Gerardo González says:

    It is okay.

    Then, there is no alternative for this? Any solution do you practice? Not complicated?

  23. Gerardo González says:

    Thank you very much for your reply, you solved my doubt.

  24. pedoc says:

    support .NET program?

  25. Gypsy says:

    What a pleasant surprise !

    I’ve been using Resource Hacker version 3.6.0.92 for what seams like ages.
    In fact, as time goes by I’ve found myself using it less and less.

    But now it’s suddenly come alive once again 🙂

    A big thanks to those responsible, and also to those who helped encourage its progress.

  26. Alex says:

    Hi author
    I”ve got a tricky file with a very strange resource (RCData, id 128 (1033)

    when I just click on it – the Res Hacker FX just hangs eating 120% of CPU!

    please take a look
    https://www.sendspace.com/file/jug5ai

    versio Fx = 1.4.19

    • ResHacker tries to open the resource as a text file.
      Here’s how it looks eventually:
      http://i.snag.gy/pZkGn.jpg

      Perhaps the text/binary detection could be improved, but it’s a tricky task, and I do not plan to work on it.

      • Alex says:

        Hi
        thanks
        the issue is that I’ve waited for 3 minutes, but program just hangs

        idea: add some check so once the resource > 2..4 MB you either trim it or just show a wraning – “Do you really want to open it up”
        smth like that would be much more user friendly thenthe current behaviour

        thanks

  27. Candido Rodrigues says:

    Hi Michael,

    Glad to see that someone keep this free utility with development improvements.

    I would like to suggest in the next version, if you can include a simple Find/Replace editing facility, in order to avoid us to make changes in scripts (HTML or whatever) in an external editor and then copy+paste again to ResHackerFX.

    Example: I would like to change the original font of
    StikNotes from “Segoe Print” to “Arial”.
    I’ve to edit resource HTML 3080 and change all occurernces of “Segoe Print” to “Arial”.

    ResHackerFX only let me Find text, not replace.
    I can replace it on Notepad and then paste and Compile Script at the end.

    Just a simple function like this, could be implemented ?

    Warm regards

    • Hi,

      While it looks like a simple feature to implement, it’s not actually that simple, considering the fact that I don’t own the source code of the program. So you’ll have to keep copying the text to an external editor, or if you’re using this feature often, you might want to consider an alternative resource editor.

  28. Rocky says:

    patcher says its “Done” but after patching nothing changed in resource hacker.

    fail

  29. Cesar says:

    The patch was created by an application, if that’s the case, what was that which application?

    El parche fue creado a través de una aplicación, si ese es el caso ¿cual fue esa aplicación?

  30. Sarfaraz says:

    Hello there,
    I am trying to patch but not working.
    I copied the patch file into the installation directory of the Original Resource Hacker. Then I open resource hacker FX and when click on fix it, it says ”Could not copy File”.

    Help me out….

    • Sarfaraz says:

      Ohh! forgot to mention,
      After opening Resource Hacker FX I browsed for HECResouce and then clicked on Fix it and it says ”Could not copy file”.

  31. Sarfaraz says:

    Ohh! I then tried using Administration permission and Succeeded.

    Thanks a lot for such a nice improvement.

  32. saaa says:

    Resource Hacker 4.0 released now.

  33. X-NET says:

    The new version of Resource Hacker 4.0.1.108, is a new version of your modifications and that there will be a new FX?

  34. niTe_RiDeR says:

    @RaMMicHaeL could u please make an fx for the resource hacker 4.0?

  35. WWRG says:

    Kindly update this tool… for new Res Hacker 4.0

  36. Jacker says:
  37. Angus Johnson says:

    Hi again Michael (thanks for your email) and hi to everyone here too.

    Firstly, congrats to Michael in hacking RH to get unicode and other things tweaked. I didn’t know that could be done.

    Anyhow, just letting you all know I’ve uploaded a new beta version of RH (4.1.3) with many changes/improvements …
    http://www.angusj.com/resourcehacker/

    With so many changes there’s likely to be a few bugs too :).

    The compiler should now handle most RC scripts though there’s no documentation and it’s still a way off. (Especially note that all filenames must be in double quotes with paths, though relative paths should work too.) Most syntax is now supported including #IF, #IFDEF, #include (all 3 nested too), Defined(), RC_INVOKED, bitwise and boolean evaluation etc. (Stringification isn’t yet supported.)

    Unicode should pretty much work though it’s hard for me to test as I never use anything but English, so feedback there is particularly welcome.

    Lots of cosmetic improvements too (with a few more still to come).

    And I know some will ask … is RH out of retirement?
    Yes, but only temporarily, ie until the new version is fully road tested and relatively bug free and the documentation sorted.

    Enjoy!

  38. Angus Johnson says:

    Hi again.

    Re Win98/WinME:
    RH (since ver 4.1) is being compiled with Delphi XE2, and Unicode is now the default string type. Consequently, Windows 98, 95, and ME will not run RH since these operating systems do not support Unicode strings, and Microsoft has dropped support for them. (See “Will applications built with Delphi run on older versions of Windows including Windows Vista, XP, 2000, 95, 98 and Me/” here … http://www.embarcadero.com/products/delphi/faq )

    Will I fix ver 4.0 for Win98? No, that’s unlikely. My efforts will be on Ver 4.1 from now on.

  39. pp says:

    bonjour
    un bug subsiste dans reshacker à la commande -extract!
    RH extracte toujour les même icone d’un précédant programme avec un sript
    via cmd.exe ResHacker.exe -extract MyProg.exe, MyProgIcons.rc, icongroup,,
    Sinon le script fonctionne très bien

    //This script updates 2 bitmaps and an
    //icon in MyProg.exe …

    [FILENAMES]
    Exe= MyProg.exe
    SaveAs= MyProg_Updated.exe

    [COMMANDS]
    -addoverwrite MainIcon.ico, ICONGROUP,MAINICON,0

    désolé je ne sais pas écrir en englais

  40. Steven X. Stevenson says:

    Very nice!!! Now how about a patch for the latest version Resource Hacker (v4.2.0)?

  41. Zbynek G says:

    Hello,
    in Resource Hacker 4.2.0, 4.2.1 and 4.2.2 is bug. Delete VERSIONINFO work not correctly.

    More 7zip archive file:
    http://www.filedropper.com/bugreportrh420

    Sorry, my english is very bad.

  42. angusj says:

    Hi Zbynek G.
    I can see where the problem is and should have a fix in the next few hours.
    Angus

    • Sn!per X says:

      Hello,
      i have long time using Resource Hacker and i am happy to see its
      back to life, for that i have a feature request:

      Supporting (Showing) PNG’s in RCData Resources?
      RH just shows only a hex table!!
      What about adding play WAV/MP3 when it detected?

      any way if its about Delphi i can help in that.
      i can supply you a detection Unit i did in the past.

      sorry for my English.
      and sorry for writing my request here because i couldn’t find where to contact angus j.

      • angusj says:

        Thanks for the feedback.

        Regarding PNGs in RCData: I’ll fix that.

        Regarding Delphi: sorry I don’t understand your question.

        email – angus At angusj DOTCom :).

  43. bakes says:

    Dear Angus
    Did you plan a language folder, because of dropdown menu in Preferences chosing language?
    In Reshacker 4.2.1 in the toolbar the buttons “Expand & Collapse all” is not translatable! – hardcoded?
    thanks

    • Hi bakes,
      Unless Angus will visit this page, he won’t see your comment.
      When replying to someone, use the Reply button – this will send a notification about the message to the receiver’s email.

    • angusj says:

      There’s no plan for a “language folder” and I don’t know what you mean by that. The “Default Language” specified in Preferences will only be used when creating new resources and it allows you to skip an explicit language statement in the script.

      Regarding translating the Expand & Collapse toolbars:
      search for the third occurrence of actExpand and change both the caption and hint for that action (and likewise for actCollapse).

  44. Ivan says:

    Hello Mr. Johnson

    1.
    There is a strange behavior of search: I can find a word “Attributes” in Samples.dll, but can not find LANG_CHINESE or identifier 1188.

    2.
    Left tree is always collapsed after any compilation.

  45. TheTAMAS says:

    Please mod the latest Resource Hacker v4.2.4 to support double click actions.. 🙂

  46. TheTAMAS says:

    I tried to do so but couldn’t find any way of contacting him.. 🙁

    I request you again to do so.. 🙂

  47. how can i access to jpeg or bmp files in heart of dll files?

  48. i have an application and want to change the branding of that.the name of application is Eboard and its for smart whiteborad.when i change the settings of th app and save the dll file after reopening the dll all of settings restored to defaults

  49. jmjsquared says:

    Just a note to say THANKS! to RaMMicHael for keeping ResourceHacker on life-support all this time until Angus could do the major surgery.

  50. Connor says:

    How do i change the ugly windows 10 taskbar with the vista style? I’m desperate.

Leave a Reply to pp