• Godot Help
  • how to change the game icon when exporting

I just exported a game and I was seeing that the icon is not changed, and I saw someone say that to change it what he did was use an external application since it didn't work for him either,
Is there any way to change it from godot itself or if I don't see it, tell me some external method to do it? (sorry for some error in the syntax of this message, I'm using the google translator)

  • Tomcat replied to this.
  • There are options to set an icon in the project settings, and additionally for each platform. This changes what is shown in the task menu when the game is running, but not the icon in the file explorer. If you want to change that icon, you should use a program called Resource Hacker. Just keep in mind that Windows caches icon images, so you have to do some manual work to delete the icon image cache to see the change.

    you could either a) build a custom export template(because the export template you download is a pre-built godot executable that already has an icon built into it) or b) use a binary/hex editor to change the icon of the executable after export. What you've read mentions of would be the latter. What application to use for it would depend on what OS you are on.

    There are options to set an icon in the project settings, and additionally for each platform. This changes what is shown in the task menu when the game is running, but not the icon in the file explorer. If you want to change that icon, you should use a program called Resource Hacker. Just keep in mind that Windows caches icon images, so you have to do some manual work to delete the icon image cache to see the change.

    Is it planned to improve this behaviour in near future?

    Probably not because of the way Godot works. When you export a game, it's not really compiling an exe, the exes are pre-compiled (this is what is in the export templates) so the Godot icon is already embedded. Only your assets (art, code) are different.

    Unless Godot redesigns the way it exports, this likely won't change.