XD005
Member
Hey guys, what do you think the best way to save user profile information?
Binary files, Ini, .json?
I'm leaning towards binary files because it makes snooping a little more difficult and cheating less accessible but then you have to do more checks so that your values don't overrun.
If something is larger than 255 then you have to designate 2 bytes and add them back together when loading, ini files are easier but I feel would also be easier to cheat.
You could encode these and grab the md5 hash, encode the hash and store that in another file so that when this file is changed, you delete the save file and alert the user that cheating isn't allowed...
Idk what do you guys think? How do most games store user profile data? My game will have some RPG aspects and some data is stored on Steam and some on the local disk so I don't want cheating to be so easy.
Binary files, Ini, .json?
I'm leaning towards binary files because it makes snooping a little more difficult and cheating less accessible but then you have to do more checks so that your values don't overrun.
If something is larger than 255 then you have to designate 2 bytes and add them back together when loading, ini files are easier but I feel would also be easier to cheat.
You could encode these and grab the md5 hash, encode the hash and store that in another file so that when this file is changed, you delete the save file and alert the user that cheating isn't allowed...
Idk what do you guys think? How do most games store user profile data? My game will have some RPG aspects and some data is stored on Steam and some on the local disk so I don't want cheating to be so easy.