Add Galaxy cloud saves support #64

Closed
thepaperpilot wants to merge 14 commits from thepaperpilot:feat/cloud-saves into main
Collaborator

Galaxy has an sdk that allows for supporting cloud saves without needing any kind of developer configuration - no secrets to manage, no oauth endpoints to serve, etc. This PR adds all the support Profectus needs to enable cloud saves for any game without any extra configuration required by the dev. It still works when not embedded - either on galaxy or anywhere else.

It's not really generalized to work with other cloud save providers, as they tend to require that extra configuration. That can be done in a separate PR later on.

When there's two versions of the same save ID, one on local and one on cloud, you'll get a screen like this:

image

Additionally there are warnings in place for when you're logged in on galaxy but cloud saves aren't synced (typically because you're over the 11 save limit).

Before merging I'm trying to test it on Galaxy proper, but the PR is ready for code review.

Galaxy has an sdk that allows for supporting cloud saves without needing any kind of developer configuration - no secrets to manage, no oauth endpoints to serve, etc. This PR adds all the support Profectus needs to enable cloud saves for any game without any extra configuration required by the dev. It still works when not embedded - either on galaxy or anywhere else. It's not really generalized to work with other cloud save providers, as they tend to require that extra configuration. That can be done in a separate PR later on. When there's two versions of the same save ID, one on local and one on cloud, you'll get a screen like this: ![image](/attachments/34278af6-b345-4954-9bd2-27fa1b3305b3) Additionally there are warnings in place for when you're logged in on galaxy but cloud saves aren't synced (typically because you're over the 11 save limit). Before merging I'm trying to test it on Galaxy proper, but the PR is ready for code review.
thepaperpilot added 8 commits 2024-02-18 00:13:02 +00:00
Author
Collaborator

Fixes #33

Fixes #33
thepaperpilot force-pushed feat/cloud-saves from 7ea69b9e69 to 10cbc87142 2024-02-18 23:14:12 +00:00 Compare
Author
Collaborator

Alright, at this point it fully works on Galaxy (tested on an unlisted game, so can't link it here unfortunately).

This PR is fully ready for review and merging.

Alright, at this point it fully works on Galaxy (tested on an unlisted game, so can't link it here unfortunately). This PR is fully ready for review and merging.
thepaperpilot added 1 commit 2024-02-18 23:15:11 +00:00
Merge branch 'main' into feat/cloud-saves
Some checks failed
Run Tests / test (pull_request) Failing after 46s
481e68f336
thepaperpilot added 1 commit 2024-02-21 03:36:22 +00:00
Merge branch 'main' into feat/cloud-saves
Some checks failed
Run Tests / test (pull_request) Failing after 50s
805d017012
thepaperpilot added 1 commit 2024-02-21 04:23:21 +00:00
Update package-lock.json to new commit hash
All checks were successful
Run Tests / test (pull_request) Successful in 2m3s
7cf5ee308b
escapee approved these changes 2024-03-06 01:21:00 +00:00
thepaperpilot closed this pull request 2024-03-07 13:10:46 +00:00
All checks were successful
Run Tests / test (pull_request) Successful in 2m3s
Required
Details

Pull request closed

Sign in to join this conversation.
No description provided.