Dupletor
Member
Hello.
In the game I am developing, I use save files very intensively in order to optimally create a realtime experience.
That includes access to files with different properties at different frequencies and even information buses for parallel execution (In Linux I could create globals, but I don't trust Window's Kernel, lol).
However, as I access files too frequently, I don't want a player to randomly lose the entire save in case the game closes while the file is saving. So far I was unable to find any sort of problems with the standard saving system in the game, but I barely executed the game 1000 times, so I have no idea what would be the error rate for save corruption, all I know is it is at least very rare.
Is there a way to prevent corruption completely, or is the risk mandatory? I would like to know security strategies I could use.
In the game I am developing, I use save files very intensively in order to optimally create a realtime experience.
That includes access to files with different properties at different frequencies and even information buses for parallel execution (In Linux I could create globals, but I don't trust Window's Kernel, lol).
However, as I access files too frequently, I don't want a player to randomly lose the entire save in case the game closes while the file is saving. So far I was unable to find any sort of problems with the standard saving system in the game, but I barely executed the game 1000 times, so I have no idea what would be the error rate for save corruption, all I know is it is at least very rare.
Is there a way to prevent corruption completely, or is the risk mandatory? I would like to know security strategies I could use.