Page 1 of 2

Changing App Icon

Posted: Tue Sep 20, 2011 4:03 am
by DXT
Hello everyone

Is there a way to change the icon of the finished and merged .exe game file which is shown in the explorer? I already set the icon for the window itself with graphics.setIcon and it works fine for the taskbar and upper left window icon but the explorer icon is still the love default icon.

Sincere regards

Re: Changing App Icon

Posted: Tue Sep 20, 2011 5:30 am
by slime
For Windows you might have to recompile the source with the new icon, I'm not sure. For OS X you can just stick the icon file inside the application package.

Re: Changing App Icon

Posted: Tue Sep 20, 2011 6:57 am
by thelinx
Use a program like Resource Hacker.

Re: Changing App Icon

Posted: Tue Sep 20, 2011 3:18 pm
by TechnoCat
slime wrote:For Windows you might have to recompile the source with the new icon, I'm not sure. For OS X you can just stick the icon file inside the application package.
And for Linux you cry.

Re: Changing App Icon

Posted: Tue Sep 20, 2011 3:50 pm
by nevon
TechnoCat wrote:
slime wrote:For Windows you might have to recompile the source with the new icon, I'm not sure. For OS X you can just stick the icon file inside the application package.
And for Linux you cry.
For Linux, you create an .application file that points to an icon.

Re: Changing App Icon

Posted: Tue Sep 20, 2011 4:44 pm
by bartbes
That's .desktop, as for why, because applications themselves don't have icons.

Re: Changing App Icon

Posted: Tue Sep 20, 2011 5:01 pm
by Robin
... because Linux is for teh leet command line haxorz.

Re: Changing App Icon

Posted: Tue Sep 20, 2011 6:02 pm
by T-Bone
For Linux, if you made a .deb file or an install script, the launcher can have whatever icon you want it to have.

Re: Changing App Icon

Posted: Tue Sep 20, 2011 6:03 pm
by nevon
bartbes wrote:That's .desktop, as for why, because applications themselves don't have icons.
Uh, right. My bad. Been Linux-less for the past 4 months.

But they do reside in ~/.share/applications/ or /usr/share/applications/ :oops:

Re: Changing App Icon

Posted: Tue Sep 20, 2011 7:39 pm
by DXT
thelinx wrote:Use a program like Resource Hacker.
Kinda works, thanks for this. Btw, what is the simplest way to get .ico files?