Running ROMs from a Network Share
-
Can't someone do a step by step for this I want to run rooms from my pc the info here doesn't make any sense to normal ppl
-
@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: nextsudo 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 tosudo chmod 0600 ~/.smbcredentials
Thensudo mount -a
Thenls ~/RetroPie
This is to check if you done everything correctly. -
ok thanks so much ill have a go, so im guessing the blue bit is the bit i edit with my share path details the rest of line i leave as it is ?
theres a space between /roms and /home should that be there ?
-
@doncastermems
Yes there is a space in between /roms and /home because it the end of the directory path and the beginning of another. See what you are telling the pi is you want it to point to your network drive as part of the pi's filesystem. To answer your first question yes the blue is what you want to edit for where ever you have for your network. -
Ok so I'm almost there got the Roms showing and loading from pc but no retropie menu ? I've only copied my Roms folder to the PC should I have copied anything else from the sd card in the pi to the PC folder
-
@vxjester said in Running ROMs from a Network Share:
@doncastermems
Yes there is a space in between /roms and /home because it the end of the directory path and the beginning of another. See what you are telling the pi is you want it to point to your network drive as part of the pi's filesystem. To answer your first question yes the blue is what you want to edit for where ever you have for your network.You should use markdown (click on the compose ? at the top right when editing a message) to format your post, and it will be easier to follow.
eg
this is a inline preformatted block surrounded by a single backtick
#!/bin/bash # and this is a code block using three backticks ```
I did an example edit on your message but it could do with some more formatting imho.
-
I'm trying to seperate the Retropie folder with all my roms and saves from my retropie installation and access them through a samba share. Although i'm now able to play games from that share, i've got issues with my savegames. It seems to be a right issue, i can't get it right (pun intented).
What i've tried: https://github.com/RetroPie/RetroPie-Setup/wiki/Running-ROMs-from-a-Network-Share
I've also checked: http://electricgardener.net/retropie-moving-games-usb-stick and https://wiki.ubuntu.com/MountWindowsSharesPermanently.I'm a novice when it comes to linux.
My setup:
Pi 1
- openelec
- usb harddrive mounted (NTFS) and accesible throught media/Media/
- Retropie pi map in media/Media/Games/Retropie
- Rights folder Retropie/saves: drwxrwxrwx
- Rights of files in folder Retropie/saves: -rw-r--r--
- relevant part of samba.conf
[Media]
path = /media/Media
available = yes
browsable = yes
public = yes
writable = yesPi 2
- retropie
- content off /opt/retropie/configs/all/autostart.sh
sudo mount -t cifs -o user=root,password=openelec,uid=1000,gid=1000 //168.1.100/Media/Games/RetroPie /home/pi/RetroPie
emulationstation #autoMy suspisions
I think this is a rights issue, because i can play the games from the share. When i try to change the rights in the saves folder it does
not work or present any error. Nothing happens. Perhaps it has something to do with NTFS? -
Fixed. Yesterday i saw an extra , in the options list of the mount command and removed it. And voila, it finally works.
-
So I am an absolute noob with Linux and the raspberry pi, so I apologize for my ignorance.
My first question is, what do I put as my username and password? My computers or network share user and pass?
When I copied over all the folders from the retropie installation to my desired share destination, (RETROPIE) is after every folder name, do I leave that?
When I'm adding the line of code to autostart.sh, there is one line of text already there, should I put the line of code above or below that? I assumed above that, as that would be the top.
When I enter ls RetroPie, what exactly should I be seeing? It looks like 4 folders in blue.
Once again I apologize for the probably stupid questions.
-
username, password: network shares user and password.
leave folders: If you mean, can i leave the old folders in the original location: yes. Consider it a backup :)
where to put line: I put it above, it worked fine.
what do you see: To test the network share, copy some unique files to the network share (f.e. some new roms) and see if they appear. If so, you're good. I don't know the colorscheme by memory, sorry. -
Can I buffer the current game on the SD card? I am facing loading issues on big ROMS.
-
New to forum so would like to say hi to everyone!
I am trying to get my RetroPie to boot noms from network. I have created a share on my NAS \nas\retropie. First question do i put roms folders in here or do I create folder called roms and drop the various folders in there?
I have tried doing using this:
sudo raspi-config
In there, select the 4th option and tell it Yes.Option 1: Add to autostart.sh (Preferred if using v4.0+)
sudo nano /opt/retropie/configs/all/autostart.sh
Add the following line to the top of that file, being sure to adjust it for your personal settings, paths and options.sudo mount -t cifs -o username=retropie,password=retropie //192.168.0.10/retropie /home/pi/RetroPie
after reboot emotion station errors that it can't find system and clicking ok returns me to a command prompt.
If I use the guest setting:
sudo mount -t cifs -o guest,uid=pi //192.168.0.10/retropie /home/pi/RetroPiethe system boots but there are no games?
Any help would be appreciated
Thanks
Gav -
Did you fix this? I also get my roms loaded but retropie menu has gone. Any ideas?
I am using the stab option as I could not get the autostart.sh method to load the roms.
Thanks
-
This post is deleted! -
@vxjester said in Running ROMs from a Network Share:
Step 10: sudo chown RetroPie: /home/pi/RetroPie
Everything worked out great- thanks! But, can you give any insight on this issue? Rigorously searched around and couldnt find any mention of "invalid spec", but found several mentions of "invalid user"
pi@retropie:~/RetroPie $ sudo chown RetroPie: /home/pi/RetroPie
chown: invalid spec: ‘RetroPie:’
pi@retropie:~ $ ls -l /home/pi/RetroPie
total 0
drwxr-xr-x 2 pi root 0 Oct 19 11:30 BIOS
drwxr-xr-x 2 pi root 0 Oct 19 11:30 retropiemenu
drwxr-xr-x 2 pi root 0 Oct 19 11:31 roms
drwxr-xr-x 2 pi root 0 Oct 19 11:31 splashscreens
I would assume user pi already has root access here. is this the cause, and i am worried over nothing? Sorry, i am trying to figure out how to properly conform to Markdown- does the above warrant codeblock or inline code? Forgive my ignorance .
-
@gavster2002
i Would say for your following boot issues:after reboot emotion station errors that it can't find system and clicking ok returns me to a command prompt.
or
sudo mount -t cifs -o guest,uid=pi //192.168.0.10/retropie /home/pi/RetroPie
the system boots but there are no games?that you should first experiment your mount command line directly in the Raspberry shell, in order to detect an potential mount command issue.
By the way, i have the same issue as you when i'm using the network folder:
sometimes the "retropie" item disappear from the emulationStation menu -
Hi,
Pi Model: 3B
RetroPie Version Used: v4.0.2
Built From: Pre made SD Image on RetroPie website
USB Devices connected: wireless keyboard dongle, Logitech rumblepad
Guide used: https://github.com/RetroPie/RetroPie-Setup/wiki/Running-ROMs-from-a-Network-Sharei tried the option1, with Autostart.sh, But it does not work.
my mount command is working well, i executed it through the pi SSH shell, then i rebooted emulationStation, and then i succeed in getting files from my network share.
(but i noticed an issue as stated on the message above, the "retropie" item disappear from the emulationStation menu )but if i boot with this command line included in Autostart.sh, it is not taken into account.
i will try the option 2 tonight, but i wanted to know if someone succeeded with option1 and what would be the issue on my side in that case?
sudo mount -t cifs -o username=xxxx,password='xxxx' //192.168.1.12/raspberry/retropie /home/pi/RetroPie
Thanks a lot !
Regards,
Jeero. -
Hello i'm very new at this. Is it possible to have both so it loads some Roms from sd card and some Roms from Network drive? And when i i'm out of range it only loads from sd card.
I have the same question regarding having some Roms on sd card and some on USB drive is that also possible. Så when i have Network drive online it runs on sd card and Network drive and when i connect USB driv it uses all 3 drives all this automatic no change everytime i connect and diaconnect a drive? Maybe a restart but nothing more 🙄🙄🤔
-
Hi All,
I gave option 1 a shot, folders appear to mount correctly and everything looks good in ES but MAME (/Mame-Libretro) games wont load (FBA games run fine!), when attempting to play a game it looks like it is going to load (black screen for 5-10 seconds) then it reverts back to the MAME menu. Running the game locally from the SD card runs fine so I know it isn't an issue with the ROM file (testing with 1944.zip).
Initially I suspected it was a permission issue; I double checked that all files were not set to read-only, I played around with mount command and eventually added uid=1000,gid=1000, pi user now has ownership of ~/RetroPie (screenshot attached), I can create folders/files etc via console and I see them populate on my network share but MAME games still fail to load...unfortunately I have run out of thing to try, any suggestions?
Share: NTFS (Server 2012R2)
Pi Model: 3B
Image: 4.0.2 (ran update script after 4.1 was released)
Mount Command: sudo mount -t cifs -o username=xxx,password=xxx,uid=1000,gid=1000 //10.0.0.100/arcade /home/pi/RetroPieThanks for your help!
-
@zehjrack
Hi,
i have finally succeeded to use the option 1 too (in switching on/off the option which permits to have emulationstarted automatically run at startup, it seems that it "activate" the use of Autostart.sh file)i personally had no similar issue with Mame roms, but i remarks you were putting them in /Mame-Libretro folder, and i'm putting them in Arcarde folder.
Maybe you can try this way ?Regards,
Jeero.
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.