Page 1 of 1

A screensaver

Posted: Sun Nov 14, 2010 12:41 pm
by john hae
Hello

I'm thinking of using RenPy for building a screensaver. It's so easy! I just want to display a few images for a few seconds, and it's a piece of cake with RenPy. However, what restrains me a bit is the "distribution" of the screensaver. I don't want the scripts and the images to be easily accessible. Is there any way to bundle the resources along the executable file? Any suggestions or comments about building a screensaver with RenPy? Thanks in advance.

Re: A screensaver

Posted: Sun Nov 14, 2010 1:05 pm
by Formedras
There's an "Archive Files" option in the launcher that will take whatever media files you want and put them into a single .rpa archive. In addition, you can run the "game", and Ren'Py will make .rpyc files out of your .rpy files, then after you do the Build Distributions, you can remove the .rpy files (except, apparently, for script_version.rpy, since everyone keeps that in even though it works without it) and it will work just fine. (You could tell Build Distributions to exclude .rpy files, but that leaves you without script_version.rpy.)

Also... if you want to hide even the compiled script files so that they're not even visible, you might want to ask the Ori, Ochi, Onoe team how they did it; I have no clue, personally. (I just tried archiving the .rpyc files using the archiver, and lint gave a bunch of errors afterward.)

Re: A screensaver

Posted: Sun Nov 14, 2010 2:33 pm
by Jake
Formedras wrote: Also... if you want to hide even the compiled script files so that they're not even visible, you might want to ask the Ori, Ochi, Onoe team how they did it; I have no clue, personally. (I just tried archiving the .rpyc files using the archiver, and lint gave a bunch of errors afterward.)
I think you just need to archive the .rpyc files and then remove the .rpy files. It's worked fine for me in the past like that.