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

    • Vivaldi 7.4.3684.50 by Razvan Serea Vivaldi is a cross-platform web browser built for – and with – the web. A browser based on the Blink engine (same in Chrome and Chromium) that is fast, but also a browser that is rich in functionality, highly flexible and puts the user first. A browser that is made for you. Vivaldi is produced with love by a founding team of browser pioneers, including former CEO Jon Stephenson von Tetzchner, who co-founded and led Opera Software. Vivaldi’s interface is very customizable. Vivaldi combines simplicity and fashion to create a basic, highly customizable interface that provides everything a internet user could need. The browser allows users to customize the appearance of UI elements such as background color, overall theme, address bar and tab positioning, and start pages. Vivaldi features the ability to "stack" and "tile" tabs, annotate web pages, add notes to bookmarks and much more. Vivaldi 7.4.3684.50 changelog: [Chromium] Update to 136.0.7103.170 [Crash][Mail][JSError] RangeError: Maximum call stack size exceeded (VB-115288) Download: Vivaldi 64-bit | 125.0 MB (Freeware) Download: Vivaldi 32-bit | ARM64 View: Vivaldi Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I must be doing something right because I feel like I don’t really come across that many cheaters. I’m not saying you don’t, I just must be really lucky.
    • That’s a real shame, he’ll be greatly missed.
  • Recent Achievements

    • Apprentice
      Adrian Williams went up a rank
      Apprentice
    • Reacting Well
      BashOrgRu earned a badge
      Reacting Well
    • Collaborator
      CHUNWEI earned a badge
      Collaborator
    • Apprentice
      Cole Multipass went up a rank
      Apprentice
    • Posting Machine
      David Uzondu earned a badge
      Posting Machine
  • Popular Contributors

    1. 1
      +primortal
      519
    2. 2
      ATLien_0
      260
    3. 3
      +Edouard
      192
    4. 4
      +FloatingFatMan
      178
    5. 5
      snowy owl
      135
  • Tell a friend

    Love Neowin? Tell a friend!