#49093 - thos_thom - Tue Jul 26, 2005 12:28 pm
does anyone have any thoughts as to how i would go about varifying if a save game has become corrupted or not used before.
In my game as it stnds when you load a game that has not been saved to, you get the nonsense that was in the sram previously.
Any ideas as to a robust way i could determine if a savegame has been previously used and is not corrupted?
I supposed i could check that everything was in acceptable ranges (those variables that should be enums for example) but if corruption had occoured within that range i would not know.
perhaps a checksum would solve the problem, is this how comercial games do their varification? Or perhaps this is overkill, is there a simple way to solve this problem that i have overlooked?
any thoughts welcome, thanks
thom
_________________
--------------
^thom(as)?
--------------
In my game as it stnds when you load a game that has not been saved to, you get the nonsense that was in the sram previously.
Any ideas as to a robust way i could determine if a savegame has been previously used and is not corrupted?
I supposed i could check that everything was in acceptable ranges (those variables that should be enums for example) but if corruption had occoured within that range i would not know.
perhaps a checksum would solve the problem, is this how comercial games do their varification? Or perhaps this is overkill, is there a simple way to solve this problem that i have overlooked?
any thoughts welcome, thanks
thom
_________________
--------------
^thom(as)?
--------------