• Stars
    star
    453
  • Rank 93,733 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 3 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Python script to extract savefiles out of Xbox Game Pass for PC games

XGP-save-extractor

Python script to extract/backup savefiles out of Xbox Game Pass for PC games.

When run, the script produces a ZIP file for each supported game save found in the system.

In most cases the files in the ZIP can be copied to the save directory of the Steam/Epic version of the game. To find out the save file location, check PCGamingWiki.

⚠️ If you want the script to support another game, please open an issue here. ⚠️

Supported games

If you migrate a save to Steam/Epic version that's listed with ❔ below, please open an issue and confirm whether it worked, so the table can be updated.

Legend: βœ… Confirmed working, ❔ Unconfirmed, - Not available in the store

Game Tested w/ Steam Tested w/ Epic
Starfield βœ… -
Wo Long: Fallen Dynasty ❔ -
Chained Echoes ❔ ❔
Persona 5 Royal βœ… -
Persona 5 Tactica βœ… -
Celeste ❔ ❔
Totally Accurate Battle Simulator βœ… -
Lies of P βœ… -
High on Life βœ… ❔
A Plague Tale: Requiem ❔ ❔
Yakuza 0 βœ… -
Yakuza: Like a Dragon ❔ -
Octopath Traveller ❔ ❔
Just Cause 4 ❔ ❔
Hades ❔ ❔
Control ❔ βœ…
Final Fantasy XV βœ… -
Atomic Heart βœ… -
Chorus βœ… ❔

Running

⚠️ NOTE: If the save file extraction fails, wait for a bit and try again. The Xbox cloud save sync can take some time and produce invalid files while syncing is in progress.

Download the latest release for an one-file executable: https://github.com/Z1ni/XGP-save-extractor/releases

⚠️ NOTE: Some anti-virus/anti-malware software can flag the executable as malicious. The executable is produced with PyInstaller and contains the Python interpreter alongside with the same main.py script as in this repo.

Or

Run main.py with Python 3.10+. The script produces ZIP files for each of the supported games that are installed for the current user.

Thanks

Thanks to @snoozbuster for figuring out the container format at goatfungus/NMSSaveEditor#306.