RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Success in Running ROMS from NAS but no mame roms?

    Scheduled Pinned Locked Moved Help and Support
    nas
    20 Posts 4 Posters 4.1k 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.
    • H
      Haris1977
      last edited by

      As the title says i ve successfully managed to run all of my roms from my windows nas server (following this ). Everything seems ok except for the fact that i cant run any of my mame (mame-mame4all) roms.

      My files are correct as i can run them through my sd card, but not from nas. I get a missing roms error. Surprisingly those missing roms are indeed inside of my zipped roms. As if the command is trying to unzip the rom but without success.

      Anyone is having similar problem with mame roms over network?

      Rpi1 model B, 4.3 retropie image, NOOBS software, keyboard and joypad attached

      D 1 Reply Last reply Reply Quote 0
      • D
        dudleydes @Haris1977
        last edited by

        @haris1977 You need to add the rom path on the NAS to the mame4all config file, /opt/retropie/configs/mame-mame4all/mame.cfg.

        H 1 Reply Last reply Reply Quote 0
        • H
          Haris1977 @dudleydes
          last edited by Haris1977

          @dudleydes said in Success in Running ROMS from NAS but no mame roms?:

          mame.cfg

          Dunno if this is the case. All the other roms work ok (e.g fba even if it uses *zip files also). Will try it though. Somebody found that it was due to mounting samba shares in read only mode. RetroArch tries to unzip the rom and fails. So my command is:

          sudo mount -t cifs -o username=XXXX,password=XXXX //192.168.X.XXX/Share/RetroPie/roms /home/pi/RetroPie/roms

          Maybe i should change it to smth else?

          D 1 Reply Last reply Reply Quote 0
          • D
            dudleydes @Haris1977
            last edited by

            @haris1977 For non-RetroArch MAME emulators, mame4all and AdvMAME, the rom paths need to be included in their respective config files. Try placing a rom in a sub-folder in the mame4all rom folder and running it mame4all-pi.

            H 1 Reply Last reply Reply Quote 0
            • H
              Haris1977 @dudleydes
              last edited by Haris1977

              @dudleydes

              Would this work? Or do i need a special syntax?

              https://pastebin.com/0nGNQcBe

              D 1 Reply Last reply Reply Quote 0
              • D
                dudleydes @Haris1977
                last edited by

                @haris1977 Yes, that should do. You may need to update the sample path as well if you are storing them on your NAS.

                H 1 Reply Last reply Reply Quote 0
                • H
                  Haris1977 @dudleydes
                  last edited by

                  @dudleydes nope same problem here. Missing roms. I guess this problem may be related to this:

                  https://github.com/libretro/Lakka-LibreELEC/issues/115

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    dudleydes @Haris1977
                    last edited by

                    @haris1977 Try the following rompath in mame.cfg. Note the two forward slashes at the beginning.

                    rompath=//192.168.1.110/Share/RetroPie/roms/mame-mame4all
                    
                    BuZzB 1 Reply Last reply Reply Quote 0
                    • BuZzB
                      BuZz administrators @dudleydes
                      last edited by

                      @dudleydes mame won't understand a network location. mame4all does work on my system with the roms on the network via a network mount (mount -t cifs etc).

                      Might be a permissions issue - in case it wants read write access to the roms folder, make sure it's writable from the RPI.

                      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

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        Haris1977 @BuZz
                        last edited by

                        @buzz @dudleydes well check this out. Here is a snapshot of my server pc. I just seen this: Every time i uncheck the "Read only" attribute of my RetroPie folder while it does it's thing, when i check it again the "Read only" is still there..

                        This should be off right?

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

                          @haris1977 Might be a setting on the NAS to change it. I'm no windows expert I'm afraid. Can you create files/folders in the mame4all roms folder over the network ?

                          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

                          H 1 Reply Last reply Reply Quote 0
                          • H
                            Haris1977 @BuZz
                            last edited by Haris1977

                            @buzz yes..I ve created one folder from a client pc

                            BuZzB mituM 2 Replies Last reply Reply Quote 0
                            • BuZzB
                              BuZz administrators @Haris1977
                              last edited by

                              @haris1977 Then I'm not sure. It could be due to some unsupported samba / filesystem operation on the nas.

                              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

                              H 1 Reply Last reply Reply Quote 0
                              • H
                                Haris1977 @BuZz
                                last edited by Haris1977

                                @buzz yes but..if it is a "permission matter" then why i can play all the other roms ??

                                1 Reply Last reply Reply Quote 0
                                • mituM
                                  mitu Global Moderator @Haris1977
                                  last edited by

                                  @haris1977 Can you try and mount the network folder with the options specified in the docs, especially adding nounix,noserverino,rw to the mount options ?

                                  H 1 Reply Last reply Reply Quote 0
                                  • H
                                    Haris1977 @mitu
                                    last edited by Haris1977

                                    @mitu you mean option 2? I preffered option 1 as it was very handy..

                                    My command in autostart file is this

                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      Haris1977
                                      last edited by Haris1977

                                      Well i have tried everything to no avail. I think it is either a bug of mame core or a matter of permissions on my windows pc side:(

                                      Has anyone managed to play any mame rom from a nas?

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

                                        @haris1977 It's not a bug in mame4all. There is no need to open a ticket on the issue tracker. It's an issue with the network share / nas (or compatibility with it and the cifs mount), or the mount options etc.

                                        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

                                        H 1 Reply Last reply Reply Quote 0
                                        • H
                                          Haris1977 @BuZz
                                          last edited by Haris1977

                                          @buzz well i made it work!!:)

                                          I used the method of fstab (option 2 in here) and i added the appropriate line from the how to.
                                          Thank you all for your help here :)

                                          2 more questions

                                          1. How do i mount it (sudo mount -a) on every Retropie boot? Every time i have to do it manually from ssh:( I added sudo mount -a in fstab but it didnt work. When i use sudo mount -a from ssh it works. Maybe the issue is that fstab drives are mounted even before the network is up?

                                          2. I also want to execute these commands before the cifs fstab long line command takes place. How can i do that?? (I have already installed wake on lan through wget). I tried to add those commands in the fstab file (before the cifs command) but it didnt work..

                                          H 1 Reply Last reply Reply Quote 0
                                          • H
                                            Haris1977 @Haris1977
                                            last edited by

                                            I ve managed to do it through some commands. Thanks anyway! :)

                                            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.