0 Favourites

hiding saved data

This forum is currently in read-only mode.
  • 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.

  • 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.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Thanks for the reply. I think I don't care so much about hiding. So I will search on "checksum" in this forum.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)