Fr3d Posted February 18, 2005 Share Posted February 18, 2005 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 More sharing options...
Quantic Posted February 18, 2005 Share Posted February 18, 2005 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... Link to comment https://www.neowin.net/forum/topic/286701-resource-hacker-problem/#findComment-585491414 Share on other sites More sharing options...
Fr3d Posted February 18, 2005 Author Share Posted February 18, 2005 yeah that's what i've been doing... i also tried deleting the resource from the exe, and then adding it again... and when i do save it says "Not a valid Win32 Executable"... :( i'll look into restuner tho... thanks. Link to comment https://www.neowin.net/forum/topic/286701-resource-hacker-problem/#findComment-585492374 Share on other sites More sharing options...
uniacidz Posted February 18, 2005 Share Posted February 18, 2005 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 Link to comment https://www.neowin.net/forum/topic/286701-resource-hacker-problem/#findComment-585492762 Share on other sites More sharing options...
The_Decryptor Veteran Posted February 18, 2005 Veteran Share Posted February 18, 2005 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. Link to comment https://www.neowin.net/forum/topic/286701-resource-hacker-problem/#findComment-585492776 Share on other sites More sharing options...
dreamz Veteran Posted February 18, 2005 Veteran Share Posted February 18, 2005 resedit is quite good with png files. you can even edit them directly. Link to comment https://www.neowin.net/forum/topic/286701-resource-hacker-problem/#findComment-585493147 Share on other sites More sharing options...
-scorpio- Posted February 18, 2005 Share Posted February 18, 2005 dreamz said: resedit is quite good with png files. you can even edit them directly. 585493147[/snapback] however resedit does not show animated gifs :( Link to comment https://www.neowin.net/forum/topic/286701-resource-hacker-problem/#findComment-585495248 Share on other sites More sharing options...
Lee G. Veteran Posted February 19, 2005 Veteran Share Posted February 19, 2005 PE Explorer - but that can't show media :( Link to comment https://www.neowin.net/forum/topic/286701-resource-hacker-problem/#findComment-585498099 Share on other sites More sharing options...
Fr3d Posted February 20, 2005 Author Share Posted February 20, 2005 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: Link to comment https://www.neowin.net/forum/topic/286701-resource-hacker-problem/#findComment-585506028 Share on other sites More sharing options...
zhangm Supervisor Posted February 20, 2005 Supervisor Share Posted February 20, 2005 I suspect they are referring to Resource Editor, which is made by TGTSoft. It can be found on Google. Link to comment https://www.neowin.net/forum/topic/286701-resource-hacker-problem/#findComment-585506084 Share on other sites More sharing options...
Fr3d Posted February 20, 2005 Author Share Posted February 20, 2005 yeah i guess so too :D thanks just like reshacker is resource hacker... :whistle: Link to comment https://www.neowin.net/forum/topic/286701-resource-hacker-problem/#findComment-585506116 Share on other sites More sharing options...
Recommended Posts