Page 1 of 1

Files .INI help!

PostPosted: Sun Dec 08, 2013 5:40 am
by Jonnhy10

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!

If someone wants to prove my project: DescargarJonnhy102013-12-08 05:45:39

Re: Files .INI help!

PostPosted: Sun Dec 08, 2013 7:17 am
by Jayjay
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"

Re: Files .INI help!

PostPosted: Sat Dec 28, 2013 10:14 pm
by MrMiller
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!

Re: Files .INI help!

PostPosted: Sun Dec 29, 2013 9:23 pm
by Jayjay
@MrMiller also you could look into using data keys that verify the values eg:


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 (Never tried any of this, but hopefully it all works!)

and haha thanks MrMiller Jayjay2013-12-29 21:23:28