• rclone can't auto upload save to ftp

    Help and Support
    1
    0 Votes
    1 Posts
    236 Views
    No one has replied
  • 0 Votes
    12 Posts
    2k Views
    mituM

    @mahoneyt944 said in Retropie video output to G07 Electrohome crt:

    Is there a way to set rgb manually or change palettes? G07 is considered standard res /low res monitor.

    Not sure if there's such a thing as a 'palette' for an analog signal, but no, have no idea. You may want to ask in the raspberrypi.org/forum forum and provide some pictures.

  • 0 Votes
    1 Posts
    448 Views
    No one has replied
  • 0 Votes
    5 Posts
    961 Views
    mituM

    Looks like entering an empty file name for the log doesn't work. You can set it to /dev/null with

    LogFileName=/dev/null

    and the file will not be created.

  • 0 Votes
    9 Posts
    2k Views
    B

    I replied to that same old thread that you are talking about:
    https://retropie.org.uk/forum/topic/22692/fake-8bitdo-sf30-pro-way-to-get-working/21

    As I mentioned over there these controllers work just fine over Bluetooth on my Linux PC, but aren't detected over Bluetooth on the pie. Thought I'd drop a comment here also so I can see if any progress is made by anyone else.

  • Rsync savestates locally

    Help and Support
    2
  • 7 Votes
    19 Posts
    11k Views
    AddisonA

    I get the following error in the installation menu and then it kicks me to the command prompt.

    1. RCLONE x 1a. Test for RCLONE binary [ NOT FOUND ] x 1b. Download RCLONE binary [ FAILED ]

    Is this setup script too outdated now?

    I finally figured out cloud sharing on my Windows computer and also Android devices today through RetroArch. :)

    Would very much love to get that rolling as well in Retropie.

    For reference, I did follow the initial instructions found here like suggested:
    https://github.com/Jandalf81/rclone_script

  • 0 Votes
    8 Posts
    2k Views
    SixSpeedDeathS

    Bump? Still looking for any way to modify the USB Sync script to only sync saves. I ended up trying to modify the 01_retropie_copyroms file, but it hangs up on my script.

    What I did was add --exclude '*.xxx" for all the rom files on the ROM/BIOS sync line, and swap the source and destination in the rsync command so it now reads the USB path first, and retropie second. Finally, I tried removing the usermod line, since I'm syncing the filed FROM the pi to USB.

    The script still automounts the USB, and created the file structure (rsync maxdepth=1) but it fails to fill the directory with the save games.

    Still new to scripting (This device is a learning tool) What have I missed?

    #!/bin/bash

    This file is part of The RetroPie Project The RetroPie Project is the legal property of its developers, whose names are too numerous to list here. Please refer to the COPYRIGHT.md file distributed >with this source. See the LICENSE.md file at the top-level directory of this distribution and at https://raw.githubusercontent.com/RetroPie/RetroPie->Setup/master/LICENSE.md config / defaults

    user="pi"

    home="$(eval echo ~$user)"
    rootdir="/opt/retropie"
    retropie_path="$home/RetroPie"

    usb_path="$UM_MOUNTPOINT/retropie"
    usb_path_from_rp="$usb_path/configs/from_retropie"
    usb_path_to_rp="$usb_path/configs/to_retropie"

    declare -A path_mapping

    mapping from usb_path_to_rp/* to retropie location

    path_mapping["configs"]="$rootdir/configs"

    internals

    hook_name=${0##*/}

    functions

    function log() {
    logger -p user.$1 -t usbmount-"$hook_name"-[$$] -- "$2"
    }

    function log_cmd() {
    local ret
    local error
    error="$("$@" 2>&1 >/dev/null)"
    ret=$?
    [[ "$ret" -ne 0 ]] && log err "$* - returned $ret - $error"
    }

    some sanity checking

    if [[ -z "$UM_MOUNTPOINT" ]]; then
    log err "UM_MOUNTPOINT not set!"
    exit 0
    fi

    if [[ ! -d "$UM_MOUNTPOINT" ]]; then
    log err "UM_MOUNTPOINT is not a directory"
    exit 0
    fi

    make sure we have something to sync from

    if [[ ! -d "$usb_path" ]]; then
    exit 0
    fi

    make folders for syncing

    mkdir -p "$usb_path/"{roms,BIOS} "$usb_path_from_rp" "$usb_path_to_rp"

    mirror romdir structure to external drive

    log info "Attempting to create directory structure for ROMS in '$usb_path/roms' >..."

    fetch list of romdirs from current installation and mirror onto external drive

    find "$retropie_path/roms" -mindepth 1 -maxdepth 1 -type d -printf >"$usb_path/roms/%f\n" | xargs mkdir -p 2>/dev/null || true

    copy SAVES ONLY from Local SD card stick to USB

    for dir in roms BIOS; do
    log info "Syncing $dir ..."
    log_cmd rsync -au --exclude '._' --exclude '.32x' --exclude '.bin' --exclude >'.cue' --exclude '.gb' --exclude '.gba' --exclude '.gbc' --exclude '.gen' -->exclude '.gg' --exclude '.md' --exclude '.ndd' --exclude '.nes' --exclude '.pce' >--exclude '.sfc' --exclude '.smc' --exclude '.sms' --exclude '.vb' --exclude >'.z64' --exclude '*.zip' --max-delete=-1 "$retropie_path/" "$usb_path/$dir"
    chown -R $user:$user "$retropie_path/$dir"
    done

    log info "Syncing configs ..."

    copy configs to usb

    for to in "${!path_mapping[@]}"; do
    from=${path_mapping[$to]}
    log_cmd rsync -au --exclude '._*' --max-delete=-1 "$from/" >"$usb_path_from_rp/$to/"
    done

    copy configs from usb

    for from in $(find "$usb_path_to_rp/" -mindepth 1 -maxdepth 1); do

    basename

    from_bn=${from##/}
    to=${path_mapping[$from_bn]}
    if [[ -n "$to" ]]; then
    log_cmd rsync -au --exclude '._' --max-delete=-1 "$from/" "$to/"
    chown -R $user:$user "$to"
    fi
    done

    unmount USB stick

    umount "$UM_MOUNTPOINT"

    I don't use forums either apparently, because I can't find a way to use that nifty box that allows me to add code. the --exclude DOES have a *.xxx, but it doesn't show up.

  • Retropie Sync

    Help and Support
    4
    0 Votes
    4 Posts
    1k Views
    blitzgreigB

    @sano @mitu thanks for the reply’s I sorted it.

    I used WinSCP and played about with the synchronise button on there and it worked a treat!
    Downloaded wheel arts and renamed all the ps1, Gbc and GBA files I downloaded them through a torrent and must have been badly named.

    Thanks

  • 0 Votes
    7 Posts
    1k Views
    BuZzB

    @flavor I have some code that does this but it's not yet committed as needs testing. It should enable usbromservice to update when updating retropie without having to disable/re-enable. I will commit it once I have tested it further.

  • 5 Votes
    7 Posts
    3k Views
    Z

    For anyone wanting to attempt this with Stretch, it's actually a lot easier. The owncloud client and command line client are now included in Stretch. Run apt-get install owncloud-client-cmd to install the client this script needs. Then edit the script so that it is checking for owncloudcmd in /usr/bin/owncloudcmd instead of /usr/local/bin/owncloudcmd. Run the edited script through sudo and away you go. Everything works swimmingly aside from the fact that old saves are not moved to the new location.

  • 4 Votes
    7 Posts
    4k Views
    O

    This script is to make ResilioSync an always running service so any changes made are automatically uploaded to your master repo.

    Run the commands, make the changes and then restart the service. I made my initial repo on my master server and added my main retropie to the sync group, waited for 100% sync and then added the rest of my devices exactly the same way.

    Open the resilio gui by going to retropieIP:8888/gui/

    wget -c https://download-cdn.resilio.com/2.6.3/Debian/resilio-sync_2.6.3-1_armhf.deb sudo dpkg -i resilio-sync_2.6.3-1_armhf.deb sudo systemctl enable resilio-sync sudo nano /lib/systemd/system/resilio-sync.service sudo sed -i "s/rslsync/pi/g" /lib/systemd/system/resilio-sync.service

    sudo nano /lib/systemd/system/resilio-sync.service

    Go in and edit the file and change out this line
    ExecStart=/usr/bin/pi--config ${SYNC_CONF_DIR}/config.json

    to

    ExecStart=/usr/bin/rslsync --config ${SYNC_CONF_DIR}/config.json

    sudo systemctl daemon-reload sudo systemctl restart resilio-sync

    When u go to make the sync, I used /home/pi/RetroPie/roms

  • 0 Votes
    1 Posts
    867 Views
    No one has replied