mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 13:55:58 +00:00
Stores: cloud saves recognise GOG games, wait for a new prefix, never overwrite blindly
On device nothing ran for ELDERBORN: a GOG game without arguments has no launcher .bat, Steam runs its exe, and droiddeck-store-launch only looked for the .bat. It now recognises the exe too, looking through the folders above it for the sidecar, and every path logs a result line. A first launch has no prefix yet: the download is answered as deferred and runs once Proton has made the prefix's user folder, within a minute, without holding the launch. Uploads are safe now. CloudPlan decides per file against this device's baseline - the local and cloud state at the last sync: no upload before a download has completed once, the first download lets the cloud win, and a file changed on both sides is a conflict that Manage saves offers to settle with Keep cloud or Keep local. The cloud copy is backed up before an upload replaces it, as the local folder is before a download.
This commit is contained in:
1 parent
b323a0b33e
commit
41422407c4
11 files changed
+464
-87
No files matched your search
@@ -150,6 +150,13 @@ without it and Setup says "Stores engine not built").
|
||||
native start takes the whole set (`cdnBases`; the engine spreads its window across the hosts) and
|
||||
its `onBytes` - every 250 ms, including files still in flight - drives the bar and the speed, so a
|
||||
large file no longer moves the bar in one jump.
|
||||
- **Cloud saves, device round 1 (ELDERBORN, `b323a0b`): nothing ran** - a GOG game without arguments
|
||||
gets no launcher .bat, Steam runs its exe, and `droiddeck-store-launch` only recognised the .bat.
|
||||
It now recognises the exe too (searching the folders above it for the sidecar), and every path
|
||||
logs a result line. A first launch has no prefix yet: the download is deferred until Proton makes
|
||||
it, without holding the launch. Uploads are now safe: none before a download has set this
|
||||
device's baseline, a file changed on both sides is a conflict left for Keep cloud / Keep local,
|
||||
and the cloud copy is backed up before an upload replaces it (`CloudPlan`, tests for each rule).
|
||||
- **GOG and Epic cloud saves** (ported from Bannerlator's managers, device-proven there in August):
|
||||
down before every launch where the cloud copy is newer (the compat tool waits up to 15 s), up
|
||||
after the game exits (the compat tool waits for Proton for such a game, then asks without
|
||||
|
||||
Reference in new issue
Block a user