Lock my project

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:

Lock my project

#1 Post by Kamos »

So I just finish my project and build it. But when i open it in renpy it is still possible to edit it...
How can I lock my project (script) to be uneditable to 3rd side?

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

Re: Lock my project

#2 Post by Kamos »

hmm sorry for bothering i fuger it.... adding this will fix it:

build.classify('game/**.png', 'archive')
build.classify('game/**.jpg', 'archive')
build.classify('game/**.rpy', 'archive')

User avatar
Ocelot
Lemma-Class Veteran
Posts: 2384
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: Lock my project

#3 Post by Ocelot »

Notice, that those are simple archives, and are easy to unpack (I created a tool for it in half an hour, or so... Before I found already existing tools).

Generally, it is impossible to completely protect an offline application against editing or extracting.
< < insert Rick Cook quote here > >

User avatar
xavimat
Eileen-Class Veteran
Posts: 1460
Joined: Sat Feb 25, 2012 8:45 pm
Completed: Yeshua, Jesus Life, Cops&Robbers
Projects: Fear&Love, unknown
Organization: Pilgrim Creations
Github: xavi-mat
itch: pilgrimcreations
Location: Spain
Contact:

Re: Lock my project

#4 Post by xavimat »

I suggest:

Code: Select all

build.classify('game/**.rpy', None)
build.classify('game/**.rpyc', 'archive')
rpy files are not needed in the build. It's still possible to convert rpyc files to rpy, and then edit them, but a little harder (not really easy for the average player).
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)

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

Re: Lock my project

#5 Post by Imperf3kt »

What about .rpa files, such as with Demon Master Chris
I don't have the slightest clue how to read those. Trying results in the following:
http://puu.sh/utujq/3ff264f6fc.png
http://puu.sh/utukH/3b93dd7061.png

Links valid for 30 days only (may be up to three months depending on traffic)
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

User avatar
Ozitiho
Regular
Posts: 90
Joined: Mon Sep 22, 2014 3:29 pm
Location: Netherlands
Contact:

Re: Lock my project

#6 Post by Ozitiho »

.rpa is an archive format. Use extracting tools to read. I used the following tool to extract all of Fault Milestone.
https://github.com/Shizmob/rpatool

Renpy has tools to obscure the source files. However, you'll find that people will find ways to access the source files to all games if they want to.

Post Reply

Who is online

Users browsing this forum: No registered users