#New way of handling saves has stopped the save editor working?
1 messages · Page 1 of 1 (latest)
Backup/Autosave System Operation
- The game creates an autosave every X minutes for any databases that have been modified.
- This backup is placed into the folder <db_root>/RocksDB_v2_Backups/<data_base_type>/<data_base_id>/
- The game also creates a backup upon exiting the game.
- The backup is packed into a .zip archive and stored at <db_root>/RocksDB_v2_Backups/<data_base_type>/<data_base_id>/
- Each backup filename contains the <data_base_id>, the game version on which the backup was created, and its creation time in UTC.
- The most recent backup is marked with a _Latest suffix.
- The absence of a _Latest file is considered a critical error in the save system.
Loading Saves
- At startup, the game sequentially loads the saved states of databases from backups — first the account, then characters, and finally worlds.
- To do this, it checks the folder <db_root>/RocksDB_v2_Backups for the most recent save of each database marked with _Latest.
- If an archive is found, the game loads the database from that archive, overwriting the contents of <db_root>/RocksDB_v2/<data_base_type>/<data_base_id>/
- If the _Latest archive is missing or contains errors, a backup recovery process is started.
- The game searches for the newest backup for that database, verifies its integrity, and prompts the player in a special window to confirm restoration from that backup.
- A backup that contains an error is marked with the prefix Broken-
- If no functional backups are found, the world, character, or account is considered permanently lost