Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I merged my file and the love.exe with the command copy /b game.exe. But the resulting executable has the default LÖVE2D icon.

Is there a way to change that icon to another one?

share|improve this question
+1 for "copy /b" – Ali.S Apr 13 '12 at 18:17
up vote 4 down vote accepted

I don't know much about Love so I don't know if there is a built-in way, but you can change the icon of an executable file using a variety of icon editing software. Last time I did this in days of yore my weapon of choice was IconForge but I'm sure there are other tools available now (like these).

share|improve this answer
Thank you, using this way now! :) – Mark Hähnel Apr 13 '12 at 17:40
Glad to help, but give it a little time before accepting an answer in case someone else comes along with a better approach. I don't use Love myself. – jhocking Apr 13 '12 at 18:18
It looks like that's the way it's done. – user1201210 Apr 13 '12 at 22:13

The steps below are also covered in a video tutorial (icon topic starts at 2:22).

  1. Create an .ico file using GIMP, you can use the game.ico or love.ico included in the 32bit redistributable of LÖVE as a template.
  2. Rename your .exe file to nonsense.exe (explanation below).
  3. Drag the .exe file into Resource Hacker, unfold Icon Group and right-click the only item in it. Select "Replace icon ..." and select the .ico file you created.

    resource hacker screenshot

  4. Press Save (floppy disk icon).

  5. You might not see the change yet. Rename nonsense.exe to yourgamename.exe and it should become visible.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.