im making a game that uses a INI file to store information, so the player can load their game. but i have small probelm, the ini file can be opened by anyone and changed, ive seen in games like eternal daughter that no ini's are used, how else can i save info?? im using TGF by the way.
and another thing is there a search engine for the boards on DC, it would be really helpful
what i mean about the ini files is how do you save information like the what level the player is on, and then be able to load that level once the game has been exited and reopend, but without using an ini file as ini files can be easily changed.
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G
all encryption needs some form of logic or it won't be de-cryptable
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
22nd July, 2003 at 03:15:13 -
Lol. How can you hack something that doesn't do anything in the first place? If it was non-logical it wouldn't be de-cryptable as Kris A said. Therefore you couldn't de-crypt it to extract information for your app, and that means it becomes a usless ini file just sitting around.
Rapidflash: Yeah, the CNC Array Format can be editted in a hex editor as long as you know which bytes do what. I have a spec for it written down somewhere, if anyone wants it. You can also edit it through another Array Object, so you can create your own editors without needing to do any hex stuff if you want.
The advantage with the hex, though, is that you can get a bit more info (eg: is array global? is array numeric/text? is array 1-based?).
Surprisingly, though, Eternal Daughter seemed to have some other failsafe system that I have yet to decypher. Doesn't seem to be a checksum, but somehow even when editting the correct part of a Save Slot, it doesn't update when you load it, it just corrupts the save. Strange. (if anyone else has had more luck cracking ED's save slot system, give us a DC-mail).
Gareth: Get the binary object from www.3ee.com/docs/ and use blowfish encryption to enc/decrypt the ini.