Cloud save support#224
Conversation
|
I'm not sure if it's handled properly, but I wanted to let you know some games may have multiple save locations specified. {
"enabled": true,
"locations": [
{
"name": "saves",
"location": "<?DOCUMENTS?>\/S2\/saves"
},
{
"name": "mp_saves",
"location": "<?DOCUMENTS?>\/S2\/mp_saves"
}
]
}Or none at all {
"enabled": true,
"locations": [ ],
}in that case path should fall back to
I did this research for Heroic Games Launcher purposes I hope it will be helpful. |
Thanks, I've added this to the PR. I've noticed a bug introduced in this PR that could prevent refreshing the auth token. This should be fixed before merging. |
|
Thanks for the pull request. |
With this PR I'm adding cloud save support for GOG. It allows you to download, upload and delete cloud saves.
Command line options
Highlighted changes/additions to the code
When downloading or uploading, the relevant files are put in a queue, which will be processed in
processCloudSaveDownloadQueueandprocessCloudSaveUploadQueuerespectivelyFor deletion, a simple DELETE request per file you wish to delete is sufficient.
The following variables have been added to the global config
Let me know what you think of it :)