Icon stuck as ren'py default? (SOLVED)

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
rusicaria
Regular
Posts: 84
Joined: Sat Mar 28, 2020 12:26 am
Projects: VivaCity (VN)
Tumblr: rusicariaGAMES
itch: rusicariaGAMES
Contact:

Icon stuck as ren'py default? (SOLVED)

#1 Post 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 :)
Last edited by rusicaria on Sun Jun 14, 2020 11:52 am, edited 1 time in total.

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Icon stuck as ren'py default?

#2 Post 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.
I am a friendly user, please respect and have a good day.


Image

Image


rayminator
Miko-Class Veteran
Posts: 793
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: Icon stuck as ren'py default?

#3 Post 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"

User avatar
rusicaria
Regular
Posts: 84
Joined: Sat Mar 28, 2020 12:26 am
Projects: VivaCity (VN)
Tumblr: rusicariaGAMES
itch: rusicariaGAMES
Contact:

Re: Icon stuck as ren'py default?

#4 Post by rusicaria »

It still doesn't change when I do either of those :(

User avatar
MaydohMaydoh
Regular
Posts: 165
Joined: Mon Jul 09, 2018 5:49 am
Projects: Fuwa Fuwa Panic
Tumblr: maydohmaydoh
Location: The Satellite of Love
Contact:

Re: Icon stuck as ren'py default?

#5 Post 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

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Icon stuck as ren'py default?

#6 Post by Imperf3kt »

They've done that according to the opening post.
Only thing I can think of is it maybe the wrong file format?
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
rusicaria
Regular
Posts: 84
Joined: Sat Mar 28, 2020 12:26 am
Projects: VivaCity (VN)
Tumblr: rusicariaGAMES
itch: rusicariaGAMES
Contact:

Re: Icon stuck as ren'py default?

#7 Post 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?

User avatar
rusicaria
Regular
Posts: 84
Joined: Sat Mar 28, 2020 12:26 am
Projects: VivaCity (VN)
Tumblr: rusicariaGAMES
itch: rusicariaGAMES
Contact:

Re: Icon stuck as ren'py default?

#8 Post 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.

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Icon stuck as ren'py default?

#9 Post 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
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
rusicaria
Regular
Posts: 84
Joined: Sat Mar 28, 2020 12:26 am
Projects: VivaCity (VN)
Tumblr: rusicariaGAMES
itch: rusicariaGAMES
Contact:

Re: Icon stuck as ren'py default?

#10 Post 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
Attachments
this is what happens when I keep the format of the icon as .png. the window icon is successfully my own icon. I kept the icon.png file in the images file but had a window_icon file in the gui folder.
this is what happens when I keep the format of the icon as .png. the window icon is successfully my own icon. I kept the icon.png file in the images file but had a window_icon file in the gui folder.
this is when the icon is as .ico. so I'm not sure how to convert the icon to .ico without the window_icon also changing.
this is when the icon is as .ico. so I'm not sure how to convert the icon to .ico without the window_icon also changing.

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Icon stuck as ren'py default?

#11 Post 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.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
rusicaria
Regular
Posts: 84
Joined: Sat Mar 28, 2020 12:26 am
Projects: VivaCity (VN)
Tumblr: rusicariaGAMES
itch: rusicariaGAMES
Contact:

Re: Icon stuck as ren'py default?

#12 Post 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?

User avatar
rusicaria
Regular
Posts: 84
Joined: Sat Mar 28, 2020 12:26 am
Projects: VivaCity (VN)
Tumblr: rusicariaGAMES
itch: rusicariaGAMES
Contact:

Re: Icon stuck as ren'py default?

#13 Post 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 :)

Post Reply

Who is online

Users browsing this forum: No registered users