0 votes

Hi,

i can't change the default icon for my windows release.

What i tried;:

  • Changing the "Icon" in "ProjectSettings -> General -> Application -> Config"
  • Changing the "Windows Native Icon" in "ProjectSettings -> General -> Application -> Config".
  • Setup the "rcedit" path in "Editor -> EditorSettings -> Export -> Windows"
  • Changing the "Icon" in "Project -> Export -> Windows Desktop Preset"
  • Adding the "Pck" files to the "exe" file
  • Clear the icon cache by using "ie4uinit.exe -ClearIconCache" (and i also tried "ie4uinit.exe -show"

However, even doing all of these things i did not get it to work to use a different icon than the default godot icon.

I really like godot, but this engine makes it unnecessarily difficult to change the icon.
What can i do?

Godot version 3.2.3
in Engine by (41 points)

2 Answers

–1 vote
by (1,110 points)

I already knew that tutorial, and followed every step but it did not work.

0 votes

The file version and product version specified in the export preset must have the format x.y.z.w (e.g. 1.0.0.0. x.y.z (e.g. 1.0.0) is not a valid Windows version identifier.

If all else fails, you can download the Godot source code corresponding to the version you're using (e.g. for 3.2.3), replace platform/windows/godot.ico and compile a Windows export template. Once this is done, specify the newly compiled export template as a custom export template in your Windows export preset.

Unfortunately, working with Windows' PE executable format is notoriously difficult :(

by (9,328 points)

Just checked again, the file version and product version have the correct format.

I'm not interested in compiling a template for every project i make. Every single engine that i worked with in the past had no problems changing the windows icon, except godot.
And that's a shame, cause i really like godot, it became my favorite game engine (currently).

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.