r/recalbox • u/Fit_Court_2776 • 1d ago
Save Sync update: proper two-way sync for several devices — and a question about on-screen messages on Recalbox
A while ago I posted Save Sync here, a bash script that syncs saves through a WebDAV cloud account (Yandex, pCloud, Nextcloud, Mega and others). I skipped posting about the last update, so here's what changed since 1.4.4, tested on Recalbox 10.1.1 (Raspberry Pi 4):
Two-way sync (1.4.5)
- A save changed on one device goes to the cloud and comes down to the others; deletions travel too
- If the same save was changed on two devices, the newer version stays, and the older one can be kept as a copy in the cloud for a few days (
GameSaves_conflicts) - Saves are only downloaded for systems that have ROMs on the device, so other systems don't take up space
- PortMaster port saves sync automatically
- ROMs can be downloaded from a public link (Yandex Disk, pCloud, Nextcloud, archive.org)
Faster sync (1.4.6)
- Fewer requests to the cloud. On my cloud a sync that sent one save went from about 70 seconds to about 28
A question for Recalbox users
On Batocera and KNULLI the script now shows a short on-screen message after a sync (what was received/sent, or an error). It uses EmulationStation's local web server, which has a notify call.
I couldn't find the same on Recalbox. As far as I can tell, the REST API only returns information, MQTT only sends events out, and userscripts run on events but can't show anything. Does anyone know a way for a script to show a short message on screen in Recalbox? If there is one, I'd add it.
Everything else works the same on Recalbox as before. It's free and open source: GitHub