From 8787facc336e8e709900131d9bbc24491eb4d9ad Mon Sep 17 00:00:00 2001 From: Z1ni Date: Thu, 25 Jan 2024 19:09:26 +0200 Subject: [PATCH] Add support for Arcade Paradise Closes #100 --- README.md | 1 + games.json | 6 ++++++ main.py | 5 +++++ 3 files changed, 12 insertions(+) diff --git a/README.md b/README.md index ee9fabd..84ff455 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ Legend: ✅ Confirmed working, ❔ Unconfirmed, - Not available in the store | Game | Tested w/ Steam | Tested w/ Epic | |-|-|-| | A Plague Tale: Requiem | ❔ | ❔ | +| Arcade Paradise | ❔ | ❔ | | Atomic Heart | ✅ | - | | Celeste | ❔ | ❔ | | Chained Echoes | ❔ | ❔ | diff --git a/games.json b/games.json index 27fdff1..ad4c858 100644 --- a/games.json +++ b/games.json @@ -176,6 +176,12 @@ "name": "Forza Horizon 5", "package": "Microsoft.624F8B84B80_8wekyb3d8bbwe", "handler": "forza" + }, + // Arcade Paradise + { + "name": "Arcade Paradise", + "package": "WiredProductions.ArcadeParadise_hxzk6evwjr6sy", + "handler": "arcade-paradise" } ] } \ No newline at end of file diff --git a/main.py b/main.py index 19b3ff0..f26d0d0 100644 --- a/main.py +++ b/main.py @@ -418,6 +418,11 @@ def get_save_paths( fname = f"{container['name']}.{file['name']}" save_meta.append((fname, file["path"])) + elif handler_name == "arcade-paradise": + # Arcade Paradise seems to save to one container with one file, which should be renamed to "RATSaveData.dat" for Steam + fpath = containers[0]["files"][0]["path"] + save_meta.append(("RATSaveData.dat", fpath)) + else: raise Exception('Unsupported XGP app "%s"' % store_pkg_name)