Custom EXE Icon

 

Copyright info

All code in this tutorial is protected by the [GPL License].
All text in this tutorial is protected by the [FDL License].

 

Tutorial by: Echon

Mailto: n_blast@hotmail.com

first you must find yourself your icon, once you've done that, place it in the win32 directory (you should see q2.ico in there too)
the following assumes that your icon's name is newq2.ico, simply change that to change the icon.

then you open win32\q2.rc
and change:

 
 
IDI_ICON1               ICON    DISCARDABLE     "q2.ico"
 
     

to this:

 
 
IDI_ICON1               ICON    DISCARDABLE     "newq2.ico" // ECHON { was q2.ico }
 
     


Easy, but some people were questioning me about how to do it on irc :)
- Echon (irc.telefragged.com #openquake regularly)

 

 

Tutorial Originally found at: