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

    Running ROMs from a Network Share

    Scheduled Pinned Locked Moved General Discussion and Gaming
    109 Posts 48 Posters 96.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.
    • J
      jpxdude
      last edited by

      I haven't looked into this for ages, but I remember this happening to me too. Sounds silly, but it is worth checking that the 'retropiemenu' directory has also been copied to your share, as this didn't transfer over for me when I first tried it. It would be because either that directory is missing in the shared area of your network, or a permissions issue at a guess.

      1 Reply Last reply Reply Quote 1
      • Z
        zehjrack @Jeero
        last edited by

        @Jeero
        Unfortunately no success using the arcade folder either, but, it did lead me to the runcommand log file (/dev/shm/runcommand.log), output below, it seems as though it isn't able to extract/view the contents of the zip file for some reason, which is weird because my FBA roms are in .zip format and they work fine, no difference in permissions between the two folders.

        I did some additional testing and Master System and SNES games have the exact same issue too so it isn't just limited to MAME, but at least they output the error "Failed to extract content from compressed file" in yellow text at the bottom left of the screen when attempting to load the game which I don't get with MAME.

        Also I think @jpxdude answered your question re the retropie menu, but just in case, ftp into retropie and copy the retropiemenu folder to your network share and reboot, should resolve your issue.

        Parameters:
        Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg "/home/pi/RetroPie/roms/a$
        nffu.03 NOT FOUND
        nff.04 NOT FOUND
        nffu.05 NOT FOUND
        nffux.03 NOT FOUND
        nff.13 NOT FOUND
        nff.15 NOT FOUND
        nff.17 NOT FOUND
        nff.19 NOT FOUND
        nff.14 NOT FOUND
        nff.16 NOT FOUND
        nff.18 NOT FOUND
        nff.20 NOT FOUND
        nff.01 NOT FOUND
        nff.11 NOT FOUND
        nff.12 NOT FOUND
        ERROR: required files are missing, the game cannot be run.

        1 Reply Last reply Reply Quote 0
        • Z
          zehjrack
          last edited by

          @Jeero
          So just for kicks I decided to give option 2 a shot, my games work fine now lol.

          J 1 Reply Last reply Reply Quote 0
          • G
            gavster2002
            last edited by

            All, I did manage to fix the retropie menu missing bug by slightly modifying the mount command to add 'roms' to the path. It is now all working perfectly :)

            sudo mount -t cifs -o username=something,password=something //hostname/retropie/roms /home/pi/RetroPie/roms

            Gav

            1 Reply Last reply Reply Quote 0
            • J
              Jeero @zehjrack
              last edited by Jeero

              @zehjrack Ok we have both no more issues, even if it's different configurations, everybody is happy, that's the most important :p

              1 Reply Last reply Reply Quote 0
              • T
                tsull360
                last edited by

                Hello,
                Thanks everyone for putting this info together. I'm close to getting things working, but whenever I mount my share and do an ls ~/RetroPie I receive a message that says 'Access Denied'. Without mounting my share, I can see the contents of RetroPie, but of course its not loading my ROMS from the network.

                I've granted the account I'm using on my network 'Full Control' of the folder holding my ROMS. Its folder structure is:

                \server\Software\RetroPie\ROMS

                My fstab has the following line:
                //natssp02/software/RetroPie/ROMS /home/pi/RetroPie cifs credentials=/home/pi/.smbcredentials,uid=pi 0 0

                Based on turning on auditing on my server, I can see the connection being made to my file server, so I'm not sure why access is being denied. Any pointers?

                1 Reply Last reply Reply Quote 0
                • S
                  sabelstrom
                  last edited by

                  I have been trying this, but cant get it to work.

                  My shared folder is this ftp://192.168.2.1/FTP/Konsolspel/
                  In this folder roms, bios, splashscreens and configs folder exists.

                  I am using a PI3 with the latest RetroPie.

                  How do i know that the /home/pi/RetroPie/ is the right path?

                  The ip to the PI is 192.168.2.176

                  1 Reply Last reply Reply Quote 0
                  • C
                    carpi
                    last edited by

                    Hi RetroPie people,

                    I mounted my NAS server to my pi by modifying the autostart.sh file using the guide on github. Everything works fine except when the pi boots into emulation station the RetroPie menu is no longer there for me to adjust any settings. The only way I can get it to come up is to disable the command in autostart.sh that mounts the NAS server and reboot the pi. If anyone has any suggestions as to why the menu is disappearing and how to resolve it, they would be greatly appreciated.

                    Thanks,

                    Carpi

                    Pi Model: 3 Model B
                    RetroPie Version Used: 4.1
                    Built From:(Pre made SD Image on RetroPie website
                    USB Devices connected: Keyboard / Wireless Xbox 360 Receiver
                    Controller used: Xbox 360
                    Guide used: Running ROMs from a network share

                    BuZzB 1 Reply Last reply Reply Quote 0
                    • BuZzB
                      BuZz administrators @carpi
                      last edited by BuZz

                      @carpi Do you have the "retropiemenu" folder on the network drive ?

                      You can re-install retropiemenu from Manage Packages -> Main Section > retropiemenu which will put the required files back.

                      can run RetroPie-Setup manually over SSH to do this - https://github.com/retropie/retropie-setup/wiki/ssh

                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        carpi @BuZz
                        last edited by

                        @BuZz Problem solved. I didn't have a copy of the folder on the network drive. Thanks so much for the quick help :)

                        1 Reply Last reply Reply Quote 0
                        • S
                          sabelstrom
                          last edited by

                          Now i have tried som more with out any good results.

                          This is what i have tested:

                          autostart.sh
                          sudo mount -t cifs -o username=something,password=something ftp://192.168.2.1/FTP/Konsolspel/ /home/pi/RetroPie

                          and
                          sudo mount -t cifs -o username=something,password=something //192.168.2.1/FTP/Konsolspel/ /home/pi/RetroPie

                          But when i run ls RetroPie after reboot it is the local folder that comes up.

                          Do i need a RetroPie folder on my ftp?

                          My ftp is a USB disk plugged in to my router, when i use the ip in my browser or explorer i only come to the router login screen.

                          But if i use ftp admin@ 192.168.2.1 in explorer i get to the ftp folder.

                          What am i doing wrong?

                          BuZzB 1 Reply Last reply Reply Quote 0
                          • BuZzB
                            BuZz administrators @sabelstrom
                            last edited by

                            @sabelstrom you should really start a new thread if you have problems rather than adding to existing threads (after reading https://retropie.org.uk/forum/topic/3/read-this-first)

                            You can't mount an ftp server like that. that line is for mounting a windows share (via cifs filesystem).

                            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                            1 Reply Last reply Reply Quote 0
                            • S
                              sabelstrom
                              last edited by

                              Ok, I will start new thread.

                              I feel confused when Running ROMs from a Network Share tells me this "I found FTP to be favorable"

                              But i can understand it wrong.

                              I Used this thread because i thought they had a way to get FTP work and when i tested it didn work, that is why i asked the people that i thought solved it instead of creating a new thread.

                              1 Reply Last reply Reply Quote 0
                              • S
                                Sailing_Nut
                                last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • T
                                  thundercrack
                                  last edited by

                                  I tested this a lot trying to use NFS for /home but I get "Failed to extract content from compressed file" when ROMs are selected. Then I tried mounting NFS at /home/pi and it failed the same way. I also tried changing the ROM dir to something completely outside of /home/pi, updated the conf to reflect the change, but it still wasn't able to uncompress ROMs when selected. So it sounds like a bug. A really, really annoying bug.

                                  I changed everything over to sshfs and it's just fine now. I did not try CIFS. An added benefit now though is this will allow me to take my pi anywhere and as long as I update /etc/fstab and have an internet connection I'll have access to the ROMs. I could have done it with nfs but it's more annoying to setup and secure to the outside world like that.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Smolky
                                    last edited by Smolky

                                    Model: PcCom Raspberry Pi 2 B
                                    Power supply: Network loader USB 2A (translated from Spanish to English, not sure if correct)
                                    Retropie version: 4.1
                                    Built From: Pre made SD Image on RetroPie website
                                    USB Devices connected: Wireless Keyword and mouse
                                    Controller used: XBOX Wireless gamepad
                                    Emulator: SNES
                                    Guide used: https://github.com/RetroPie/RetroPie-Setup/wiki/Running-ROMs-from-a-Network-Share (and this topic)
                                    Other: Raspberry is connected to the LAN using an ethernet cable (not wireless)

                                    Hi everyone. My issue is that I have configured my retropie to fetch the roms from my desktop computer. After reboot the retropie all worked fine except that I found that the game speed of snes (the only emulator I have tested) is slower. I notice both in the music and the game speed like if was running at a minor frame rate

                                    As you can see, I configured my fstab to fetch only the roms (not bios, config, ...)

                                    • //ip-host/retropie/roms /home/pi/RetroPie/roms cifs username=my-username,paassword=my-password,noserverino,defaults,users,auto 0 0

                                    After that, I have commented the fstab line, reboot the retropie and all worked as usual.

                                    Any of you have experienced something similar? Thanks and sorry about my English

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      spieddy
                                      last edited by

                                      Hello erveryone,

                                      I have a problem with mame4all rom running over network (windows).
                                      Setup RPI3 with modified autostart.sh. Latest Retropie version.
                                      Everything works fine except mame 0.37b5 roms. If same romset placed on sd card without network, it works fine. Over network emulator starts a rom, displays rom-art, screen turns black and retropie goes back to mame folder. Emulatior lr-imame4all
                                      Runcommand.log error: line 981: 1374 Segmantation fault
                                      Does anybody know to solve this problem?

                                      Thanks

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        spieddy @spieddy
                                        last edited by

                                        @spieddy After serveral hours od trying, I decided to change to modify Fstab and everyting works fine.

                                        H 1 Reply Last reply Reply Quote 0
                                        • T
                                          taekwonjudo
                                          last edited by

                                          Kit bought from CanaKit

                                          Model: Raspberry Pi 3 B
                                          Power supply: 2.5A USB PS from CanaKit
                                          Retropie version: 4.1
                                          Built From: Pre made SD Image on RetroPie website
                                          USB Devices connected: USB Keyboard, XBox 360 Wireless Gaming Receiver
                                          Controller used: XBOX Wireless gamepad
                                          Guide used: https://github.com/RetroPie/RetroPie-Setup/wiki/Running-ROMs-from-a-Network-Share (and this topic)
                                          Other: NAS is setup using Freenas 9.10.2, NAS ip: 192.168.0.106

                                          Hey Everyone. First a BIG thank you to everyone involved in building this project & everyone involved in this aspect of it as well!

                                          I am a VERY noob with regards to linux, but quite adept with PC & Mac since the DOS days. Bash is coming along thanks to that but I'm definitely struggling with some of the understanding, so please forgive my ignorance.

                                          I've been trying method 1... but obviously I'm missing something & made some mistake somewhere (likely syntax).

                                          I've edited autostart.sh as follows. My NAS is at 192.168.0.106, and my directory structure is pictured below my shell screen.

                                          0_1487146027638_autostart.sh.jpg

                                          0_1487146099756_network-path.jpg

                                          I have a few issues.

                                          1st, when editing autostart.sh, when I put the edited line above the code that was in there (emulationstation #auto)... emulationstation no longer auto launches... not sure what that's about... but I can type emulationstation into the Pi & it launches without issue. (But maybe that's significant, I don't know).

                                          After rebooting the Pi, when I go into emulationstation, the only option available is configuration. No RetroPie menue, and my bigger concern, no options to launch any of my roms.

                                          This tells me that the Pi isn't seeing the directory as I was hoping it would.

                                          I AM able to ping 192.168.0.106 so I know that the Pi does in fact see the server... but it seems I didn't understand the instructions correctly obviously for setting this up.

                                          Any help anyone could offer to help me progress this would be greatly appreciated.

                                          OH! Just to be clear, my NAS does have the cifs share set up correctly... I AM able to connect without issue through my PC.

                                          1 Reply Last reply Reply Quote 0
                                          • R
                                            Rickt1962 @vxjester
                                            last edited by Rickt1962

                                            @vxjester said in Running ROMs from a Network Share:

                                            @doncastermems
                                            I'll take a shot at it.
                                            Step 1: sudo cp /etc/fstab /etc/fstab.old
                                            Step 2: sudo nano /etc/fstab
                                            Step 3: add at the bottom of everything that is there //server/share /pathto/mountpoint cifs credentials=/home/username/.smbcredentials,uid=shareuser 0 0
                                            Example: //192.168.1.1/share/roms /home/pi/RetroPie cifs credentials=/home/pi/.smbcredentials,uid=pi 0 0
                                            Step 4: Press ctrl+o then enter to save.
                                            Step 5: Press ctrl+x to exit.
                                            Step 6: next sudo nano ~/.smbcredentials
                                            Step 7: Add your network drive info to this in this format (you might not need the domain part):
                                            username=shareuser
                                            password=sharepassword
                                            domain=domain_or_workgroupname
                                            Step 8: Save and exit just like before in step 4 and 5.
                                            Step 9: sudo mount -a
                                            Step 10: sudo chown RetroPie: /home/pi/RetroPie
                                            Note might need to sudo chmod 0600 ~/.smbcredentials
                                            Then sudo mount -a
                                            Then ls ~/RetroPie
                                            This is to check if you done everything correctly.

                                            Well tried this method got error I don't have a password on my network will that cause my problem ?

                                            Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                            permitted by applicable law.
                                            Last login: Fri Feb 17 12:38:41 2017 from 10.0.0.3
                                            osmc@osmc:~$ sudo cp /etc/fstab /etc/fstab.old
                                            osmc@osmc:~$ sudo nano /etc/fstab
                                            osmc@osmc:~$ sudo nano ~/.smbcredentials
                                            osmc@osmc:~$ sudo mount -a
                                            Retrying with upper case share name
                                            mount error(6): No such device or address
                                            Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
                                            mount: failed to parse mount options
                                            osmc@osmc:~$

                                            I think Im not getting my path correct

                                            //10.0.0.60/XBMC_3_Drive/Storage/ROMs /home/pi/RetroPie cifs username=Username,$
                                            //server/share /pathto/mountpoint cifs credentials=/home/username/.smbcredentia$

                                            My server location is 10.0.0.60 its called XBMCMYCLOUD with additional Hard Drive plugged into it called XBMC_3_Drive

                                            So maybe I am not enter it correctly :(

                                            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.