Hi all.
I did not see this in the forum, if is already, my apologies (And , is there another way to do it, I did not see it :)
This is a easy to follow guide that I made to load the roms from a NAS over the Ethernet connection on Retropie 3.2.1
(You can do it from SSH, if you dont know how to connect via SSH, see this https://www.youtube.com/watch?v=RyNii3UcHPw )
I dont know how to do a correct tutorial and also English is not my mother tonge, so I will call it
“Just DO IT guide” (from SSH you can Ctrl+c, Ctrl+v, dont copy pi@retropie ~ $)
From the console
pi@retropie ~ $ sudo apt-get install cifs-utils
pi@retropie ~ $ sudo mkdir /media/consoles
pi@retropie ~ $ sudo nano /etc/fstab
Add the network path to the file (unprotected network path)
//yournetworkdeviceiporname/youtnetworkdevicepath /media/whateveryouwant cifs guest,uid=1000,iocharset=utf8 0 0
(Example of my file)
proc /proc proc defaults 0 0
# a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swapfile swap[on|off] for t$
//192.192.8.101/Consoles /media/consoles cifs guest,uid=1000,iocharset=utf8 0 0
Ctrl + X and save
pi@retropie ~ $ sudo mount -a
pi@retropie ~ $ sudo reboot
pi@retropie ~ $ sudo cp /etc/emulationstation/es_systems.cfg /etc/emulationstation/es_systems.bak
You can made the copi in a shared folder pi@retropie ~ $ sudo cp /etc/emulationstation/es_systems.cfg /media/consoles/es_systems.bak
pi@retropie ~ $ sudo nano /etc/emulationstation/es_systems.cfg
Look for the path and replace for your path AND folder
Example
<path>~/RetroPie/roms/amiga</path>
to
<path>/media/consoles/amiga/roms</path>
Ctrl + X and save
Reboot (via sudo reboot or manually)
Leave it boot, the first time after added the shared folders can take time, just leave it boot
At the next boot you will see that now you have the console system icon in your menu
If you have added too much roms, it can cause theme problems on Retropie (Unable to load the icons of the sections, unable to load the names, etc..), so I recommend to create a folder with your favorite games, instead to map directly to your full roms folder.
If anyone want to re do this tutorial in the right way, I will apreciate :)