How do I change the EXE icon?
by Bryan Wiegele · in Torque Game Builder · 03/15/2006 (8:41 pm) · 8 replies
I'm about ready to release a game but I don't know how to change the default icon from Torque to our own icon. Anyone know?
#2
As for creating an .ico file, I just draw a 64x64 bitmap and then use a little program I wrote called pic2ico that converts the bitmap to an icon. You can get this at wsims.com/MyApps/pic2ico.exe. It's a DOS program that you run in the directory of your bitmap. You just do 'pic2ico.exe mypic.png', and you will get 'mypic.ico' in the same directory.
03/15/2006 (9:44 pm)
The easiest way for me is to change the t2d.ico file under the vc7 directory and recompile. I use Visual C++ 2005 Express Edition, but this worked for Visual C++ 6 back in the day, too.As for creating an .ico file, I just draw a 64x64 bitmap and then use a little program I wrote called pic2ico that converts the bitmap to an icon. You can get this at wsims.com/MyApps/pic2ico.exe. It's a DOS program that you run in the directory of your bitmap. You just do 'pic2ico.exe mypic.png', and you will get 'mypic.ico' in the same directory.
#3
03/15/2006 (10:10 pm)
Thank you, I will try changing the t2d.ico!
#4
10/07/2006 (8:08 am)
Ok. But what if I can do something in TGB but have not C++ background??? can somebody be more specific on how to change the icon and recompile game using Visual C++ 6?
#5
10/08/2006 (3:14 pm)
Look up "Resource Hacker", I've used it for all of my past work. I'd imagine it will work on TGB executables as well.
#6
You will see two folder VisualStudio 2005 and VisualStudio.net.
Each folder has t2d icon in it.
Create a new icon and replace the t2d icon in the folder of your compiler.
Recompile the engine.
To compile with Visual C++ 6 you need setup a project.
10/08/2006 (4:12 pm)
In TorqueGameBuilderPro\engine\compilers.You will see two folder VisualStudio 2005 and VisualStudio.net.
Each folder has t2d icon in it.
Create a new icon and replace the t2d icon in the folder of your compiler.
Recompile the engine.
To compile with Visual C++ 6 you need setup a project.
#7
Edit: so I was wrong.
10/09/2006 (2:09 pm)
What I'd like to know is how to set the window icon. As in the icon in the upper left of the window while the game is running in windowed mode, or you hit Alt+Tab and scroll thru running programs. Resource Hacker(s) only change the windows explorer icon. Edit: so I was wrong.
#8
10/09/2006 (3:00 pm)
I you have try change the one in the folder I said above that icon you talking about maybe feed from the TGB exe. If so that icon will change when you change the exe icon and recompile the egine.
Associate David Montgomery-Blake
David MontgomeryBlake