Trying to bundle for windows with bob, I get this (and no changed EXE icon):
Error - 5 icon(s) not replaced in /Users/da_petcu21/Work/icon-test/meow/icon-test/icontest.exe using /Users/da_petcu21/Work/icon-test/AppIcon.ico
Here’s the icons I used:
Archive.zip (198.6 KB)
I tried using the sizes listed here, but it made no difference:
You can see this problem in the Defold editor too
[image]
[image]
I’m not sure what’s wrong, but I know I dealt with this kind of problem before in the past. Here is my tools for building icon.res files if that helps. I use https://iconverticons.com/online/ to make good ico files from pngs
icon.zip (545 Bytes)
Maybe custom icon is simply being ignored? The main exe doesn’t show custom icon either after being bundled.
[image]
Pkeod
December 4, 2019, 10:39am
2
Try saving an .ico with this software with this version (it’s free) and setting disabled. The no compress Win Vista is the important part.
These sizes
1 Like
It seems to have worked now with that option unchecked. Thanks a lot!
1 Like
britzl
December 4, 2019, 12:13pm
4
Doesn’t this service provide a working .ico file?
I haven’t tried with that service. I generated my ico with https://www.icoconverter.com , then added the 8-bit versions with IcoFX. It worked after unchecking “Compress images for Windows Vista”.
1 Like
For those folks, who is working on Linux, here is instruction how to convert .png to .ico:
You can use Imagemagick (sudo apt install imagemagick)
1.1 And specifically convert tool
Use this command. Take notice of -compress None and list of sizes
convert icon_256x256px.png -compress None -define icon:auto-resize=256,128,96,64,48,32,24,16 favicon.ico
2 Likes
This works perfectly as of September 2025, and for the Windows platform, too. The only change is that the “convert” command is now obsolete, and ImageMagick prompts to use the “magick” command instead.
britzl
September 4, 2025, 10:52am
8
But isn’t it still also required to pass the convert tool/command to magick?
magick convert icon_256x256px.png ...
This is the message I get on a Windows PC.
britzl
September 4, 2025, 11:40am
10
Ah, ok, I have ImageMagick 7.1.1 on my mac and it doesn’t complain when using magick convert. I’ll make a note in the manual about it.