how to prevent save cheating? (for games where saving is NOT allowed)
This will work because when a file is copied it generates a new date-time stamp within Windows and any modifications will cause the game to reject it.
These checks can be fairly easily circumvented by disassembling the program and finding the offset for the function that does the check and changing the next instruction to 'return' thus bypassing the entire check.
Most users wouldn't have a clue how to do that. There is no lock that can't be picked. There is no cipher that can't be deciphered.
Most users wouldn't have a clue how to do that.
True, most won't. but it's far more easier for crackers to bypass checks then to circumvent encryption, and as soon as one has done that they can make it availaible to most users.
Or simply get a tool to change these dates after the modification.True, most won't. but it's far more easier for crackers to bypass checks then to circumvent encryption, and as soon as one has done that they can make it available to most users.
...unless of course you place the savefiles out of reach of the user, for example an external server (someone mentioned this earlier)
Thanks all, but i repeat:
1. No serverside stuff, too messy and complicated.
2. I dont care about hackers, im not even a pro myself, i just want to deter casual users from being lazy and cheat past hard parts of my game (and make carefulness part of the intended gameplay)
3. Therefore, no encryption needed. I use a binary savefile, thats good enought.
4. I already said saying "let players do whatever they want" doesnt help me.
Hawkblood: Wouldnt you just backup that file as well? And if you want to return to a previous state of your campaign you return the backed up savefile AND the file keeping track of the timestamps?
Thanks all, but i repeat:
1. No serverside stuff, too messy and complicated.
2. I dont care about hackers, im not even a pro myself, i just want to deter casual users from being lazy and cheat past hard parts of my game (and make carefulness part of the intended gameplay)
3. Therefore, no encryption needed. I use a binary savefile, thats good enought.
4. I already said saying "let players do whatever they want" doesnt help me.
Hawkblood: Wouldnt you just backup that file as well? And if you want to return to a previous state of your campaign you return the backed up savefile AND the file keeping track of the timestamps?
NTFS ADS is likely the only thing that will work for you. The fact that the alternate streams are not copied along when the main file/folder is copied is what will produce the behavior you want.