Change icon

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
Kamos
Regular
Posts: 33
Joined: Mon Jan 02, 2017 5:18 am
Tumblr: Kamos
Contact:

Change icon

#1 Post by Kamos »

How can I change icon in my project???

I add line: config.window_icon = "icon.png" in option rpy but it only change icon in the down list not the main icon of exe file...

Yes I can change it manualy after project build but that one not work on android relaese...
I try to use Ico file and png file not work...

Any help??

User avatar
_JP_
Newbie
Posts: 2
Joined: Fri Jul 28, 2017 2:18 am
Completed: Wake me up!
IRC Nick: jpe
itch: https://jpe.itch.io/
Location: everywhere
Contact:

Re: Change icon

#2 Post by _JP_ »

icons must be in .ico format. and you must leave the ico file at the project's base directory
uh oh

Kamos
Regular
Posts: 33
Joined: Mon Jan 02, 2017 5:18 am
Tumblr: Kamos
Contact:

Re: Change icon

#3 Post by Kamos »

Yes I do that - but nothing happened...

User avatar
Marionette
Regular
Posts: 128
Joined: Thu Apr 21, 2011 12:04 pm
Completed: https://marionette.itch.io/
Projects: Get Meowt of Here
Deviantart: rexx9224
itch: marionette
Location: Ireland
Discord: Marionette#2995
Contact:

Re: Change icon

#4 Post by Marionette »

If you haven't already done so you may need to define the icon in your options file.

Code: Select all

config.windows_icon = "icon.ico"

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

Re: Change icon

#5 Post by Imperf3kt »

_JP_ wrote: Sat Aug 26, 2017 8:04 am icons must be in .ico format. and you must leave the ico file at the project's base directory
I'm thinking its this.
How did you create the .ico file? You didn't just rename it from icon.png to icon.ico, did you? This won't work, you must use a program that specifically creates .ico files.

GIMP can do this. If you upload the file somewhere I could check it for you.
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

Kamos
Regular
Posts: 33
Joined: Mon Jan 02, 2017 5:18 am
Tumblr: Kamos
Contact:

Re: Change icon

#6 Post by Kamos »

http://www62.zippyshare.com/v/YMBQnBuC/file.html here it is.... thanks for any ideas... maybe I use wrong format or something but still same icon in new or in old interface :D and yes I add line : config.windows_icon = "icon.png.ico"

User avatar
Divona
Miko-Class Veteran
Posts: 678
Joined: Sun Jun 05, 2016 8:29 pm
Completed: The Falconers: Moonlight
Organization: Bionic Penguin
itch: bionicpenguin
Contact:

Re: Change icon

#7 Post by Divona »

The file is in the correct format. Make sure you name it "icon.ico" and drop the file outside "game" folder. For more information, see Special Files in the documentation.
Completed:
Image

Post Reply

Who is online

Users browsing this forum: voluorem