Resource Hacker FX: the improved Resource Hacker

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 RaMMicHaeL at March 13th, 2011.
Tags:

315 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?

    • RaMMicHaeL says:

      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.

    • RaMMicHaeL says:

      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.

        • RaMMicHaeL says:

          You can reverse this behavior by patching the following bytes:
          8D 55 F8 A1 B4 F5 4B 00
          In the following address:
          000B3CDE

          You can use any HEX editor, such as HxD:
          http://mh-nexus.de/en/hxd/

          Note that this will revert a couple of other enhancements, such as appending the .exe extension automatically.

  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.

    • RaMMicHaeL says:

      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

    • RaMMicHaeL says:

      One of the identifiers was changed.
      In TMAINFORM, change OnClick = AddnewResourcefromresfile1Click to OnClick = AddnewResource.
      Also, there is a new “Word Wrap” menu item, which you might want to add.

  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.

    • RaMMicHaeL says:

      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.

        • RaMMicHaeL says:

          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?

    • RaMMicHaeL says:

      Nothing that it both pretty and not complicated, as far as I know.
      Non-pretty: you could use e.g. a bitmap.
      Complicated: you have to mess with the code of the application, i.e. beyond resources.

  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

    • RaMMicHaeL says:

      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

    • RaMMicHaeL says:

      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.

Leave a Reply