Here is an example:
1. I start a new game, while deleting the save file:
Code: Select all
ES3.DeleteFile(SaveManager.SaveDataFileName);
Code: Select all
ES3File es3File = new ES3File(SaveDataFileName);
es3File.Clear();
ES3.CacheFile(SaveDataFileName);
var settings = new ES3Settings(SaveDataFileName, ES3.Location.Cache);
ES3.Save...
ES3.StoreCachedFile(SaveDataFileName);
4. I decide to start a new game again, and thus delete the early saves:
Code: Select all
ES3.DeleteFile(SaveManager.SaveDataFileName);
Code: Select all
ES3File es3File = new ES3File(SaveDataFileName);
es3File.Clear();
ES3.CacheFile(SaveDataFileName);
var settings = new ES3Settings(SaveDataFileName, ES3.Location.Cache);
ES3.Save...
ES3.StoreCachedFile(SaveDataFileName);
Why do old saves remain after deleting the ES3.DeleteFile file and clearing it before saving again with es3File.Clear()? Where did they come from if the file was deleted? Before the last update, this was not the case.