Page 1 of 1

Icon stuck as ren'py default? (SOLVED)

Posted: Fri May 22, 2020 6:51 pm
by rusicaria
Hi,

The icon for my game shows up fine as a window and in the taskbar, but when I build distributions the icon for the application is still the default icon with the little ren'py girl. Does anyone know how to change that? Any help would be appreciated :)

Re: Icon stuck as ren'py default?

Posted: Fri May 22, 2020 8:01 pm
by isobellesophia
Go to the gui folder and find the file image named "gui folder", you can find the window_icon and you can change the image with the same size file.

Re: Icon stuck as ren'py default?

Posted: Sat May 23, 2020 12:18 am
by rayminator
open options and find changed the directory where you put it at

Code: Select all

define config.window_icon = "gui/window_icon.png"

Re: Icon stuck as ren'py default?

Posted: Thu May 28, 2020 6:27 am
by rusicaria
It still doesn't change when I do either of those :(

Re: Icon stuck as ren'py default?

Posted: Thu May 28, 2020 8:23 am
by MaydohMaydoh
If you're talking about the exe icon and stuff, you need to include a .ico and/or .icns file with the game.
https://www.renpy.org/doc/html/build.html#special-files

Re: Icon stuck as ren'py default?

Posted: Thu May 28, 2020 5:50 pm
by Imperf3kt
They've done that according to the opening post.
Only thing I can think of is it maybe the wrong file format?

Re: Icon stuck as ren'py default?

Posted: Wed Jun 03, 2020 12:26 pm
by rusicaria
The icon is in the images file as a .png file which worked for everything but the application icon, so do I convert it to a .ico/ .icns or do I copy it, convert that one and have two of the same image just as different formats? or will converting the format change the window and bar icon too?

Re: Icon stuck as ren'py default?

Posted: Wed Jun 03, 2020 12:32 pm
by rusicaria
see when I changed the icon to .ico the image comes out as like a loading bar/box, neither as the default renpy icon or mine. i remember trying this before and found that people who had converted it to a .png file had their icon come out fine, but for me the application icon is still stuck as the default as a .png. I'm pretty stumped.

Re: Icon stuck as ren'py default?

Posted: Wed Jun 03, 2020 4:28 pm
by Imperf3kt
How did you convert your PNG file to ICO?
Just changing the file name won't work, you need to edit it in an image editor that supports exporting the proper ICO file format. I use GIMP myself, works great.

PNG files will not work.
https://www.renpy.org/doc/html/build.html#special-files

Or were you referring to the window_icon which is a PNG file?
https://www.renpy.org/doc/html/gui.html#window-icon

Re: Icon stuck as ren'py default?

Posted: Tue Jun 09, 2020 5:08 pm
by rusicaria
Imperf3kt wrote:
Wed Jun 03, 2020 4:28 pm
How did you convert your PNG file to ICO?
Just changing the file name won't work, you need to edit it in an image editor that supports exporting the proper ICO file format. I use GIMP myself, works great.

PNG files will not work.
https://www.renpy.org/doc/html/build.html#special-files

Or were you referring to the window_icon which is a PNG file?
https://www.renpy.org/doc/html/gui.html#window-icon
I used an online conversion tool. The problem is that when I converted the icon to .ico the window_icon wouldn't show which is why I had kept it as .png. but then I realised that keeping it as .png meant that the icon for the application when on the desktop wouldn't be my icon because it isn't in .ico

Re: Icon stuck as ren'py default?

Posted: Tue Jun 09, 2020 5:43 pm
by PyTom
The window icon and the icon.ico file are two different things - one controls in-game, and one controls before the game is launched.

Re: Icon stuck as ren'py default?

Posted: Wed Jun 10, 2020 4:14 pm
by rusicaria
PyTom wrote:
Tue Jun 09, 2020 5:43 pm
The window icon and the icon.ico file are two different things - one controls in-game, and one controls before the game is launched.
Which files is the window icon and the icon.ico supposed to be in? I think maybe they're in the wrong places which is why the icon.ico doesn't work?

Re: Icon stuck as ren'py default?

Posted: Sun Jun 14, 2020 11:51 am
by rusicaria
AH I FINALLY DID IT! I didn't realise that the icon.ico had to be in the games directory and not in the game file itself! Thank you everyone for your advice, definitely still learning about code but definitely thankful for anyone's and everyone's help :)