Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 2.13 KB

redirects.md

File metadata and controls

49 lines (37 loc) · 2.13 KB

Redirects

You can use redirects to back up or restore to a different location than the original file. These are listed on the "other" screen, where you can click the plus button to add more and then enter both the old location (source) and new location (target).

There are multiple types of redirects:

  • Backup: Applies only for backup mode.
  • Restore: Applies only for restore mode.
  • Bidirectional: Uses source -> target in backup mode and target -> source in restore mode.

For example:

  • Let's say you backed up some saves from C:/Games, but then you decided to move it to D:/Games. You could create a restore redirect with C:/Games as the source and D:/Games as the target.

  • Let's say you play on two computers with different usernames ("A" and "B"), but you know that the saves are otherwise the same, so you'd like them to share backups. You could create two bidirectional redirects:

    • On Computer A, set source to C:/Users/A and target to C:/Users/main
    • On computer B, set source to C:/Users/B and target to C:/Users/main

    Both computers' backups would reference the fake user "main", but then they would be restored to the original location for that computer.

Tip: As you're editing your redirects, try running a preview and expanding some games' file lists. This will show you what effect your redirects will have when you perform the restore for real.

Sequence

Redirects are processed top to bottom, and the output from one redirect can affect the redirects after it.

Let's say you have a save file at C:/Title/save.dat, and you set up two redirects:

  • Bidirectional: C:/Title -> C:/Games/Title
  • Bidirectional: C:/Games -> D:/Games

When backing up, the transformation will be: C:/Title/save.dat -> C:/Games/Title/save.dat -> D:/Games/Title/save.dat

By default, the same order is used when restoring. When you have chained bidirectional redirects, that may lead to an undesired result: D:/Games/Title/save.dat won't trigger the first redirect, so it would restore to C:/Games/Title/save.dat. You can enable the "reverse sequence of redirects when restoring" option to change this behavior.