I'm developing a commercial casual game in DBPro and needed to get my icons looking as nice as possible. After digging around on the net and in the forums for hours, and after nearly losing hope, I think I've hit upon the solution!
I'd like to share this with the DBPro community as it's an important piece of polish for a commercial game. This should really be a lot easier, as many games will judged by the quality of their icons.
First,
The problem:
The default DBPro icon that gets generated when you compile an exe, has only 256 colors or 8-bit, and only a 1-bit mask. That's not nice. Most Windows icons are 16.8 millions colors, 24-bit with a 8-bit mask. Much better! So naturally, you'd want to use these.
This is my solution. Please let me know if this works for you:
What you'll need:
1. Codesurge IDE (this may work on the other IDEs, but I used Codesurge)
2. Resource Hacker ( available at
http://www.angusj.com/resourcehacker/ )
3. An icon editor. I use photoshop, but IcoFX is a fantastic freeware icon editor. (
http://icofx.ro/ )
Steps:
1. Make an icon file (.ico) with two images in it: These are
- a true color 32-bit 32x32 image
- a true color 32-bit 16x16 image
2. In Codesurge, add this icon file to your project. (Under project menu, choose add icons.)
3. Compile your project!
4. Now, when you run your project the icon in the windows taskbar and the icon program title bar will be correct. Halfway there! However the .exe icon will still look nasty.
5. Run Resource Hacker.
6. Load your .exe
7. In the menu bar click on action, and choose "Replace Icon"
8. Choose the same .ico file you created at the beginning of this process.
9. Save.
10. Your icons may have updated and already look great. For me however, a restart was required. So restart your computer!
11. After your restart your icons should look great! Enjoy!
Custom 3D art for games, interactive applications and video.