-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compressed godot.ico brakes Godot Icon tool #73497
Comments
Uncompressed icon was causing issues - see #64073, also we have two executable, and two icons (and in case of the console wrapper, uncompressed icon is lately 3 times larger that executable itself). Also, note that now Godot supports generating windows icon from the project icon, and will try to fix icon order on the export, so any executable that will |
I would assume that the only icon changed by user will be godot.ico not the console wrapper one so this excess file size would be acceptable. As I understand #64073 was caused by rcedit bug. It's strange to me that we try to fit our software to this buggy behaviour. If the problem lies in rcedit wrongly sorting images we should state it to the people so they know why their icons are blurred and how to prevent it. If rcedit produces wrong output they can still use icon created with Godot Icon tool? Probably it would mitigate the problem. I would restore uncompressed godot.ico and educate people how to prevent icon blurring on their exports. |
Both icons can be changed by user.
Yes, current export process can be used with embedded PCK,
Most users won't read docs, and As long as sorting orders used by Personally, I won't oppose uncompressed icon as such, but I'm not sure if support for the external tool that is less versatile than rcedit is convincing reason to have it. |
If we invert the order of images in uncompressed godot.ico it will fix the issues users had? |
Linux can use rcedit just fine with Wine. |
Ok, looks like Wine should work, just this 1 161 MB of used space seems a little overshot to change the icon. :) |
Ideally, we want to be able to do it without |
It was fairly advanced as I remember, though @hpvb was maybe being a bit perfectionist with it and didn't get to finish before life caught on. It's probably not far from what we'd need in Godot if you want to take a look / poke hp on RocketChat to discuss it further. |
I made a different one here; https://github.com/hpvb/pperesource which is based on ppelib but tries to be less "perfectionist" :P I'll add resource saving in it over the next week or two and then it can be integrated. I kind of forgot about this to be entirely honest. |
@hpvb Any news on the topic? Maybe I can help with your library? |
I am on a Mac and having a plugin or native support for adding/changing the icon for Windows would be most helpful. |
I've created PR with POC how we could remove rcedit completely. |
Godot version
4.0 rc 2
System information
All operating systems
Issue description
@bruvzg This commit brakes compability with Godot Icon tool.
42c2c02
As agreed before in this commit:
d469cfb
having a little bigger uncompressed Windows icon is ok when it enables users to replace it without rcedit usage.
Godot Icon tool is especially helpful on Linux systems.
Also Godot Icon is mentioned in official docs (at least for 3.x) so it would be nice to leave the uncompressed icon.
Steps to reproduce
No steps needed to reproduce.
Minimal reproduction project
As archive is required I'm attaching empty one.
empty.zip
The text was updated successfully, but these errors were encountered: