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