[Solved] How do you extract a game to an .exe?

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
Lockvia
Regular
Posts: 124
Joined: Wed Mar 26, 2014 8:02 pm
Projects: Prank Masters
Organization: Lockvia Studios
Tumblr: Lockvia
Deviantart: Lockvia
Location: Australia
Contact:

[Solved] How do you extract a game to an .exe?

#1 Post by Lockvia » Wed Mar 26, 2014 8:28 pm

Hi,

I'm currently writing the first and second chapter of my game and planning to make them into a demo before finishing off the full version. I still have a long way to go before I make the demo version. But I just want to ask beforehand just in case I run into some trouble later. I'm still quite new to this, so this probably sounds like a silly question. But how do you make the game into an .exe file? Or into a file without allowing the players see the raw images of the game?

I searched around and found that you're suppose to go to "Tool" > "Archive Files". But in the latest version, which is Ren'Py 6.17.0.282, I can't seem to find it anywhere on Ren'Py Launcher. Any help would be awesome!
Last edited by Lockvia on Wed Mar 26, 2014 8:43 pm, edited 1 time in total.

User avatar
Asceai
Eileen-Class Veteran
Posts: 1258
Joined: Fri Sep 21, 2007 7:13 am
Projects: a battle engine
Contact:

Re: How do you extract a game to an .exe?

#2 Post by Asceai » Wed Mar 26, 2014 8:35 pm

'Build Distributions' to make the game into an .exe.

To make the images inaccessible, you'll have to modify the build settings in options.rpy (Build Distributions should add this for you if it isn't already in your options.rpy, so you might want to click that first even if you aren't ready to build a release).

There's two commented-out lines in the default build settings,
# build.classify('game/**.png', 'archive')
# build.classify('game/**.jpg', 'archive')

If you uncomment those, all .png and .jpg images will be put into an archive.rpa where it will be harder (not impossible, just not immediately trivial) to access the files from. You can classify other extensions to archive in the same way.

User avatar
Lockvia
Regular
Posts: 124
Joined: Wed Mar 26, 2014 8:02 pm
Projects: Prank Masters
Organization: Lockvia Studios
Tumblr: Lockvia
Deviantart: Lockvia
Location: Australia
Contact:

Re: How do you extract a game to an .exe?

#3 Post by Lockvia » Wed Mar 26, 2014 8:42 pm

I will do this when I finish the first two chapters. Thank you so much for your answer!

Post Reply

Who is online

Users browsing this forum: Bing [Bot]