Out of the Park Developments Online Manuals
 
Title
KeyExisting Key New Key
Create as
Find in this manual
Case sensitive

Replace with
Restore Game

Hopefully, you will never need it, but the Restore Game from Backup option (Game Menu >> Advanced section >> Restore Game from Backup) is used to recover a corrupted or damaged saved game (or one you simply want to "rewind"), using a previously-created backup:

OptionDescription
Select Folder Opens a file navigation window in which you can browse for the folder where your backup files are stored. By default, backups are stored in the OOTP Baseball/backups directory within your OOTP installation directory.
Target folder or league name Enter the name you would like to use for the restored copy of your saved game.
Start restore Restores the selected backup file to the target folder. Once the restore is complete you will receive a confirmation of the success of the restore. Once a saved game has been restored, you can open it again using the Load Saved Game option.

Note: You cannot restore "over" an existing saved game. Therefore, you must always choose a new name for your restored game. If necessary, you can then delete the version of the saved game you no longer need.

Automatic Restore Function

OOTP also has an automatic restore function that helps the game recover from any problems with the integrity of your saved game. We do still recommend backing up your saved games regularly! Any time OOTP saves a game, it does the following:

  1. OOTP creates a special flag file (league folder/settings/db_save_flag.log).
  2. OOTP moves all of the key database files that make up a saved game (the .dat files) to a sub-directory called /auto-save. (These are effectively your last valid saved game files.)
  3. OOTP writes new .dat files (that is, with the changes since you last saved).
  4. OOTP deletes the flag file again.

Then, any time you load a saved game, OOTP checks for the flag file. If the flag file exists, this means that something happened during your last save, and your league file may be corrupted. When OOTP detects this situation, it does the following:

  1. OOTP deletes the flag file.
  2. OOTP copies the .dat files to a new folder called "incident_timestamp". These are the .dat files that may be in an inconsistent state, but we want to preserve them just in case the user wants to keep them for some reason.
  3. OOTP deletes all .dat files from the league folder.
  4. OOTP moves the last "good" .dat files from the /save folder into the main league folder, effectively restoring the last "valid save."
  5. OOTP checks all news/injury/transaction files and delete entries that are newer than the restored game date.

Note: Problems with saved games are not a common occurrence! It happens most commonly if there is a problem during the save process, such as if your computer loses power in the middle of the save.

This automatic restore function can be disabled entirely, if so desired, by adjusting the dat_file_mode variable in the app configuration file.

Previous page: Backup Game
Next page: Save as Quickstart