Repository navigation
SaveSync
SaveSync is an automated service that automatically synchronizes RetroArch and standalone emulator game saves between your R36 device and a shared folder on a PC over your local network. SaveSync does not require an account or subscription, everything is managed locally on the host device.
- SMB
- NFS
- SSHFS
- WebDAV
It is designed to keep your saves synchronized without requiring you to manually copy them. Once configured, SaveSync can synchronize saves:
- Automatically when the console starts
- Automatically when you exit a game
- Manually whenever you choose
- Between multiple R36S devices using the same PC share
SaveSync uses SMB, NFS, SSDHFS, or WebDAV to connect to the PC share and rsync to synchronize the files in both directions.
Important: SaveSync is a synchronization system, not simply a one-way backup. Changes are synchronized between the R36S and the PC share.
The basic setup is:
Local Network
│
▼
┌──────────────────────────────────────┐
│ Windows PC │
│ │
│ Shared SaveSync folder │
│ ├── gb/ │
│ ├── gba/ │
│ ├── snes/ │
│ ├── psx/ │
│ └── savesync.cfg │
│ │
└──────────────────┬───────────────────┘
│ Network Protocol
│ SMB, NFS, SSHFS, WebDAV
▼
┌──────────────────────────────────────┐
│ dArkOS / R36S │
│ │
│ RetroArch saves/states │
│ ↕ │
│ SaveSync │
│ │
└──────────────────────────────────────┘
Your PC provides the shared folder through the selected protocol. SaveSync mounts that share temporarily at:
/mnt/savesync
It then synchronizes the appropriate save directories and unmounts the share when finished.
The SaveSync script checks for a network connection before attempting synchronization and records its activity in:
/home/ark/.config/savesync.log
Fast Sync provides faster game-end synchronization by synchronizing only the console that was just played.
When enabled, SaveSync uses a local cache to track previously synchronized content and avoid unnecessary transfers.
When a game exits, SaveSync can synchronize only the system that was played:
savesync.sh --game-end <system>
Create a folder somewhere on your Windows PC to store the synchronized saves.
For example:
C:\SaveSync
You can use any location you prefer.
Do not create a separate folder for each R36S. A single shared SaveSync folder can be used by multiple R36S devices.
Right-click the folder and share it over your local network.
In Windows 11:
- Right-click the
SaveSyncfolder. - Select Show more options if necessary.
- Select Give access to → Specific people.
- Select the Windows user account that SaveSync will use.
- Give that account permission to read and modify the files.
- Complete the sharing process.
Windows supports sharing folders over a local network using SMB.
Pay attention to the share name.
For example, if Windows creates:
\\MY-PC\SaveSync
then:
MY-PC
is the computer name, and:
SaveSync
is the network path/share name that SaveSync needs.
SaveSync does not need the full Windows filesystem path such as:
C:\SaveSync
It needs the SMB share name:
SaveSync
Before configuring the R36S, verify that the shared folder can be accessed from another device on your network.
Windows recommends enabling network discovery and file and printer sharing when sharing folders over a local network.
The Windows firewall must also allow file and printer sharing/SMB traffic. SMB normally uses TCP port 445 for direct SMB connections.
SaveSync supports two different ways of organizing saves.
This setting is controlled by a file named:
savesync.cfg
The file must be placed in the root of the Windows SaveSync share.
For example:
C:\SaveSync\
├── savesync.cfg
├── gb\
├── gba\
├── snes\
└── psx\
There are two possible configurations.
Use:
USECONTENTFOLDER=falseWith this configuration, the PC share is organized like this:
SaveSync/
├── savesync.cfg
├── gb/
│ ├── Game1.srm
│ └── Game2.srm
├── gba/
│ └── Game1.srm
├── snes/
│ └── Game1.srm
└── psx/
└── Game1.srm
This corresponds to RetroArch's normal centralized save directory structure:
retroarch/saves/<system>/
For example:
/home/ark/.config/retroarch/saves/gba/
The same system folder is used on the PC share:
SaveSync/gba/
SaveSync also handles RetroArch save states.
Use:
USECONTENTFOLDER=trueWith this configuration, SaveSync uses a nested system directory on the PC:
SaveSync/
├── savesync.cfg
├── gb/
│ └── gb/
│ ├── Game1.srm
│ └── Game2.srm
├── gba/
│ └── gba/
│ └── Game1.srm
└── snes/
└── snes/
└── Game1.srm
The extra directory level corresponds to the content-folder organization used by RetroArch Manager.
This option is useful when your RetroArch configuration stores save files alongside the game content rather than in RetroArch's centralized save directory.
The current SaveSync implementation reads USECONTENTFOLDER from the PC configuration and selects the corresponding destination structure.
Create a plain text file named:
savesync.cfg
Place it directly inside the Windows shared folder.
USECONTENTFOLDER=falseUSECONTENTFOLDER=trueThe value must be exactly:
true
or:
false
SaveSync will reject the configuration if the value is missing or contains anything other than true or false.
Select:
Install SaveSync
The installer automatically checks for the required protocol support.
If required dependencies are not installed, SaveSync Manager attempts to install them automatically.
SaveSync then installs:
/usr/local/bin/savesync.sh
and configures the automatic synchronization components.
Select:
SaveSync → Enter Credentials
You will be able to configure:
- Host or IP
- Username
- Password
- Network Path
You can enter either the Windows computer's network name:
MY-PC
or its IP address:
192.168.1.100
If an IP address is entered, SaveSync uses it directly.
If a computer name is entered, SaveSync uses NetBIOS name resolution to find the PC's IP address.
For the most reliable setup, using the PC's IP address can avoid problems caused by name resolution.
If using an IP address, it is recommended to give the PC a DHCP reservation in your router so the address does not change.
Enter the account username that has permission to access the shared SaveSync folder.
For example:
John
Enter the password for that network account.
SaveSync stores the credentials in:
/home/ark/.config/savesync.crd
The credentials file is created with restrictive permissions (600) so it is not publicly readable.
Enter the share name, not the Windows filesystem path.
If the Windows share is:
\\MY-PC\SaveSync
enter:
SaveSync
Do not enter:
C:\SaveSync
and do not enter:
\\MY-PC\SaveSync
The SaveSync script constructs the SMB path automatically:
//<PC>/<NETWORKPATH>
and mounts it using SMB 3.0.
Once the network protocol and credentials are configured, select:
SaveSync → Synchronize Now
The first synchronization is important because it establishes the initial synchronized state between the R36S and the PC.
SaveSync checks both sides and synchronizes files in both directions.
The actual synchronization uses:
rsync -au
from the R36S to the PC and then again from the PC to the R36S.
When successful, RetroArch Manager displays:
Success!
If the synchronization fails, the most recent SaveSync error is displayed when available.
Once SaveSync is installed, synchronization happens automatically.
SaveSync installs:
savesync.service
The service waits for NetworkManager's network-online service before starting the synchronization.
This allows the R36S to automatically synchronize its saves after connecting to the network during startup.
SaveSync also installs an EmulationStation game-end hook:
/home/ark/.emulationstation/scripts/game-end/savesync.sh
When a game exits, the hook launches:
/usr/local/bin/savesync.sh
The synchronization script then runs in the background.
This means that after playing a game and exiting back to EmulationStation, the current save can automatically be synchronized to the PC.
Automatic synchronization is supplemented by the manual option:
RetroArch Manager → SaveSync → Synchronize Now
Use this whenever you want to force an immediate synchronization without rebooting or exiting a game.
One of the major advantages of SaveSync is that multiple R36S devices can use the same Windows share.
For example:
Windows PC
SaveSync Share
│
┌──────────┴──────────┐
│ │
▼ ▼
R36S #1 R36S #2
dArkOS dArkOS
│ │
└──────────┬──────────┘
│
synchronized
saves
Configure each device to use the same:
- PC
- Share
- Username
- Password
savesync.cfg
This allows you to move between devices while keeping your game progress synchronized.
SaveSync is bidirectional.
It performs:
R36S → PC
followed by:
PC → R36S
using:
rsync -au
This means the PC share is not treated as a permanent read-only backup.
Instead, it acts as the central synchronization location between devices.
If you play a game on R36S #1:
R36S #1
Game.srm
↓
Windows SaveSync
Then later synchronize R36S #2:
Windows SaveSync
↓
R36S #2
Game.srm
R36S #2 receives the synchronized save.
This makes it possible to continue playing the same games on multiple R36S devices.
SaveSync supports both RetroArch Manager save arrangements.
/home/ark/.config/retroarch/saves/
and:
/home/ark/.config/retroarch/states/
It also accounts for the 32-bit RetroArch configuration:
/home/ark/.config/retroarch32/saves/
and:
/home/ark/.config/retroarch32/states/
The active RetroArch systems are determined from:
/etc/emulationstation/es_systems.cfg
so SaveSync can determine which systems use RetroArch 64-bit or RetroArch 32-bit.
If RetroArch is configured to store saves in the content directory, SaveSync determines whether the system is located under:
/roms/
or:
/roms2/
and uses the corresponding system directory.
SaveSync maintains a log at:
/home/ark/.config/savesync.log
To view it:
RetroArch Manager → SaveSync → View Log
The log records synchronization activity and errors.
For example, it records when a share is mounted:
Mounted //MY-PC/SaveSync at /mnt/savesync
and when synchronization finishes:
Sync complete, unmounted /mnt/savesync
SaveSync requires an active network connection.
If the R36S is offline, synchronization is skipped and the event is recorded in the log.
Connect to Wi-Fi and try:
SaveSync → Synchronize Now
If the log reports:
authentication failed
check:
- Username
- Password
- Share permissions
- File/folder permissions
The SaveSync credentials are stored in:
/home/ark/.config/savesync.crd
Use:
SaveSync → Enter Credentials
to update them.
If the log reports that the share or path cannot be found, verify the Network Path.
For:
\\MY-PC\SaveSync
the Network Path must be:
SaveSync
not:
C:\SaveSync
and not:
\\MY-PC\SaveSync
If the log reports:
network unreachable
check that:
- Wi-Fi is connected on the R36S.
- The PC is connected to the same local network.
- The PC is powered on.
- The PC's IP address is correct.
If the log reports:
connection timed out
the PC may be powered off or unreachable.
Check that the Windows PC is awake and connected to the network.
If the log reports:
connection refused
check that Windows file sharing is enabled and that the firewall is allowing SMB/file sharing traffic.
If SaveSync reports:
invalid or missing UseContentFolder
make sure the file exists at the root of the shared folder:
SaveSync/
└── savesync.cfg
and contains exactly one of:
USECONTENTFOLDER=trueor:
USECONTENTFOLDER=falseTo remove SaveSync:
RetroArch Manager → SaveSync → Uninstall SaveSync
The uninstaller removes:
savesync.service
the SaveSync synchronization script:
/usr/local/bin/savesync.sh
and the EmulationStation game-end hook.
It also removes the SaveSync installation flag.
Your Windows SaveSync folder and its contents are not removed.
For most users, the following configuration is recommended:
C:\SaveSync\
├── savesync.cfg
├── gb\
├── gba\
├── gbc\
├── genesis\
├── nes\
├── psx\
├── snes\
└── ...
USECONTENTFOLDER=falseConfigure:
Host: <Windows PC IP or name>
Username: <Windows username>
Password: <Windows password>
Network Path: SaveSync
Then:
- Install SaveSync.
- Enter the network credentials.
- Run Synchronize Now.
- Confirm that the save files appear on the PC.
- Leave SaveSync installed.
After that, SaveSync handles synchronization automatically at boot and after games are exited.
- Introduction
- Installation
- Compatibility List
- dArkOSen Utilities
- dArkOSen Features
- EmulationStation
- Performance Settings
- Connectivity
- Emulators
- Hotkeys
- Kiosk and Kids Mode
- Migration
- Recovery
- Root Access
- Storage Settings
- SaveSync
- BatteryPlus
- Contributors
- Music Credits
- About dArkOSen
