VinnyVideo wrote:
What would be the best way to encrypt it to make it harder to cheat?
have fun with that. everybody participating is going to have to share the same key, and a key will only take as long to acquire as decompiling a gm exe does
if you
dont encrypt the entire file, but instead encrypt the data blocks individually (obviously any developer wanting to use that block would need the key to it), that might work a little better, but still suffers from the above weakness on a per-data block basis
or you could just store hashes of the values and validate them that way (again, this requires collaboration as to which algorithm is used, the seeding method, etc)
maybe some form of public-key crypto could work... but then again, does it really matter? unless this is an mmo or some other online system, who really cares if people cheat
a simple binary format would be sufficient to throw most people off... until someone figures out the format and writes an editor for it, which is unlikely unless you have a really popular game involved
[quote="VinnyVideo"]What would be the best way to encrypt it to make it harder to cheat?[/quote]
have fun with that. everybody participating is going to have to share the same key, and a key will only take as long to acquire as decompiling a gm exe does
if you [i]dont[/i] encrypt the entire file, but instead encrypt the data blocks individually (obviously any developer wanting to use that block would need the key to it), that might work a little better, but still suffers from the above weakness on a per-data block basis
or you could just store hashes of the values and validate them that way (again, this requires collaboration as to which algorithm is used, the seeding method, etc)
maybe some form of public-key crypto could work... but then again, does it really matter? unless this is an mmo or some other online system, who really cares if people cheat
a simple binary format would be sufficient to throw most people off... until someone figures out the format and writes an editor for it, which is unlikely unless you have a really popular game involved