Hi, Im new on LSF.
First of all I had a question.
I dont know if Ren'Py allow it but, I want to know if I can protect my software with password or licence key.
Something like the Adobe products or any other pc program.
Because I want to my software just be able to download for students and my idea was:
The student send me a mail with the school to he or she study and the purpose, later if be a convincent mail I send it the key.
Later after the student download its just have to enter the key and.. Tadaaa had a activated software.
Also I found this: http://www.makeuseof.com/tag/how-to-pas ... s-program/
But be better to do it just one time and be that on the code of the program.
Tanks anyway! ;D
Please dont be mad about my english, I dont are native american.
Password software protection?
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.
- Nakashima H Soft.
- Newbie
- Posts: 10
- Joined: Fri Jan 24, 2014 12:00 pm
- Projects: Syntax Time Travel, Ethicus, Ethicus 2
- Organization: Nakashima Heikichi Software
- IRC Nick: NHS
- Location: México
- Contact:
- i1abnrk
- Regular
- Posts: 38
- Joined: Wed Nov 20, 2013 1:50 pm
- Projects: Critter Corral, Haremu Kikkemu Mo
- IRC Nick: i1abnrk
- Deviantart: i1abnrk
- Github: i1abnrk
- Location: Wisconsin
- Contact:
Re: Password software protection?
You can use password protection to unzip a zip file. When you zip your distribution, the zip software normally has an option to require a password to unzip it. I think that renpy doesn't offer to do that when it creates the distribution file. You would use another zip tool like Winzip or 7-zip to unzip the distribution file and then use that software again to zip the resulting folder with password protection.
Last edited by i1abnrk on Sat Jan 25, 2014 1:21 am, edited 1 time in total.
Re: Password software protection?
It is possible indeed, ranging from the most basic password protection to more elaborate solutions. The most basic would be something like this:
So there's a predetermined serial 20 chars long, and if the user does not enter the correct one, the program quits. Else, it carries on normally, i.e. is "unlocked". persistent.unlocked determines if the user has already typed the correct code, so it's an one-off activation.
Of course the ways around such an implementation are too many, but you get the point.
Code: Select all
label start:
if not persistent.unlocked:
$ sn = renpy.input("Please input your serial number", length=20)
if sn == "1111-1111-whatever":
$ persistent.unlocked == True
else:
text "Invalid serial"
$ renpy.quit()
Of course the ways around such an implementation are too many, but you get the point.
- Nakashima H Soft.
- Newbie
- Posts: 10
- Joined: Fri Jan 24, 2014 12:00 pm
- Projects: Syntax Time Travel, Ethicus, Ethicus 2
- Organization: Nakashima Heikichi Software
- IRC Nick: NHS
- Location: México
- Contact:
Re: Password software protection?
Tanks, That help so much,
Who is online
Users browsing this forum: Google [Bot]