Skip to content

Commit

Permalink
Add support for TABS
Browse files Browse the repository at this point in the history
  • Loading branch information
Z1ni committed Sep 26, 2023
1 parent 2ebece8 commit 41a870d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Legend: ✅ Confirmed working, ❔ Unconfirmed, - Not available in the store
| Game | Tested w/ Steam | Tested w/ Epic |
|-|-|-|
| Starfield || - |
| Totally Accurate Battle Simulator || - |
| Lies of P || - |
| High on Life |||
| A Plague Tale: Requiem |||
Expand Down
8 changes: 5 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"Starfield": "BethesdaSoftworks.ProjectGold_3275kfvn8vcwc",
"A Plague Tale: Requiem": "FocusHomeInteractiveSA.APlagueTaleRequiem-Windows_4hny5m903y3g0",
"High on Life": "2637SquanchGamesInc.HighonLife_mh7dg3tfmz2cj",
"Lies of P": "Neowiz.3616725F496B_r4z3116tdh636"
"Lies of P": "Neowiz.3616725F496B_r4z3116tdh636",
"Totally Accurate Battle Simulator": "LandfallGames.TotallyAccurateBattleSimulator_r2vq7k2y0v9ct"
}

filetime_epoch = datetime(1601, 1, 1, tzinfo=timezone.utc)
Expand Down Expand Up @@ -246,8 +247,9 @@ def get_save_paths(store_pkg_name, containers, temp_dir):
fpath = container["files"][0]["path"]
save_meta.append((fname, fpath))

elif store_pkg_name in [supported_xgp_apps["Octopath Traveller"], supported_xgp_apps["Just Cause 4"], supported_xgp_apps["Hades"]]:
# Handle Octopath Traveller, Just Cause 4 and Hades saves
elif store_pkg_name in [supported_xgp_apps["Octopath Traveller"], supported_xgp_apps["Just Cause 4"],
supported_xgp_apps["Hades"], supported_xgp_apps["Totally Accurate Battle Simulator"]]:
# Handle Octopath Traveller, Just Cause 4, Hades and TABS saves
# All of these games use containers in a "1 container, n files" manner (1cnf), where there exists only one
# container that contains all the savefiles.
# The save files seem to be the same as in the Steam version.
Expand Down

0 comments on commit 41a870d

Please sign in to comment.