Recommended Posts

Hi,

I noticed that while trying to replace .png files in a program in resource hacker, that i cannot save the exe... i have tried deleting the resource, and then adding it as a new one, but even that doesnt work...

however, it seems to work perfectly well when replacing icons, cursors, and strings... could it be my computer? (i don't think so but sometimes you just can't tell... :/)

is there a special way of saving pngs i should use?

or a newer version of resource hacker?

thanks in advance!

Link to comment
https://www.neowin.net/forum/topic/286701-resource-hacker-problem/
Share on other sites

ResHacker can't handle png's that way...

here is a workaround if you don't have ResTuner (not freeware though but can preview .png's)

> expand in the tree view of ResHacker the png you wish to change

> once there, go to the menu and:

> Action/Save Resource as a binary file/save as "something".png

> edit the file as you want

> in ResHacker again and in the same file you saved, go to the menu and:

> Action/Replace other Resource/Open file with new resource

> Resource Type: PNG

> Resource Name: the one that is indicated on the parent rsc folder

> Resource Language: *your language code* English is 1033 for instance

> Replace

I assume you know the rest...

I right click on the resource, replace with a new png file, then

> Resource Type: PNG

> Resource Name: the one that is indicated on the parent rsc folder

> Resource Language: *your language code* English is 1033 for instance

> Replace

Works for me

post-18699-1108732776_thumb.jpg

  The_Decryptor said:
The error message your getting is because the app is invalid, i get that when i quit resource hacker straight away after clicking save, you have to give it some time to save it, or else you will have a corrupted exe.

585492776[/snapback]

aha! i will try giving it a while to save :yes: thanks for that!

  dreamz said:
resedit is quite good with png files.  you can even edit them directly.

585493147[/snapback]

but if the above does not work, where can i get resedit?

thanks for all the info everyone :yes:

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • So basically their prebuilding it into the ISOs?
    • Microsoft shares Defender anti-virus update for new Windows 11/10 ISOs by Sayan Sen Following the one for Lumma last month, Microsoft has also published a new Defender update for Windows 11/10/Server installation images this month. This update package is necessary as a Windows installation image may contain old, outdated anti-malware definitions and software binaries. Aside from better security, these updates can also provide improved performance benefits in some cases. When a new Windows installation is set up, there may be a temporary security risk due to outdated Microsoft Defender protection in the OS installation images. This happens because the antimalware software included in these images might not be up to date. Thus Microsoft says that these updated definitions essentially help close this protection gap. Microsoft delivered the latest security definitions for Windows images via security intelligence update version 1.431.54.0. The Defender package version is also the same. It applies to Windows 11, Windows 10 (Enterprise, Pro, and Home editions), Windows Server 2022, Windows Server 2019, and Windows Server 2016. Microsoft writes: From Microsoft's security bulletin, we learn that the security intelligence update version 1.431.54.0 was released this past week adds threat detections for various backdoor exploits, trojans, among others. For those wondering, the latest intelligence update is version 1.431.155.0 at the time of writing.
    • “In other news about OneDrive frustration, Microsoft recently locked out a user who was attempting to move a bunch of important data from old hard drives to OneDrive.” - It was probably CSMA..
    • Just what I needed! An extremely expensive pair of sunglasses that I will lose and cannot use indoors. My life will be complete. I trust Meta AI watching my entire life happen. It's going to be the best ever!
  • Recent Achievements

    • One Month Later
      SekTheFirst earned a badge
      One Month Later
    • First Post
      zayanhani earned a badge
      First Post
    • First Post
      HarryTaylor earned a badge
      First Post
    • One Year In
      Eternal Tech earned a badge
      One Year In
    • One Month Later
      Eternal Tech earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      651
    2. 2
      ATLien_0
      234
    3. 3
      Michael Scrip
      228
    4. 4
      Steven P.
      140
    5. 5
      +FloatingFatMan
      139
  • Tell a friend

    Love Neowin? Tell a friend!