mame-libretro not finding *any* roms on network drive
-
This problem has been driving me nuts. I can run ROMs from a local copy ./RetroPie/roms/mame_libretro, no problem at all.
But as soon as I map a network drive even with the exact same file structure and files, identical owner, permissions, everything identical - it all turns to custard. No ROMS can be found. Is there anyway of getting a more verbose error messages out of mame-libretro?
All other emulators work fine on a network share.My fstab entry is:
#//192.168.0.5/Archive/Roms/mame-libretro /home/pi/RetroPie/roms/mame-libretro cifs username=xx,password=xx,user=pi,rw,uid=1000,gid=1000,file_mode=0777,dir_mode=0777,vers=2.0 0 0
Any help would be appreciated, I have no clue what it is going on.
Cheers
-
@siliconpi Use the https://retropie.org.uk/docs/Runcommand/ menu to enable verbose logging and then look in
/dev/shm/runcommand.log
to spot any errors/information. -
Thanks for your reply,
Unfortunately it does not reveal much, the first hint of trouble is this line:
[ERROR] Failed to load content.
Comparing to the same ROM loading to the same directory structure but unmounted, shows that this is when reading from the zipped rom is happening.
[libretro INFO] osd_fopen (buffer = [/home/pi/RetroPie/roms/mame-libretro/mame2003/roms/19xxh.zip]), (directory: [/home/pi/RetroPie/roms/mame-libretro/mame2003/roms]), (path type dir: [rom]), (path type: [1]), (filename: [19xxh.zip])
Could it be timeouts, or something? Slow network?
The only other thing of interest is right near the top of the log on the local attempt are these two lines:
[INFO] Redirecting save file to "/home/pi/RetroPie/roms/mame-libretro/mame2003/roms/19xxh.srm".
[INFO] Redirecting savestate to "/home/pi/RetroPie/roms/mame-libretro/mame2003/roms/19xxh.state".Those are completly missing when running from a network share.
what could cause those redirects to not occur? Cant write to the location? But I can create and edit files at that location no problem....I've piped the two directory structures to a file and compared and they really are identical. This really is causing me to lose hair! :)
-
@siliconpi Can you post the complete verbose log on a site like pastebin.com to look at it ?
Can you runzipinfo /home/pi/RetroPie/roms/mame-libretro/mame2003/roms/19xxh.zip
from a terminal/ssh session to see if the zip ROM is accesible on the mountpoint ?
Can you try addingforceuid=1000,forcegid=1000,rw
to the mount options, just to make sure the permissions are set ok ?
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.