Securing Files in a password protected or secured folder
4 posters
Page 1 of 1
Securing Files in a password protected or secured folder
I have sprites and other files that I'm considering to get externally as I want my game to be fast at loading, but is it possible to put them in a secured folder so nobody can access them or take them.
I dunno how to do this, I really need help.
Is this possible through game maker using code or a DLL.
Thanks in advance!
I dunno how to do this, I really need help.
Is this possible through game maker using code or a DLL.
Thanks in advance!
Re: Securing Files in a password protected or secured folder
Well, actually. 39dll could be used for this. Or, you could make your own encryption algorithm.
What you need to do is to encrypt your files, and decrypt into a temporary folder which you can delete as soon as you have loaded your image.
39dll has a encryptor, but i've never used it myself. It also can make md5 buffers for the encryption password. I would recommend using 39dll only if you are already using it, otherwise use GML and make a encryption algorithm
What you need to do is to encrypt your files, and decrypt into a temporary folder which you can delete as soon as you have loaded your image.
39dll has a encryptor, but i've never used it myself. It also can make md5 buffers for the encryption password. I would recommend using 39dll only if you are already using it, otherwise use GML and make a encryption algorithm
Re: Securing Files in a password protected or secured folder
Wow I've never actually done that can you post example code as that would be the best way for me to learn from.
Just some start off code as I'm not good at encryption as I have never started using encryption.
Just some start off code as I'm not good at encryption as I have never started using encryption.
Re: Securing Files in a password protected or secured folder
I think you can put them in hidden folders and force GM to show all hidden folders, then you can load the external files. I haven't tried this yet, but it may be possible.
MelonYoshi- Newbie
-
Number of posts : 2
Age : 29
Location : Utah, America.
Job/hobbies : No jobs. | Game creation, spriting, drawing, writing, C++, science, programming, GM...
Warning :
Reputation :
Registration date : 2009-01-06
Re: Securing Files in a password protected or secured folder
I'm not sure if this is the best way, but I normally just alter the ASCII of each character in the file. BUT, since image files aren't read as text (just displayed as text from WordPad), this could corrupt the file.
Gamerz- Newbie
- Number of posts : 38
Warning :
Reputation :
Registration date : 2008-11-05
Re: Securing Files in a password protected or secured folder
It depends what format your files are using. If they are bitmap, its easy because they use ASCII, but im not sure for other formats
Re: Securing Files in a password protected or secured folder
Alright, well, I've tried cutting and pasting the text that was shown in WordPad for a .JPEG image, and pasted it into notepad and saved it. I couldn't do anything with the file.
And thanks for the info on .BMP files, I understand why .BMP's are needed for height-maps.
And thanks for the info on .BMP files, I understand why .BMP's are needed for height-maps.
Gamerz- Newbie
- Number of posts : 38
Warning :
Reputation :
Registration date : 2008-11-05
Re: Securing Files in a password protected or secured folder
Nah the .gif animations. I got a .dll but from what I've read everything is hackable.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum