Success in Running ROMS from NAS but no mame roms?
-
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
-
@haris1977 You need to add the rom path on the NAS to the mame4all config file,
/opt/retropie/configs/mame-mame4all/mame.cfg
. -
@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?
-
@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.
-
-
@haris1977 Yes, that should do. You may need to update the sample path as well if you are storing them on your NAS.
-
@dudleydes nope same problem here. Missing roms. I guess this problem may be related to this:
-
@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
-
@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.
-
@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?
-
@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 ?
-
@buzz yes..I ve created one folder from a client pc
-
@haris1977 Then I'm not sure. It could be due to some unsupported samba / filesystem operation on the nas.
-
@buzz yes but..if it is a "permission matter" then why i can play all the other roms ??
-
@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 ? -
-
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?
-
@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.
-
@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
-
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?
-
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..
-
-
I ve managed to do it through some commands. Thanks anyway! :)
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.