I’ve seen a few reports where people get a bug during the save process and then repeat the save to see if it happens again.
I wanted to highlight this situation specifically, so that people don’t lose their games.
All the data for the game is stored in a database, in the AuroraDB file. When a save takes place, the code deletes the information in AuroraDB and replaces it with new information held in the program memory. This is done once for each type of information, such as Ship, Fleet, Commander, Population, etc., which each have their own table in the database.
If there is an error during that process for a given type, the deletion process will have been completed, but not the save. So if you have an error when saving fleets, all the fleets in the database have now been deleted - they only exist now in the program memory.
However, before Aurora saves, it creates a copy of the entire database called AuroraDBSaveBackup, which has all the information from the previous save. The previous AuroraDBSaveBackup file is also copied into AuroraDBPreviousSaveBackup, so you have copies of the previous two saves.
IMPORTANT: When you get an error during saving, don’t try saving again until you make your own copy of AuroraDBSaveBackup and call it something else. Then if all else fails, you can delete your AuroraDB and rename your copy of AuroraDBSaveBackup to AuroraDB. This will restore your game to the last save before the error.
If you repeatedly save and get the error, the empty table will be propagated into the save back up files and the data will be lost forever.
Instead, follow the above process and then try to figure out the problem (by asking on here or Discord) before you save again. If you can’t fix it, then the worst case scenario is returning to your previous save.
