Add Galaxy cloud saves support #64
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: profectus/Profectus#64
Loading…
Reference in a new issue
No description provided.
Delete branch "thepaperpilot:feat/cloud-saves"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
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.
Fixes #33
7ea69b9e69
to10cbc87142
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.
Pull request closed