I was talking on another topic about making a system to encrypt python scripts for games making it much harder to edit them once they are released. I assume encodings without a variable key are less effective so I found a Python “DES” algorythm script that uses a string key. It is very slow but I may be able to run it only at the very start of the game, like a loading screen. So I am asking is DES a decent encryption? Is this something anyone is interested in? If so I will ask the author of the script what his liscense on it is.
im a little slow sometimes but , do you want to make a script that nobody can edit. Like the script is password protected or something?
It won’t exactly be password protected. Part is encrypted part is compiled so it would take so long to edit the scripts i think noone will bother once the game is ‘released’. The ‘password’ will be in the compiled code I think and easy to hack.
why would you honestly care?
I mean, a publisher key and the functionality of it is much more useful
as for something similiar, see if you can use a compilied python script, but it would be a bit of a challenge to compile (probably would need to instal python 2.0 and stuff)
Zero not to argue but would you care to explain? Publisher keys are not available and I don’t see anyone else making unique ones. Also this would protect the graphics but not the script it will remain in plain text format and I suspect anyone can edit the exe file.
Compileing seems to work fine, even with the most recent ‘active python’ version. I compiled the des script I mentioned earlier.
The only reason to protect scripts is if the gme is online multiplayer or something.
and also this is a hobby so sometimes people try new things for no apparent reason.
I’d like to see how well your ‘DES’ performs Bookeater. Your not talking about encrypting every script though are you? And what about the i/o files produced during game play - you’d need to protect these as well for multiplayer games? When you say it uses a “string key” are you saying that it replaces each character in a scirpt with another (according to your string key), to produce ‘apparent’ gibberish? If you could work it so that the scripts would only have to be ‘converted’ once at the start (like you say) then this is surely worth looking into.
We wait expectantly
You need to explain what you are asking more clearly. I did not understand any part of this qoute. Why would you want to encrypt a python script if you made the game into and exe? The average gamer do not know how to decomplie and exe to see what is in the game nor do they care. They just want to play the game.
If you release the game in blend format I could see that you MIGHT want to encrypt some scripts to keep other game developers from copying you work.
So what are you talking about. A game released in blend format or a game released in exe format?
You need to explain what you are asking more clearly. I did not understand any part of this qoute. Why would you want to encrypt a python script if you made the game into and exe? The average gamer do not know how to decomplie and exe to see what is in the game nor do they care. They just want to play the game.
WHat I am asking is : is DES a good encryption method, and if I took the time to ask for the author’s permission and make tutorial and example stuff would people use it?
The average gamer is absolutely smart enough to open an exe in a text editor and edit the scripts. They may also know that a blender exe can be opened in blender unless Z3ro really has a secret stash of unique key.dat files.
Why protect from cheating? Like I said it’s because I want to try making some that is online multiplayer featured and of a competitive nature. I wouldn’t care if someone copied python scripts, that would be a little weird.
I don’t have a stash of publisher keys
I have no intention of making/acquiring one
because of the significant speed decrease, I would suggest you just compile the script
I do not know how good DES would be
you would really just be obfuscating the script either way
Huh couldn’t contact the guy who wrote the des thing. Well I’m open to suggestions on other scripts.