Files .INI help!

This forum is currently in read-only mode.
From the Asset Store
Convert multiple Excel files into JSON files and import them into construct3.
  • Helloo!

    You have some idea of since "concealing" a file .INI in order that it is not edited.

    Since I do not understand very well the "AppPatch&"

    Thank you for his help! <img src="smileys/smiley36.gif" border="0" align="middle">

    If someone wants to prove my project: Descargar

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • AppPath says for the INI file stored in the same folder as game.exe, if you want to "encrypt" you'll be best to use something else, but a simple trick is just to rename .ini to another format that's unusual like .gfd (game-file-data? make anything up).

    So to load and save to a "secret INI" do: AppPath & "gdat.gfd"

  • Something I've always found helpful was to create a file with a bizarre and very broad data system, like an .ini file just full of a bunch of things that make no sense with the useful data separations all using code names and even still having that data buried well inside all of the fluff. This way, if the user wanted to screw around with the game (and of course cheat it) he'd have to be some kind of super-genius to figure out how to separate the fluff data from the actually useful data.

    As a side note, Jayjay is dominating the CC board! <img src="smileys/smiley2.gif" border="0" align="middle" />

  • MrMiller also you could look into using data keys that verify the values eg:

    [Object]

    HP=30

    HPMD5=34173cb38f07f89ddbebc2ac9128303f

    Where the MD5 hash-code is equal to 30 (you can't reverse MD5 hash if I remember, so you run a hash of HP in the program then check it against the pre-stored HPMD5 hash code in the INI).

    That would be possible to crack of course (unless you double-hashed it by re-hashing the MD5 code with an added secret code at the end of it inside your software). But it's definitely harder <img src="smileys/smiley1.gif" border="0" align="middle" /> (Never tried any of this, but hopefully it all works!)

    and haha thanks MrMiller <img src="smileys/smiley4.gif" border="0" align="middle" />

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