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

    • Well can they use AI to design UI? Because I don't think AI's output would be worse than the current rubbish being designed by Windows UI designers for last 25 years
    • Hello, I have had good results with Corsair, Crucial, Kioxia (formerly Toshiba), Nextorage, OWC, Patriot, Sabrent, Samsung, SanDisk (formerly Western Digital), Solidigm (formerly Intel) and Team Group SSDs.  Be sure to look at warranty length, and whether the drive uses TLC or QLC memory.  The former tends to be faster and lasts longer, but QLC is maturing and is usually less expensive.   Regards, Aryeh Goretsky  
    • Today's Windows 11 Preview Update (KB5062660) (26100.4770) was a pain in the royal butt. 1. It shut down one of my W11 devices during the update. I had to do a cold boot. The update then finished. 2. It rolled back the network adapter to April on both of my W11 devices. I updated the adapter to the June release, which promptly broke my internet connection. 3. I had to reboot my router and then restart both devices to get my internet connection back. There was one good thing about today's update. My utility software was finally able to update Notepad after several failed attempts before today's update. Anyway, all now appears GTG. Thank goodness.
    • Windows 11 receives a handful of new AI features by Taras Buria Microsoft is supercharging its operating system with a handful of new AI-powered features. Those with compatible computers (mostly Copilot+ PCs) can download a new Windows 11 update that introduces new AI experiences. One of the biggest updates is the Settings app, which now features agentic search to understand complaints about your computer. You can click the search box and tell Windows what is wrong. For example, "my mouse cursor is too small." Windows will then process your request and suggest taking action on your behalf. You can also ask for specific changes like, "change my screen resolution to 1920x1080." The Settings agent is now available for users with Snapdragon-powered Copilot+ PCs. It is coming soon to Intel and AMD-based Copilot+ PCs. Click to Do has received several new actions: Practice in Reading Coach helps improve reading skills by giving feedback and offering suggestions on how to improve. Read with Immersive Reader displays text in a distraction-free environment with the ability to adjust text size, spacing, font and background theme, have text read aloud, break words into syllables and highlight parts of speech. The picture dictionary shows images for unfamiliar words. Draft with Copilot in Word turns a portion of text into a full draft. Actions in Microsoft Teams let you click an email to send a message or schedule a meeting. More AI is available in the Photos app. After a couple of months in testing, the Relight feature is now rolling out, allowing users to adjust lights with AI. You can place three light sources or use built-in presets to edit your photos. Like with the Settings app, this feature is currently available to Snapdragon-powered devices only. Paint now has a sticker generator and a new object select tool that uses AI to isolate the object and edit individual elements, even if they are part of one layer. Snipping Tool has received the "Perfect Screenshot" feature to help you select parts of the screen for a proper cropped screenshot, and a new Color Picker to read colors on the screen in different formats (available on all PCs, not only Copilot+ PCs). Finally, the Copilot app now supports Highlights, a new feature that enables Copilot to show you how to perform specific tasks in the current app on the entire desktop. Today's updates are not just about AI and sticker generation. Microsoft is also improving the performance and security of its system with a redesigned blue screen of death and the new Quick Machine Recovery system. You can read more about those changes here. If you want to get all these updates today, download the latest non-security update for Windows 11 version 24H2, which is now available.
  • Recent Achievements

    • Week One Done
      SmileWorks Dental earned a badge
      Week One Done
    • Community Regular
      vZeroG went up a rank
      Community Regular
    • Collaborator
      Snake Doc earned a badge
      Collaborator
    • Week One Done
      Snake Doc earned a badge
      Week One Done
    • One Month Later
      Johnny Mrkvička earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      586
    2. 2
      Michael Scrip
      199
    3. 3
      ATLien_0
      196
    4. 4
      +FloatingFatMan
      129
    5. 5
      Xenon
      123
  • Tell a friend

    Love Neowin? Tell a friend!