You can employ Syncthing to synchronize RetroArch Savestates across various devices. Regardless of whether you’re gaming on a Gaming PC, Android TV box, or a Steam Deck, this method ensures you always have access to your most recent game saves, allowing you to continue your progress seamlessly. This approach is compatible with any Core that utilizes RetroArch’s savestate function. I personally set up and tested this on my Steam Deck and an Nvidia ShieldTV, and it offers a quick, seamless, and automated solution. على سبيل المثال, if you save your game state for Super Mario 64, close the game on one device, and then load it on your Steam Deck, it will resume exactly where you left off on the other device.
This configuration should function with both the Flatpak and Steam versions of RetroArch. While I didn’t test it on Windows or Mac, given that RetroArch and Syncthing are cross-platform tools, there’s no apparent reason why it shouldn’t work or why my setup guide wouldn’t apply to all systems.
To implement this, ensure that RetroArch and Syncthing are installed on all the devices you intend to use with this setup. بالإضافة إلى ذلك, make sure your game saves are present on all these devices.
Setting up RetroArch
To set up RetroArch for syncing savestates across devices, اتبع هذه الخطوات:
- On all your devices, navigate to the RetroArch settings.
- Under “إعدادات,” العثور على “Saving” قسم.
- Ensure that “Auto Save State” is enabled. This option will automatically create a savestate every time you close a game.
- أيضًا, enable “Load State Automatically” upon launching content. This setting will automatically load the last savestate created on the current device. على سبيل المثال, if the last savestate on this device was in slot 0, it will load the file associated with slot 0, even if that file was updated by Syncthing.
- In the RetroArch main menu, go to “Configuration File.”
- Save the current configuration to ensure that your changes are saved and applied.
ملحوظة: You can customize the folder where savestates are stored in RetroArch settings, but this step is not necessary for this guide. The default location is typically used for most setups.
Setting up Syncthing
To set up Syncthing for syncing RetroArch savestates between your devices, اتبع هذه الخطوات:
On the Device You Want to Sync:
- Open a web browser and navigate to http://localhost:8384. This will take you to the Syncthing Control Panel.
- In the bottom right corner of the Control Panel, انقر “Add Remote Device.”
- Add all the devices you want to sync with. Repeat this step for each device you want to sync.
- After adding devices, انقر “Add Folder.” You can label it as “states.”
- In the folder path field, specify the path to the RetroArch save states folder. على سبيل المثال, it might be something like ” ~/RetroArch/states “.
- تحت “Sharing” فاتورة غير مدفوعة, enable synchronization with all the devices you want to sync with.
- في “متقدم” إعدادات, ensure that the folder type is set to “sendreceive.” This is essential for bidirectional synchronization.
- You can choose to enable “File Versioning” if you want to save old savestates in case they are lost or overwritten. These versions will be located in the .stversions directory.
- Save your settings.
On Your Other Device(ق):
-
- On the other device(ق), also open a web browser and navigate to the Syncthing Control Panel at http://localhost:8384.
- You should see a notification indicating that another device wants to add the “states” مجلد. Accept this notification.
</ol start=”3″>
-
-
- A configuration window will open. In the folder path, type the path to the RetroArch Savestate folder on this system. This is typically /states in RetroArch’s default directory.
-
-
- If desired, enable “File Versioning” on this device as well.
- تحت “متقدم” فاتورة غير مدفوعة, ensure that the folder type is set to “sendreceive” for bidirectional synchronization.
- Save the configuration.
- Test the synchronization by playing some games. Your RetroArch savestates should now be synced across all devices you’ve set up with Syncthing.
هذا كل ما نشاركه اليوم من أجل هذا RetroArch مرشد. تم إنشاء هذا الدليل وكتابته في الأصل بواسطة spaceaape. في حالة فشلنا في تحديث هذا الدليل, يمكنك العثور على آخر تحديث باتباع هذا وصلة.