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
rusicaria
Newbie
Posts: 18
Joined: Sat Mar 28, 2020 12:26 am
Contact:

Icon stuck as ren'py default? (SOLVED)

#1 Post by rusicaria » Fri May 22, 2020 6:51 pm

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: 976
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 » Fri May 22, 2020 8:01 pm

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


User avatar
rayminator
Veteran
Posts: 443
Joined: Fri Feb 09, 2018 12:05 am
Projects: Redoing games to fix spelling mistakes other companys that don't care
Location: Canada
Contact:

Re: Icon stuck as ren'py default?

#3 Post by rayminator » Sat May 23, 2020 12:18 am

open options and find changed the directory where you put it at

Code: Select all

define config.window_icon = "gui/window_icon.png"
when I try to help someone I point them into 2 direction what's right and wrong so they can learn how to

rusicaria
Newbie
Posts: 18
Joined: Sat Mar 28, 2020 12:26 am
Contact:

Re: Icon stuck as ren'py default?

#4 Post by rusicaria » Thu May 28, 2020 6:27 am

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

User avatar
MaydohMaydoh
Regular
Posts: 163
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 » Thu May 28, 2020 8:23 am

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: 2998
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Icon stuck as ren'py default?

#6 Post by Imperf3kt » Thu May 28, 2020 5:50 pm

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.

Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
Free Android GUI - Updated occasionally

rusicaria
Newbie
Posts: 18
Joined: Sat Mar 28, 2020 12:26 am
Contact:

Re: Icon stuck as ren'py default?

#7 Post by rusicaria » Wed Jun 03, 2020 12:26 pm

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?

rusicaria
Newbie
Posts: 18
Joined: Sat Mar 28, 2020 12:26 am
Contact:

Re: Icon stuck as ren'py default?

#8 Post by rusicaria » Wed Jun 03, 2020 12:32 pm

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: 2998
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Icon stuck as ren'py default?

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

Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
Free Android GUI - Updated occasionally

rusicaria
Newbie
Posts: 18
Joined: Sat Mar 28, 2020 12:26 am
Contact:

Re: Icon stuck as ren'py default?

#10 Post by rusicaria » Tue Jun 09, 2020 5:08 pm

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
2020-06-09_LI (2).jpg
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.
2020-06-09 (1)_LI.jpg
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: 15476
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 » 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.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

rusicaria
Newbie
Posts: 18
Joined: Sat Mar 28, 2020 12:26 am
Contact:

Re: Icon stuck as ren'py default?

#12 Post by rusicaria » Wed Jun 10, 2020 4:14 pm

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?

rusicaria
Newbie
Posts: 18
Joined: Sat Mar 28, 2020 12:26 am
Contact:

Re: Icon stuck as ren'py default?

#13 Post by rusicaria » Sun Jun 14, 2020 11:51 am

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: Google [Bot], Majestic-12 [Bot]