Skip to content

Commit

Permalink
Add A Plague Tale: Requiem support
Browse files Browse the repository at this point in the history
Closes #20
  • Loading branch information
Z1ni committed Sep 11, 2023
1 parent 3fef287 commit 1023473
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Python script to extract/backup savefiles out of Xbox Game Pass for PC games.

## Supported games
- **Starfield** *(confirmed working with the Steam version)*
- **A Plague Tale: Requiem** *(not tested with the Steam/Epic version, but the save format should be the same)*
- **Yakuza 0** *(confirmed working with the Steam version)*
- **Yakuza Like a Dragon** *(not tested with the Steam version, but the save format should be the same)*
- **Octopath Traveller** *(not tested with the Steam version, but the save format should be the same)*
Expand Down
9 changes: 5 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"Atomic Heart": "FocusHomeInteractiveSA.579645D26CFD_4hny5m903y3g0",
"Chorus": "DeepSilver.UnleashedGoF_hmv7qcest37me",
"Final Fantasy XV": "39EA002F.FINALFANTASYXVforPC_n746a19ndrrjg",
"Starfield": "BethesdaSoftworks.ProjectGold_3275kfvn8vcwc"
"Starfield": "BethesdaSoftworks.ProjectGold_3275kfvn8vcwc",
"A Plague Tale: Requiem": "FocusHomeInteractiveSA.APlagueTaleRequiem-Windows_4hny5m903y3g0"
}


Expand Down Expand Up @@ -131,9 +132,9 @@ def read_containers(pkg_name):
def get_save_paths(store_pkg_name, containers, temp_dir):
save_meta = []

if store_pkg_name in [supported_xgp_apps["Yakuza 0"], supported_xgp_apps["Yakuza Like a Dragon"], supported_xgp_apps["Final Fantasy XV"]]:
# Handle Yakuza 0, Yakuza Like a Dragon and Final Fantasy XV saves
# Yakuza 0 uses containers in a "1 container, 1 file" manner (1c1f),
if store_pkg_name in [supported_xgp_apps["Yakuza 0"], supported_xgp_apps["Yakuza Like a Dragon"], supported_xgp_apps["Final Fantasy XV"], supported_xgp_apps["A Plague Tale: Requiem"]]:
# Handle Yakuza 0, Yakuza Like a Dragon, Final Fantasy XV and A Plague Tale: Requiem saves
# These all use containers in a "1 container, 1 file" manner (1c1f),
# where the container includes a file named "data" that is the file named as the container.
for container in containers:
fname = container["name"]
Expand Down

0 comments on commit 1023473

Please sign in to comment.