If i lock a blender exe file it wont be locked. i can stil open it.
WHY
That us because it only is locked for people who donāt have the same license as you. But since Blender has gone open source, all licenses are registered to the Blender Foundation. Thus, there is no way you can lock a file anymoreā¦
u can write a file encryption and decryption function in python or C++, encrypt the file before distroburing it. Make a luancher in C++ or python. When someone opens the launcher it decrypts the game and launches. When the game is done it encrypts it again.
Sounds cool, it that something YOU can do? Could be nice if you made a freeware program that could do just that
-ZuiQ / Mads
Hmmmā¦ that sounds like something āS_Wā could doā¦
Hey code masters?
is possible do some blender apllication to read the HD serial number then compares this to a keyword, to make some type of license on distribuition of blender games?
or python can read the user HD serial number and write txt files?
Yep, you could use a keyfile like they used before for publisher, just generate your own when you make the file, then when someone else tries to open it, it sees that they donāt have the keyfile. But if you want them to be able to run it, you still have to deencrypt it at least temporarily. If you delete the deencrypted files when you exit the program, and put the deencrypted files somewhere where someone wont suspect, and name them weird, then most people wonāt be able to find them:)
Someone still needs to write the program though.
someone could do write a runtime HDserial/password checker? I cant!
maybe on 5 or 6 years!
Dont tell me that nobody have thought about this before.(a hacker or someon)
thx anyway. I try to use some other programs to lock it
I have written a program that can encrypt a file based on a key file, then decrypt it with the same key. Unfortunately this is not very usefull by itself.
First, how to keep the key file secure? The easiest solution is to hard code the key file into the encryption program, but that means recompiling for every different key. It would be nice to find a way to load the key into the program itself without recompiling, Iām not sure how that would be done thoughā¦
Then, what to do with the decrypted version of the file while the gameās running. One solution is salukās suggestion of hiding it somewhere and giving it a weird name. A slightly more eligant solution would be to decrypt the file into the computerās memory and get the blender player to open the file right from memory, but I donāt have the programing skills for that yet.
I canāt understand why you canāt save the encryption-code in the program that encrypts/decrypts det game?
errrā¦ does anyone actually have the key-file generator for blender? I cant seem to find the source :-? and Iāve been looking a long time.
Blender uses a method to read an external key file without re-compilingā¦ that might be of useā¦
Yes thatās the only way i know how to do this at the momentā¦but it would be very easy to ācrackā this system, because you can simply use the api to get informed when the content of a folder is changedā¦even if you vary the path randomly, this file can still be found in a few minutes (especially on 2000 or XP). Thinking over of a better, a save solutionā¦
Thatās not the main issueā¦