Skip to content

A newer save from another PC says it syncs when you press Play, not Restore - #363

Merged
elripalda merged 4 commits into
elripalda:mainfrom
Xarishark:feat/save-sync-ux-9b1efd
Nov 20, 2026
Merged

elripalda merged 4 commits into
elripalda:mainfrom
Xarishark:feat/save-sync-ux-9b1efd

Conversation

@Xarishark

@Xarishark Xarishark commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

What this changes

When you play on one PC and then open the same game on another, the second PC's newest save is older than the one in the cloud. Pressing Play already brings the newer one in, but nothing said so: the status above Play and on the Saves tab said Up to date (it only reads this PC's own notes), and the newer save's row in Save History had a Restore button. That reads like a step to do by hand on every PC, every time.

Now the second PC says it.

Above Play (desktop and Big Picture)

Newer save from Steam Deck · syncs when you press Play, in the cyan of a sync. The tooltip: "A newer save is in the cloud. Saved 25 min ago. What's there now is kept as a backup first."

To know this, opening a game's page asks the website about that one game (?a=saves, the call the Saves tab already makes). It's only asked when this PC thinks it's up to date or has no save yet. The answer is kept for 5 minutes per game, so opening the page again doesn't ask again; a sync since then (a different synced save) asks anew, since the list kept may be the one that sync just changed. Offline or any other trouble: the line shows what this PC knows, as before, with no error.

The Saves tab

  • The status card says the same, and its button stays Sync Now (it brings the newer save in without starting the game).
  • That save's row says Syncs when you press Play where Restore was. Older saves keep Restore. Big Picture's row does nothing on A, like the row of the save in the game now.
  • The tab's own cloud answer goes to the line above Play too, so both always say the same.

When it says so

The same rule Play uses to bring a cloud save in by itself (should_restore), judged from the last copy made on this PC (the one the tab calls In the game now): another PC saved after this one, and nothing changed here since they last agreed. Not when both changed (still Choose a save), a copy is waiting to go up, a session's save isn't copied yet, the save folder is too big to read, the game is running, or a sync is going on.

For the core

  • cloud::incoming(state, list): the cloud copy Play brings in by itself, or none.
  • saves_info returns it as incoming.
  • New command saves_peek(id): the same for one game, for the line above Play, with the 5-minute list kept per game (PEEKED). Routed like the other save commands (SAVE_CMDS), so a game of several that keeps its own saves asks about its own.

The five new strings are translated in the 20 full languages.

