where is config.developer and how to build an exe file?
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.
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.
- renoa-heartilly
- Regular
- Posts: 115
- Joined: Sat Jul 17, 2010 2:37 am
- Completed: مقهى الضائعون, Arabic Translations for Ren'py, Pretty Please
- Projects: حور, BB project, dentist drama
- Organization: stanza studio (creative circle)
- Contact:
where is config.developer and how to build an exe file?
hello everyone!
i've finally finished my game, but when i build the distribution files i get a zip file with my project simply collected inside. meaning the folders and music files and images are all out there for anyone to see.
i assumed config.developer needs to be set to false, but with the last few updates it disappeared from options.rpy!
i typed it in manually but it still did absolutely nothing, the distribution file still collects the game files without creating a single exe file for them.
where did config.developer go? and how do i tell renpy to build the distribution files correctly?
i've finally finished my game, but when i build the distribution files i get a zip file with my project simply collected inside. meaning the folders and music files and images are all out there for anyone to see.
i assumed config.developer needs to be set to false, but with the last few updates it disappeared from options.rpy!
i typed it in manually but it still did absolutely nothing, the distribution file still collects the game files without creating a single exe file for them.
where did config.developer go? and how do i tell renpy to build the distribution files correctly?
- papiersam
- Veteran
- Posts: 231
- Joined: Fri Aug 12, 2016 2:24 pm
- Completed: Gem Hunt Beta, 1/Probably, Animunch
- Projects: The Panda Who Dreamed
- Contact:
Re: where is config.developer and how to build an exe file?
Inside that zip is an .exe: that's the file you click to run the program.but when i build the distribution files i get a zip file with my project simply collected inside. meaning the folders and music files and images are all out there for anyone to see.
If you're looking to compile everything into one .exe, you have to use a separate wizard for that.
If you just want to archive your files, you add the build classify stuff to the options.rpy (you also have to add config.developer = False to the options.rpy, I don't think it's there by default anymore)
- Darim
- Regular
- Posts: 67
- Joined: Sun Jun 21, 2015 4:17 pm
- Organization: Setsuna Ken
- Github: SetsunaKen
- Location: Germany
- Contact:
Re: where is config.developer and how to build an exe file?
Setting config.developer to False will only prevent access to the developer tools.
Add this lines at the end of your options.rpy to put all the file in an archive.
This is going to obscure your files for a little bit at least.
Add this lines at the end of your options.rpy to put all the file in an archive.
This is going to obscure your files for a little bit at least.
Code: Select all
build.classify('game/**.png', 'archive')
build.classify('game/**.jpg', 'archive')
build.classify('game/**.rpy', 'archive')
build.classify('game/**.mp3', 'archive')
- papiersam
- Veteran
- Posts: 231
- Joined: Fri Aug 12, 2016 2:24 pm
- Completed: Gem Hunt Beta, 1/Probably, Animunch
- Projects: The Panda Who Dreamed
- Contact:
Re: where is config.developer and how to build an exe file?
Ah, I should have been clearer with what I said:
You can use an .exe compiling software to compile the distributions (after the game has been compiled to it's own exe), and have it put all the files in select folder paths, make shortcuts, and all that jazz. It was something I looked into when I made my first larger-scale game.
You can use an .exe compiling software to compile the distributions (after the game has been compiled to it's own exe), and have it put all the files in select folder paths, make shortcuts, and all that jazz. It was something I looked into when I made my first larger-scale game.
- renoa-heartilly
- Regular
- Posts: 115
- Joined: Sat Jul 17, 2010 2:37 am
- Completed: مقهى الضائعون, Arabic Translations for Ren'py, Pretty Please
- Projects: حور, BB project, dentist drama
- Organization: stanza studio (creative circle)
- Contact:
Re: where is config.developer and how to build an exe file?
ooooh it used to be done using only ren'py, when was this changed? ._.You can use an .exe compiling software to compile the distributions (after the game has been compiled to it's own exe),
so basically:Setting config.developer to False will only prevent access to the developer tools.
Add this lines at the end of your options.rpy to put all the file in an archive.
1- developer.config is no longer a default string, and i have to add it myself to options.rpy using
Code: Select all
config.developer = False
2- I can archive files to hide them from being copied, but if i wanted the user to download a single .exe file without the other folders, I can't do it using ren'py and must use another piece of software to do it?
I understand now, and it doesn't seem like a big deal because the project i'm building now is very small and compact, but it seems like ren'py is moving away from being simple and accessible for the simple everyday user
thank you Darim and r_sami for your quick and generous replies
- xavimat
- Eileen-Class Veteran
- Posts: 1461
- Joined: Sat Feb 25, 2012 8:45 pm
- Completed: Yeshua, Jesus Life, Cops&Robbers
- Projects: Fear&Love
- Organization: Pilgrim Creations
- Github: xavi-mat
- itch: pilgrimcreations
- Location: Spain
- Discord: xavimat
- Contact:
Re: where is config.developer and how to build an exe file?
config.developer is by default set to "auto", so you need to do nothing. It will be True when you are developing the game and False when you build a distribution. This is the reason why it's no longer in options.rpy. You can simply forget it.renoa-heartilly wrote:1- developer.config is no longer a default string, and i have to add it myself to options.rpy usingor instead of False i can use "auto" with the quotation marks, right?Code: Select all
config.developer = False
Doc: https://www.renpy.org/doc/html/config.h ... .developer
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
- Darim
- Regular
- Posts: 67
- Joined: Sun Jun 21, 2015 4:17 pm
- Organization: Setsuna Ken
- Github: SetsunaKen
- Location: Germany
- Contact:
Re: where is config.developer and how to build an exe file?
I don't know if this is up to date: https://www.renpy.org/wiki/renpy/doc/cookbook/NSISrenoa-heartilly wrote: I can archive files to hide them from being copied, but if i wanted the user to download a single .exe file without the other folders, I can't do it using ren'py and must use another piece of software to do it?
- renoa-heartilly
- Regular
- Posts: 115
- Joined: Sat Jul 17, 2010 2:37 am
- Completed: مقهى الضائعون, Arabic Translations for Ren'py, Pretty Please
- Projects: حور, BB project, dentist drama
- Organization: stanza studio (creative circle)
- Contact:
Re: where is config.developer and how to build an exe file?
that's a great option, but what if i wanted the exe to be an executable without an installation? does NSIS give you the option?Darim wrote:I don't know if this is up to date: https://www.renpy.org/wiki/renpy/doc/cookbook/NSIS
so it's hidden but it's still functional?renoa-heartilly wrote:ooooh it used to be done using only ren'py, when was this changed? ._.You can use an .exe compiling software to compile the distributions (after the game has been compiled to it's own exe),
xavimat wrote: config.developer is by default set to "auto", so you need to do nothing. It will be True when you are developing the game and False when you build a distribution. This is the reason why it's no longer in options.rpy. You can simply forget it.
Doc: https://www.renpy.org/doc/html/config.h ... .developer
that's a relief!
in that case, Ren'Py should stop telling me to 'make sure config.developer is set to False' when building distributions
- PyTom
- Ren'Py Creator
- Posts: 16096
- 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: where is config.developer and how to build an exe file?
That's right, sorry about that. Sometimes I forget about the documentation, especially the non-normative docs.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: Sugar_and_rice