diff --git a/README.md b/README.md index 23969a7..45612b6 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ Legend: ✅ Confirmed working, ❔ Unconfirmed, - Not available in the store | Remnant 2 | ✅ | ❔ | | Remnant: From the Ashes | ❔ | ❔ | | Starfield | ✅ | - | +| State of Decay 2 | ❔ | ❔ | | Totally Accurate Battle Simulator | ✅ | - | | Wo Long: Fallen Dynasty | ❔ | - | | Yakuza 0 | ✅ | - | diff --git a/games.json b/games.json index e7051e8..e81f4ff 100644 --- a/games.json +++ b/games.json @@ -190,6 +190,12 @@ "name": "Arcade Paradise", "package": "WiredProductions.ArcadeParadise_hxzk6evwjr6sy", "handler": "arcade-paradise" + }, + // State of Decay 2 + { + "name": "State of Decay 2", + "package": "Microsoft.Dayton_8wekyb3d8bbwe", + "handler": "state-of-decay-2" } ] } \ No newline at end of file diff --git a/main.py b/main.py index f26d0d0..85058a2 100644 --- a/main.py +++ b/main.py @@ -423,6 +423,11 @@ def get_save_paths( fpath = containers[0]["files"][0]["path"] save_meta.append(("RATSaveData.dat", fpath)) + elif handler_name == "state-of-decay-2": + # This is otherwise identical to 1cnf, but we ignore the path in the file names + for file in containers[0]["files"]: + fname = file["name"].split("/")[-1] + ".sav" + save_meta.append((fname, file["path"])) else: raise Exception('Unsupported XGP app "%s"' % store_pkg_name)