RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Add a Toggle for MicroSD or USB

    Scheduled Pinned Locked Moved Ideas and Development
    5 Posts 5 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • CharcoC
      Charco
      last edited by Charco

      I currently have a Pi 3 running RetroPie 3.7 and a 64gb microSD card with all my roms. I was looking at changing over to a 128gb USB drive in case of a corrupt card and from what I can see the loading device can only by changed by digging into the code. I am sure I could do this, but I would prefer if it were possible to choose your rom location/default device from the RetroPie menu. Could this be possible in a future update?

      1 Reply Last reply Reply Quote 1
      • T
        Tomazed
        last edited by

        not sure if thats what you want but from the command line, I've linked the usb dongle where I have a roms subfolder.

        $> ln -sf /media/usb/roms /home/pi/Retropie/roms
        

        note thate the previous command will replace your roms folder in Retropie by a link to USB so Save everything before doing it

        1 Reply Last reply Reply Quote 1
        • P
          pablo
          last edited by

          I agree with @Charco that there should be either:

          a - an option to choose where your roms are saved, or
          b - by default letting the Pi know that a flashdrive plugged in with a specific directory structure should be recognised as a valid source to load roms from for the emulators

          1 Reply Last reply Reply Quote 1
          • Drakaen391D
            Drakaen391
            last edited by

            if you talking strictly Roms, then you could add a script to do an if/else....

            But it would only run at the start...

            If your talking the operating system swapping on corrupt, then not possible with how the pi is designed

            RPi B & RPi 3B OC (Now Raspberry pi 4b 8gb)
            Retropie (Latest Stable)
            PiBox with Wind Tunnel Cooling System

            1 Reply Last reply Reply Quote 0
            • W
              wetriner
              last edited by

              I looked into this concept some, but had a couple problems. The way that I tried, was a usb device selector in usbromservice.sh that would throw a couple short scripts with the device UUID into /etc/usbmount/mount.d and /etc/usbmount/umount.d/. So any time the usb device with the matching UUID was plugged in it would be mount --bind to the roms directory. It worked alright for vfat, but ntfs gave me problems.

              Since it's filesystem stuff, there's a lot of ways to accomplish it. It seems like if it's done in the right way it could be useful. But I think it could potentially cause a lot of problems for users. I also think that a solution with options to not only have sd or usb, but both in emulationstation, would really be the ideal. Another thing to consider is whether or not the scraper will work properly.

              One of my thoughts was a script that would generate a modified version(to override, but not overwrite) of es_systems.cfg with the paths changed and potentially the entries duplicated. So you could have the SD card directory for NES and a USB directory for NES both showing up in emulationstation, or one or the other.

              https://github.com/RetroPie/RetroPie-Setup/issues/1130

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.