Testing

  • cargo test: 840 passed (new: cloud::sync_tests, when a save counts as incoming and when the 5-minute list is asked again).
  • node --test tests/*.test.cjs: 558 passed, 0 failed (new in tests/saves-tab.test.cjs: the row, the badge, which states show it, Sync Now kept).
  • tools/launcher-i18n.py --check: nothing on the new strings.
  • Two PCs, real build (Windows VM: two portable launchers named "Desk PC" and "Steam Deck", each with its own copy of a small test game, on a stand-in site with cloud saves):
    • A new PC with no save: the line said Newer save from Desk PC · syncs when you press Play; Play brought that save in before the game started.
    • An older save on this PC: Newer save from Steam Deck; the row said Syncs when you press Play, and the save in the game stayed In the game now.
    • Opening the page again within 5 minutes didn't ask the site again.
    • After this PC's own save went up: Up to date, no newer save claimed.
    • Sync Now (desktop and Big Picture): the newer save came in without the game starting.
    • The site down: the line showed what the PC knew, with no error.
    • Big Picture: the line above the game's buttons, the Saves page and its Sync Now.
  • Not tested: a recomp with several games where one keeps its own saves. saves_peek takes the same id and routing as saves_status and saves_info, which already handle them.

Patch notes (Beta 67)

For docs/PATCH-NOTES-0.90-beta-67.md, under Saves and updates:

  • A newer save from another PC now says it syncs when you press Play, above Play and on the Saves tab, instead of "Up to date" and a Restore button. — Improved by @Xarishark (#363).

For the website (SDK guide): none.

Xarishark added a commit to Xarishark/RecompLauncher that referenced this pull request Nov 20, 2026
elripalda#363 also adds texts at the end of every ui/i18n file, and both had to
edit the old last line to give it a comma, so whichever merged second
conflicted. In the middle they touch different lines and merge either way.
@elripalda
elripalda marked this pull request as ready for review November 20, 2026 21:55
@elripalda
elripalda merged commit 04f7a8e into elripalda:main Nov 20, 2026
6 checks passed
elripalda pushed a commit that referenced this pull request Nov 20, 2026
…small card; Settings → Changelog (#372)

* A new RecompLauncher opens a window over the app, and Update Now shows the download

The update screen that took over the whole window is now a window over the
dimmed app: a banner with the version it goes from and to (and how many
changes and fixes the notes list), the patch notes as they're written in the
middle, scrolling, and one bar at the bottom. Update Now stays where it is and
fills up as the download goes, with the amount beside it; Later is a small
link. Clicking outside does nothing and Escape is Later; a required version
has no Later.

The same window opens for a version found by Check for Updates, for one
several betas ahead, and from the sidebar's and Downloads' Update (already
downloading). With the new Update RecompLauncher Automatically on, it opens
already downloading when the launcher starts, even for a version put off with
Later; a version found later waits for the next start, so the launcher never
restarts itself in the middle of something. Big Picture keeps its own window.

* Settings → Updates and Downloads: RecompLauncher's own updates first, apart from the games'

A RecompLauncher Updates group comes before Game Updates. It says which
version this PC runs, with Check now, or which one is ready, with Update Now
(the update window). Under it, Update RecompLauncher Automatically (off by
default; a Flatpak has none, Flatpak updates it) and Show What's New After an
Update. The games' Check for Updates is now Check for Game Updates, so the two
can't be mixed up.

* Settings → Changelog: every launcher version as a drawer, newest open

A new section above About lists RecompLauncher's releases from its GitHub, as
the same drawers as a game's Updates tab. The newest says Latest version and
starts open, the one this PC runs says Installed. Ten show at first, and Show
More adds ten older ones at a time. Settings → Beta's What's New in This Beta
opens it instead of a window.

* After an update, a small card says what's new instead of a window

The update window already showed the notes before the update, so the first
start of a new version shows a card in the corner instead: Updated to the
version, from which one, the first three Added or Improved lines of the notes
(their bold part) and how many more there are, Don't show this after updates,
and See What's New (Settings → Changelog). It goes by itself after ten
seconds, but not while the pointer is on it, and leaves nothing behind. Show
What's New After an Update off skips it. Big Picture keeps its window.

* Translations and tests for the update window, the card and the Changelog

Every language but en-GB and fr-CA (they fall back) gets the 25 new texts; the
two the old update screen had are gone. The tests cover reading the notes'
lines, Later and Update RecompLauncher Automatically, the RecompLauncher
Updates group, the Changelog's drawers and Show More, the download progress
going to the window, and the card after an update.

* RecompLauncher's Check now is the cyan one, the games' the plain one

* Plural forms for the new counts, and the texts nothing uses any more go

Polish, Russian and Ukrainian get one|few|many for the changes and fixes
counts. The notes error the Beta page's window had, and the old update
screen's two lines in fr-CA, are no longer used. tools/launcher-i18n.py
--check reports nothing new.

* The update window grows on big screens, and gets a little bigger from 1440p

It's half the screen's width, from the 820px it was up to 1100px, so a small
screen sees no change. From 2400px wide (1440p, or 4K at 150%) everything in
it is 15% bigger, and 30% bigger from 3200px (4K at 100%); its height limit is
divided by the same amount, so it still fits the screen.

* Its new texts sit mid-file in each language, not at the end

#363 also adds texts at the end of every ui/i18n file, and both had to
edit the old last line to give it a comma, so whichever merged second
conflicted. In the middle they touch different lines and merge either way.
@Xarishark
Xarishark deleted the feat/save-sync-ux-9b1efd branch November 23, 2026 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants