暂无描述

Jandalf81 be0b58c871 Extended ReadMe.md 7 年之前
ReadMe.md be0b58c871 Extended ReadMe.md 7 年之前
rclone_script-fullsync.sh 28b866d080 Initial commit 7 年之前
rclone_script-install.sh 68a3d7273c added debug parameter to default ini 7 年之前
rclone_script-uninstall.sh 28b866d080 Initial commit 7 年之前
rclone_script.sh 28b866d080 Initial commit 7 年之前

ReadMe.md

rclone_script

Setup cloud synchronization for the save files on your RetroPie

What does this do?

This script will setup different things on your RetroPie in order to automatically sync save files to a cloud service supported by rclone

What will you have to do?

Just install this via

wget -N -P ~/scripts https://raw.githubusercontent.com/Jandalf81/rclone_script/master/rclone_script-install.sh
chmod 755 ~/scripts/rclone_script-install.sh
~/scripts/rclone_script-install.sh

I recommend reading this page completely before actually doing this!

Again, what does this do?

Let me give you a rundown of the things this script will do:

  1. This script will install the RCLONE binary. It will be downloaded directly from their website as the binary installable via apt-get is quite old, sadly. RCLONE actually is what allows us to use a number of different cloud services, see their website for a complete list
  2. The script will then ask you to define a remote. That is the other side used for the synchronization. That remote has to be called retropie, the script will not continue without it
  3. Then, PNGVIEW will be downloaded, compiled and installed. That will be used to show you notifications when up- and downloading save files.
  4. IMAGEMAGICK will be installed via apt-get, this will be used to actually create images containing the notifications which are shown by PNGVIEW
  5. The other scripts you see here will now be downloaded. They are used to control RCLONE whenever it needs to sync your save files. Notice that there's also a script to remove all of this from your RetroPie.
  6. Some scripts from RetroPie will be changed so they call one of the scripts from step 5 which then calls RCLONE... Sounds complicated but you don't have to do anything
  7. Right next to the roms directory, a new directory saves will be created, containing a subdirectoryfor each system
  8. Now, the setup script will ask you to enter a name for the remote base save directory. This is the directory where the save files will be synced to. You can enter any name you like, I recommend calling it RetroArch. After naming it, the setup script will create this directory and one subdirectory for each system RetroPie supports (if necessary)
  9. Your RetroPie will be configured so each system uses it's own directory for saves. Before, RetroPie looked for these files in the roms directory (which made syncing them without accidentially uploading a ROM - ILLEGALLY - so much more difficult)
  10. That's it, setup is complete. If you already have some save files within the roms directory you need to move them to their subdirectory within the saves directory now