Vista icons with standalone builds

Hi,

I supplied my game with 3 icon textures: 32x32, 48x48, 128x128. All textures are png, mipmaps disabled.
After building, the outcome is executable file with one of my icons, but os never displays large vista-style icons (see pic). I think 48x48 is always being used scaled up or down depending on user display settings. I’ve also tried to use 256x256, 64x64 and 16x16 image sizes and it always ends up in this behavior.

Is there a way to use large icons in Unity standalone builds? Or is there a tool, which allows to modify executable after it is generated by Unity?

Any help would be appreciated, thanks.

Calveit


330703--11645--$_playersettings_130.png

I’m having the same problem, no matter what I try, it seems locked at a tiny icon size and doesn’t scale up.

I’ve looked through the forum and found very little about this, so I’m guessing it’s a bug that only effects some people, that or so few are creating Windows standalones that nobody else has noticed it?

Although you cannot do this in Unity, you can use freeware software called ReplaceVistaIcon.exe to replace the icon in your executable.

At first, however, you will have to prepare ICO file, containing all icon sizes you wish. Any icon tool can be used (ie. IcoFX).

Then type something like this in the command line:

ReplaceVistaIcon.exe YourExecutable.exe YourIcon.ico

I hope it helps.

Hmmm I’ll give that a try, thanks! :slight_smile:

Edit: AWESOME! Appears to work perfectly! Thank you!!