how can i change the exe icon

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
moekkog
Posts: 44
Joined: Tue Feb 24, 2009 6:02 am

how can i change the exe icon

Post by moekkog »

i want to know how can i change de icon of the executable
im using visual c++, does anybody knows?
3DModelerMan
Posts: 1691
Joined: Sun May 18, 2008 9:42 pm

resource

Post by 3DModelerMan »

The Resource Compiler.
That would be illogical captain...

My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
moekkog
Posts: 44
Joined: Tue Feb 24, 2009 6:02 am

maybe you are too experimented

Post by moekkog »

but can you give me a mor detailed explanation on how to do it
3DModelerMan
Posts: 1691
Joined: Sun May 18, 2008 9:42 pm

ummmm

Post by 3DModelerMan »

I think it's the first .ico icon file that's added to the resource compiler. In code::blocks you can add to it with an add item button... Anything like that in MSVC?
That would be illogical captain...

My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
moekkog
Posts: 44
Joined: Tue Feb 24, 2009 6:02 am

yes i finally got it

Post by moekkog »

if any one is interested ill give you the steps
1 go to resource menu
2 add the icon
3 compile it

its kind of easy the complicated is the format of the icon does any body know how to implement a vista icon, i just could do it with xp, on vista icon it gave me an error about some SDK PAINT or something thanks 3DModelerMan
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

Put an icon file named irrlicht.ico in the same directory as your executable. The Irrlicht library will automatically load it for you.

Travis
moekkog
Posts: 44
Joined: Tue Feb 24, 2009 6:02 am

no

Post by moekkog »

that only change the icon in the upper part but not the exe icon
grumpymonkey
Posts: 222
Joined: Mon Jan 19, 2009 10:03 pm
Location: Miami, Florida
Contact:

Post by grumpymonkey »

you could have an installer and just make a shortcut to the exe on the users desktop since you can change a shortcuts icon(right click)..not sure how you would go about doing that automatically, probably depends on the installer you use but its easier for the user.
of course, if you're trying NOT to use an installer, then you will probably have to mess around with your IDE until you find something like a resource manager or whatever. Just use Google to find out how to do it for your specific IDE since this Isn't really an Irrlicht related issue
Image
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Post Reply