Password protected zip files ...
Password protected zip files ...
Does Irrlicht supports reading from a password protected zip file ?? 
-
Guest
i believe this question has been brought up before... and the answer was people are gonna find a way to modify the game contents if they really want to. as far as protecting your game content from theft and misuse...etc...etc...make sure your readmes, disclaimers, legal docs, etc. are clear that u want ur crap protected. other than legal stuff... i dont know theres really much you can do unless you make your own secure zipping format that irrlicht can read.
Well it's possible to implement the zip password decryption algorithm in irrlichts zip reader. I once spent some (acually a lot of) time with it. I got it almost working but left it alone then because I had more important things to do. I might finish it some day, but I'll promise nothing.
It is like it is. And because it is like it is, things are like they are.
Yes, people will find a way to mess with your content if they want to.
But still -- I wouldn't use zip encryption if I wanted to protect my stuff. Zip encryption is very weak, known, and it's easy to find crackers for it.
I'd encrypt the entire zipfile using some other method, and add a decryption filter into Irrlicht's file reading. I'd do it in such a way that encrypted or plaintext files could be read so that during development, I wouldn't have to worry about re-encrpting things for testing.
I might try to be compatible with Smaller Animals Software's SACrypt, just for ease of use (http://www.smalleranimals.com/sacrypt.htm). SACrypt is a free tool that adds a contex menu item in Explorer which lets you encrypt files with a couple of clicks.
But still -- I wouldn't use zip encryption if I wanted to protect my stuff. Zip encryption is very weak, known, and it's easy to find crackers for it.
I'd encrypt the entire zipfile using some other method, and add a decryption filter into Irrlicht's file reading. I'd do it in such a way that encrypted or plaintext files could be read so that during development, I wouldn't have to worry about re-encrpting things for testing.
I might try to be compatible with Smaller Animals Software's SACrypt, just for ease of use (http://www.smalleranimals.com/sacrypt.htm). SACrypt is a free tool that adds a contex menu item in Explorer which lets you encrypt files with a couple of clicks.