[SOLVED] How to hide or block the script,rpy for other people don't access it?

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
leoxhurt
Regular
Posts: 34
Joined: Fri Aug 04, 2017 6:25 pm
Contact:

[SOLVED] How to hide or block the script,rpy for other people don't access it?

#1 Post by leoxhurt »

I want to block the sctipt.rpy when i build my distributions. how to make it?
Last edited by leoxhurt on Thu Aug 17, 2017 11:30 am, edited 1 time in total.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1958
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: How to hide or block the script,rpy for other people don't access it?

#2 Post by Donmai »

Your compiled game only needs the rpyc files to run. Before building your distribution, you can edit the build information in options,rpy this way:

Code: Select all

    ## Classify files as None to exclude them from the built distributions.

    build.classify('**~', None)
    build.classify('**.bak', None)
    build.classify('**/.**', None)
    build.classify('**/#**', None)
    build.classify('**/thumbs.db', None)
    build.classify('game/**.rpy', None)
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

Post Reply

Who is online

Users browsing this forum: No registered users