Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: Saving Files [GM]  (Read 1516 times)

0 Members and 1 Guest are viewing this topic.

PoeFacedKilla

Prussian Killer Bee
Saving Files [GM]
« on: April 07, 2009, 08:07:28 pm »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 269
How do you make a file unable to read by players, while being able to draw it in GML?
Logged
the Indyboard - User Generated Social Forum | Now With Even More Discussion!
Poe, The Independent Programmer
  • Zelda Shrine
Re: Saving Files [GM]
« Reply #1 on: April 07, 2009, 08:59:48 pm »
  • *
  • Reputation: +3/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6629
Encryption?

To be fair I don't think you should do this. Security by obsecurity never works, if someone wants to they will always be able to get at your files. A better method would be to go through them an md5 all your files on start up to make sure nobody has changed them.
Logged

hacker013

Zelda Fan Game Programmer
Re: Saving Files [GM]
« Reply #2 on: April 09, 2009, 05:42:41 pm »
  • Ura Zelda Project Rocks
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Posts: 50
md5 can't be reversed ;)
Logged
  • Ura Zelda Project
Re: Saving Files [GM]
« Reply #3 on: April 09, 2009, 05:52:39 pm »
  • *
  • Reputation: +3/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6629
md5 can't be reversed ;)
... I think you failed to understand what I meant.

I meant you take an MD5 checksum of the game files at startup, then compare it to a list of precomputed hashs stored within the game's exe at runtime. If they don't match, someone has changed the file, and you can report an error.
Logged

hacker013

Zelda Fan Game Programmer
Re: Saving Files [GM]
« Reply #4 on: April 09, 2009, 05:53:51 pm »
  • Ura Zelda Project Rocks
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Posts: 50
yeah and it are save games which change every time. ;)
Logged
  • Ura Zelda Project
Re: Saving Files [GM]
« Reply #5 on: April 09, 2009, 06:44:10 pm »
  • *
  • Reputation: +3/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6629
yeah and it are save games which change every time. ;)
... Again I think you fail to understand what I meant. If your talking about save games, same principle applies, calculate checksums for the save data, but store it in the save files header rather than an executables memory. The complexity of reclaulating checksums after modification is likely to put off most wanabe hackers.

However the point is, anyone will be able to get at your data, the question is simply; how long will it take them.
« Last Edit: April 09, 2009, 06:48:13 pm by Infini »
Logged
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.036 seconds with 49 queries.