|
-
May 18th, 2010, 09:22 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Protect my Game's program files
Hi.
I have a game with like a million of resource files (.PNG; .BMP; .WAV; .MP3; ETC) Iv been working on these files for like.. a Year, I don't want these wannabe litle kids, etc, to steal my work just like that.
So I was thinking of crypting the files, so that If my game need to load them I have to put something like this:
VBCode Code:
If (Check_If_The_File_Is_Crypted("c:\test.png") = False) Then
MsgBox "Error"
Exit Sub
End If
'// Decrypt so we can load it.
Decrypt_File ("c:\test.png")
'// Load the file:
Load_File ("c:\test.png")
'// Crypt it back.
Crypt_File ("c:\test.png")
By decrypting them when we need them, or at least adding some junk data to the header of each file, so that the user will get: Uknown format or corrupted file.
But... This is so amazingly slow, knowing that my game have to load like a thousand files, and with this it takes 3 times longer.
Anyone have a better (fast) idea, to stop the user from seeing my "program files"?
Thanks.
 DoEvents
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|