Results 1 to 10 of 10

Thread: Autobackup of Save Games

Threaded View

  1. #1
    daniu's Avatar 比你才牛
    Join Date
    Mar 2009
    Posts
    5,977

    Default Autobackup of Save Games

    Hi all,
    just wrote a small tool to backup all the autosaves that get automatically created and overwritten again; thought someone else may find it useful as well.

    This was mainly meant for the MPC, which often runs into desynchs; in that case, the common workaround is to send your partner an older save game and hope it works from there. If it doesn't and you don't have an earlier save, bad luck.
    With the automatic backups, you can try going back turn for turn.

    There's also a functionality to backup the automatically saved battle replays... in case you forget to save and play another battle afterwards (happened to me often enough in MP).

    I also threw in the SP campaign save games, in case you want to keep track of every single turn.


    The way it works is that it checks every 60 seconds whether a new autosave has been created; if so, it copies it within the same folder to a game with the date and time included in it. If your turns or battles take less than a minute, it may miss a save!
    There is a "go" button; if this gets pressed, the tool will start checking for autosaves; just keep it running in this state and start the game.
    Select the save games the tool should check for (see screenshot).

    Word of caution: the campaign save games are quite large, about 20 MB each. This means that the backups may take up to around 1 GB per hour played...
    There is an option to save only a certain amount of savegame files to save disk space. If the limit is reached, the oldest file will be deleted once a new one is saved.
    This only applies to files from the current session (i.e., after the last time you pressed "go"), others will not be touched.
    Replays are not included in this, they are too small.
    Leaving this at 0 means no limit.


    EDIT:
    I just got around to try the tool out myself under actual gameplay conditions in a Coop Campaign with 5 minutes turn limit.
    We had a session of about 6 hours (there went my Saturday ) and the savegame folder went up to 2.25 GB worth of files.

    EDIT2 :
    Turns out it's really easy to add "open path" buttons, so I did.

    EDIT 3:
    Added support for ETW and NTW.
    Caveats:
    - both don't have a replay autosave function, so that is disabled in the tool.
    - I never played an MPC in either, so I can only hope the filename is the same as for S2 (autosave.save_multiplayer).
    If it isn't, this won't work, drop me a note what it is so I can correct it.

    EDIT 4:
    Uploaded version 1.1 with savegame limit.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screenshot.png 
Views:	392 
Size:	20.5 KB 
ID:	182944  
    Attached Files Attached Files
    Last edited by daniu; October 09, 2011 at 11:15 AM.
    Tools: MMS 1.3 - PFM 2.4.1 - EditSF 1.0.7

    Minor TW Tools: Savegame Autobackup, RandomSeedChanger, Replay Browser, Preference Editor
    My mods: Extended Camera - No Handicap on Normal - Add occupation resistance to AI - FotS Defenses Rebalance
    If you're artistically inclined, I could do with some icons for my mods and tools....

    Hopefully I'll get around to posting vids in my YouTube channel at one time.

    Respecto Patronum

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •