How to prevent meshes from stealing?
-
- Posts: 23
- Joined: Fri Jul 13, 2007 6:08 pm
How to prevent meshes from stealing?
I think this is the problem that most of us will think about.
We have made some meshes and we don't want somebody to import or modify them. Is there any way to protect meshes (.3ds, .x, etc. )?
We have made some meshes and we don't want somebody to import or modify them. Is there any way to protect meshes (.3ds, .x, etc. )?
This has been asked before and there's not really any way to protect them i don't think.
Why are you so worried about people stealing your models? If you put a licence on them then they'd be protected from being used commercially and does it matter if someone uses them for non-commercial stuff? If no one shared their creations for free then you wouldn't even be using this lovely open-source engine
Just seen that Arras has posted whilst i'm writing and i guess his way is best, to create your own format in someway and create a loader. To be honest you could just use a normal file format but add an extra few lines of code at the start and then that would make the normal loaders fail to load it and you could easily write your own loader which would skip those lines and succeed in loading it.
Password protected zip files have been said to be utterly useless. If someone, pretty much anyone, wants to get at the contents then they can do in this day and age. So i would say that Arras' method is the only real way of doing this with Irrlicht.
Why are you so worried about people stealing your models? If you put a licence on them then they'd be protected from being used commercially and does it matter if someone uses them for non-commercial stuff? If no one shared their creations for free then you wouldn't even be using this lovely open-source engine
Just seen that Arras has posted whilst i'm writing and i guess his way is best, to create your own format in someway and create a loader. To be honest you could just use a normal file format but add an extra few lines of code at the start and then that would make the normal loaders fail to load it and you could easily write your own loader which would skip those lines and succeed in loading it.
Password protected zip files have been said to be utterly useless. If someone, pretty much anyone, wants to get at the contents then they can do in this day and age. So i would say that Arras' method is the only real way of doing this with Irrlicht.
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
But there's still no realy way to avoid stealing: Put a d3d or OpenGL debugger in between your app and the gfx card and it will deliver the vertices for free. You could scramble the input and bring the correct values back with shaders, but these are also visible to debuggers. So no real protection, just making it more complicated for script kiddies.
-
- Posts: 23
- Joined: Fri Jul 13, 2007 6:08 pm
Yes you're right
I know there is no way to protect meshes from advanced peoples, I only find solution to protect my work from kiddies, who have basic knowledge and never care about licenses, they may modify my mesh and put their name into it
Create a new file format and password protect maybe good ways to solve my problem, let me try
I know there is no way to protect meshes from advanced peoples, I only find solution to protect my work from kiddies, who have basic knowledge and never care about licenses, they may modify my mesh and put their name into it
Create a new file format and password protect maybe good ways to solve my problem, let me try
or you can embed the models into the .exe itself?
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
Sorry for my bad english...........
for a long time i have post my way ( with code and samples for VC8 ) to
protect the media files in Irrlicht, but i'm sorry, i have delete my post and no time to post it again.
( ..but over 200 downloads of this in two days.. ) .
I' have simply overwritten the "addZipFileArchive(..)" funktion in Irrlich, so that it loads an rc4 encrypted zip archive in memory to handle the files like this:
This way is easy and is sure enough for my stuff:
(max. 50 MB, else you need an blockcipher e.g. Blowfish, TripleDES, AES etc )
1. Make a zip of your data
2. Encrypt your Zip-Archive with algorithm to a file
...and back:
1. decrypt your archive in mem
2. addZipFileArchive( the decrypt zip archive in memory)
If you want the samples/codes pm me and i will send you this...
Sorry for my bad english...........
Vizzy
( [ ..the comunity Dinosaur-Programer, i think I'm the oldest here....] )
for a long time i have post my way ( with code and samples for VC8 ) to
protect the media files in Irrlicht, but i'm sorry, i have delete my post and no time to post it again.
( ..but over 200 downloads of this in two days.. ) .
I' have simply overwritten the "addZipFileArchive(..)" funktion in Irrlich, so that it loads an rc4 encrypted zip archive in memory to handle the files like this:
Code: Select all
// die verschlüsselte Datei in Speicher
// entschlüsseln und device zuweisen, danach Passwort
// sofort aus Speicher löschen
cl_rc4.OpenCipherArchive( device, "eintest", (CStringA)meshfile, CHECK_MD5::TRUE );
cl_rc4.DeleteKeyFromMem( );
(max. 50 MB, else you need an blockcipher e.g. Blowfish, TripleDES, AES etc )
1. Make a zip of your data
2. Encrypt your Zip-Archive with algorithm to a file
...and back:
1. decrypt your archive in mem
2. addZipFileArchive( the decrypt zip archive in memory)
If you want the samples/codes pm me and i will send you this...
Sorry for my bad english...........
Vizzy
( [ ..the comunity Dinosaur-Programer, i think I'm the oldest here....] )
-
- Posts: 616
- Joined: Wed Nov 01, 2006 6:26 pm
- Location: Cairo,Egypt
- Contact:
-
- Posts: 616
- Joined: Wed Nov 01, 2006 6:26 pm
- Location: Cairo,Egypt
- Contact:
-
- Posts: 4
- Joined: Mon Nov 26, 2007 5:44 pm
- Location: behind the screen
thank you....
..thanks for sending the code vizzy !
== Clean, simple, easy and speedie ==
The best method that i have seen to protect my media in Irrlicht !
you're right : not every one use ogre with Irrlicht !
== Clean, simple, easy and speedie ==
The best method that i have seen to protect my media in Irrlicht !
you're right : not every one use ogre with Irrlicht !
-
- Posts: 4
- Joined: Mon Nov 26, 2007 5:44 pm
- Location: behind the screen
..or
..not every one understand an genial idea
thanks again ...
thanks again ...
Re: thank you....
Can you post the code please?testirrdev wrote:..thanks for sending the code vizzy !
== Clean, simple, easy and speedie ==
The best method that i have seen to protect my media in Irrlicht !
you're right : not every one use ogre with Irrlicht !
Re: thank you....
someone has this code from vizzy and post it !?!?!MasterGod wrote:Can you post the code please?testirrdev wrote:..thanks for sending the code vizzy !
== Clean, simple, easy and speedie ==
The best method that i have seen to protect my media in Irrlicht !
you're right : not every one use ogre with Irrlicht !
I tried to contact vizzy but he doesn't respond on email or pm...
and as far as he only did 10 posts, I think he is no longer watching the forum(s)...
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java