I was looking at trying to synch my game saves with the cloud and between my handheld and smart tv box. Google Drive is a good option as for personal its 15gb storage and we could include github’s gdrive in the build if possible for synching folders. What do you think Shanti? Is it possible to include in our project? Or is there an easier alternative?
Githubs GDrive CLI to work with Google Drive: (Says in docs it’s slow and uses allot of memory with many files NOT RECOMMENDED lol).
Actually it already is included.
I wanted to post a link to the package here https://github.com/EmuELEC/EmuELEC/tree/dev/packages/sx05re/tools/sysutils/rclone
but the system won’t let me, error messages is
I have made a script that basically attempts to sync retroarch game saves when you launch the game from EmuELEC.
To enable you first had to setup your rclone drive in EmuELEC.
To do this you need a external computer and install rclone on it and config a drive labelled ra-drive on it. Then copy the rclone file config contents and paste it into the emuelec /storage/.config/rclone/rclone.conf file.
Download rclone and extract on your computer that has a web browser.
open command line go to the extracted path and type: rclone config
Make sure when setting up the name for the drive is ra-drive. Follow the steps most should set to auto to skip through it faster.
Once you have authenticated and configured the drive then find you config file contents. In windows its in C:\Users[username]\AppData\Roaming\rclone\rclone.conf . AppData is a hidden system file so make sure you have enabled show hidden system files.
copy and paste the data then SSH into EmuELEC and type:
Make sure that the drive setup is labelled [ra-drive] or the scripts will not work properly.
Go into emuelec bin:
Get the script file from my onedrive, and unzip it, you need to copy 3 files into /emuele/bin.
give it exec permissions:
chmod +x ra-drive-run-once.sh
Copy rclone_runemu_parta.txt and rclone_runemu_partb.txt file into the same directory. Then run
If all completes ok it should have uploaded your retroarch state files and setup the emuelec emulator run script to synch with the platform that you currently load.
There is one more task, add rclone_save=1 in emuelec config with the follwing command: