hiding saved data

For questions about using Classic.

Post » Sun Apr 17, 2011 6:07 pm

I haven't experimented with it yet, but before I do, I thought I could get pointed into the right direction (or old forum post).
Is it possible, or in what way do you workaround the issue, to save data in such a way that it is hidden for the user of your game?
(hidden, in such a way that it is not easy to just open a text-file, that contains saved data, to alter the current progress of the game)

For example:
- main menu has an option: sound on/off.
- level progress of a character, in an rpg-game.

Thanks in advance.
B
16
S
5
G
7
Posts: 599
Reputation: 5,000

Post » Sun Apr 17, 2011 10:52 pm

The only two option would be too:

1. Hide the data/file. Since you probably don't want a rootkit with your game then you could hide your data in a format that the user couldn't easily understand. Or hide your files inside other files.
2. Encrypt the data on disk. Then decrypt the file when you want to read the data. I think the S plugin supports encryption or you could use Python to encrypt.

If you don't care about hiding and just want the user to not be able to change it, you could try a checksum. I think Minor or somebody else wrote a tutorial about. As anybody would say, all of these techniques are pretty easy to get around, but will work to keep your average gamer honest.
B
8
S
3
G
7
Posts: 835
Reputation: 5,313

Post » Sun Apr 17, 2011 11:06 pm

Thanks for the reply. I think I don't care so much about hiding. So I will search on "checksum" in this forum.
B
16
S
5
G
7
Posts: 599
Reputation: 5,000


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest