Giter VIP home page Giter VIP logo

retrosync's Introduction

Retro Games Sync

A personal experimental tool to synchronize files between my retro-handhelds using rclone.

image

It is potentially extensible to other systems as long as they are based on GNU Linux and have at least bash 4 available. I will not extend this more without considering re-writing it: better cross-platform GUI, less bashing and better packaging.

Use-cases:

  • Backup save games.
  • Cross-system save games (depends on how the saves are structured).

Disclaimer

This is a experimental tool. For now, I will do minor adjustment so that I focus on playing the games :) If you want something more stable consider the alternatives:

Installation

Tested systems:

Requirements:

  • SSH connection to the device.
  • ATTENTION: A backup!
  • Bash > 4.0

Information:

  • rg353m and deck are my SSH aliases. Use your own SSH targets.
  • The Steam Deck installation will disable read-only FS temporarily.

Install:

  • ArkOS: $ ./bin/dev-install.sh rg353m arkos "/opt/system/Tools"

  • Steam Deck:

    1. If-first-time: sudo steamos-readonly disable && sudo pacman-key --init && sudo pacman-key --populate archlinux && sudo pacman -S jq rclone dialog && sudo steamos-readonly enable
    2. Install: $ ./bin/dev-install.sh deck steamdeck "/home/deck/.bin"

Post Installation:

  1. Go to Options > Tools and open RetroSync-GUI.sh and optionally go to Configure > Setup retroarch... to organize save-games.

  2. Setup rclone (for dropbox I suggest this guide).

  3. Add locations to sync under ${XDG_CONFIG_HOME:-$HOME/.config}/retrosync/locations:

    {
      "from": "/roms2/arcade",
      "to": "dropbox:roms/arcade",
      "filter": "retroarch-default.txt",
      "on_conflict": "manual"
    }

Notes: I do not recommend setting up cross-saving for systems where:

  • All the saves are stored in a specific set of files (e.g., dreamcast).

Basic configuration

ArkOS:

scp -r config-library/arkos-secondary-sd/locations rg353m:/home/ark/.config/retrosync/

SteamDeck:

scp -r config-library/emudeck-sdcard/locations deck:/home/deck/.config/retrosync/

TODO:

  • Automate file renaming between NDS emuladors (Drastic .dsv <-> melonDS .sav).
  • GUI: Force-Sync.
  • GUI: Have better logs in case something goes wrong.
  • GUI: See configured locations and delete/disable them.

retrosync's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.