How do I change the icon of the game.exe? if I use iconchanger program or something it will bug it and cause to game.exe error each time after I open it.
Thanks in advance.
Printable View
How do I change the icon of the game.exe? if I use iconchanger program or something it will bug it and cause to game.exe error each time after I open it.
Thanks in advance.
Icons need to be 32 x 32 (256 colors).
I don't know tools that you are using but I will tell you how It should be done.
Download Resource Hacker
Extract .ico from your game.exe
Download icon editor like IcoFX
edit, save changes, upload to game.exe using Resource Hacker and save.
New icon might not show right away, if that happen than copy game.exe to other folder and copy it back.
Still error
Must be sure that .rsrc section is last section in game.
If you have added .trans or .GFantasy or something, you cannot easily change Icon.
You can still do it, but you must remove the new section first, then re-add it, and may have to fix all of the code offsets to any fixes you have in that section.
Basically... change icon first, then add section to game.exe if you really need one.
...
...
Actually, what I usually do is remove .rsrc section from game, add new section(s) for extra code & data and stuff, then add a new .rsrc section with identical resources, and a different icon and splash screen. This makes for the cleanest executable.
Right click on the .Exe go to properties and go to change icon and find your icon ( has to be 32 x 32 ) LoL ?
I don't want to flame. So I'll just say, for anyone that comes here looking for actual information that might be useful, ignore the last post. I presume DJPittbull has completely misunderstood... Quite what he misunderstood I'm not sure. (The nature of a Windows based PC from the looks of things :s )
a) There is no "Change icon" in the properties of a .exe
b) You can't change a programs icon from the properties of it's executable. (You can change the icon associated with a shortcut to an executable)
c) If you change the icon associated with a shortcut it can be any icon, containing any number of resolutions and colour depths.
d) If you change the icon in the executable with a resource editor (not the properties dialogue in Windows) and your .rsrc section is not the last one in the file, then the icon would have to be 32 x 32 x 256, (more specifically, exactly the same binary dimensions as the one you are replacing) unless someone has already changed it before later sections where added. (in which case the icon / icons you replace would have to be the exact same "binary" dimensions... very difficult if there is a >= Vista PNG compressed icon in there, because the size of those will vary depending on how easy the image is to compress :o)
@bobsobol are you Sheldon Cooper from The Big Bang Theory? >=P
That's sarcasm! "Bazinga"
At least I want to believe it is ;)
PS. Oowwww he was adding bigger icon instead of editing current, I see now.
Never heard of Sheldon Cooper, and only know "The Big Bang Theory" as a highly debated scientific theory of the creation of the universe.
"Sarcasm is the lowest form of whit." I wouldn't dream of doing such a thing. ... ... :lol:
@PS. I don't know that he is. I only know that if you try to replace the icon with one bigger, or smaller, or deeper, or not so deep, and you have a section after the resource section in your executable... that is usually when editing the icon corrupts the game.
It's a pretty steep set of circumstances, but for people who have no understanding of the binary layout of a .res file, let alone how it is linked into a PE .exe file, it's a surprisingly common mistake. People tend to think of it like using the ResEdit App on a Classic Mac, and most of them are designed with a similar layout to this 1983 classic, in the same way that most art packages still either follow the MacPaint (or just Paint on Windows) layout, or the Electronic Arts Delux Paint layout.
You can also treat them this way if the program follows the MS Style Guides and has the resources at the very end of the file... many private PT game.exe do not. :(:
The Big Bang Theory is TV serial.
If you like geek humor, science, games, anime, movies jokes than I recommend it :)
I recommend Season 1 & 2.
http://forum.ragezone.com/f528/chang...e-icon-724077/
try bro!!!!!! hope this will help:thumbup:
I'm sure it won't, as the OP has already stated that the method he tried was very much like that.
The problem is that people add code sections after the resource section of the game.exe, so when you change the icon, the offsets of your extended code are shifted to accommodate it so you game crashes.
A generic icon changer cannot resolve this, you need to fix your PE *before* changing the icon.