RetroPie - Running games directly via network
In this video i show the script that i made to mount a samba server and run roms directly via network without moving into the sd card, i tried a thousand of methods and this is the only one that worked without bugs or lags
Tutorial:
- First of all, MOVE all folders (except the ports) on roms folders of your pi to your pc, then share this folder (ex: \\192.168.1.37\roms)
- In PI go to terminal (alt-f4) or do it via ssh, navigate to /home/pi/ and create a new rom folder using the command "sudo mkdir roms"
- Navigate to /home/pi/RetroPie/roms/ports and type "sudo nano loadroms.sh, a file editor will open, then you gonna create your file to load roms from your shared folder, your loadroms.sh should be like this (you don't need to add the # lines)
#Mount the shared folder into /home/pi/roms (replace xxx with your shared user)
sudo mount -t cifs -o user=xxx,password=xxx //your_server_ip/Roms /home/pi/roms
#Create symbolic links of each folder that you have roms to the correct path
sudo ln -s /home/pi/roms/psx /home/pi/RetroPie/roms
sudo ln -s /home/pi/roms/gba /home/pi/RetroPie/roms
sudo ln -s /home/pi/roms/snes /home/pi/RetroPie/roms
#Kill the emulationstation process
ps -ef | grep "emulationstation" | awk '{print $2}' | xargs kill
#Start a new emulationstation process
emulationstation
# END
- Why do i mount roms folder into /home/pi and create symbolic links of the emulator roms folder instead mounting the entire rom folder into the correct path? Because if i replace the entire original roms folder with the mounted one, emulation station will bug A LOT, so you need to create a symbolic link to EVERY folder that contain roms, just add one line and replace the emulator folder (EX: "sudo ln -s /home/pi/roms/mame /home/pi/RetroPie/roms" for mame roms)
- Now that you have create your loadroms.sh file, press CRTL+X, then Y and Enter to save file
- You need to create a file to umount and delete the links when you done playing (yes it's necessary), in /home/pi/RetroPie/roms/ports folder type "sudo nano unmount.sh" and hit enter, edit your file to be like this:
#START
sudo rm /home/pi/RetroPie/roms/psx
sudo rm /home/pi/RetroPie/roms/gba
sudo rm /home/pi/RetroPie/roms/snes
sudo umount /home/pi/roms
ps -ef | grep "emulationstation" | awk '{print $2}' | xargs kill
emulationstation
#END
- Remember to add one line with every folder that you created symbolic links (EX: sudo rm /home/pi/RetroPie/roms/snes), press CRTL+X, then Y and Enter to save file.
- Return to emulationstation and test if its working !
Other Videos By Dreadmn
2022-07-02 | Exagear - Duke Nukem MHP, VirGL on Mali GPU |
2022-06-22 | Exagear - Fallout 3, VirGL on Mali g52 |
2022-06-12 | Ghost Master Mesa 22 LLVM 14 |
2022-06-07 | Exagear - Land of the Dead, VirGL on Mali GPU |
2022-06-02 | Exagear - Lineage II virGL on Mali GPU |
2022-06-01 | Exagear - Dungeon Siege, VirGL Mali GPU |
2022-06-01 | Exagear - MapleStory classic - virGl Mali |
2022-05-28 | Exagear - Beam Breakers on Mali GPU |
2022-05-23 | Exagear VirGL - South Park TSOT on Mali GPU |
2022-01-16 | AetherSX2 - Persona 4 on Redmi Note 9 Helio G85 Mali GPU |
2015-03-25 | RetroPie - Running games directly via network |
2015-02-26 | PS VITA ARK-2 eCFW ISO Loader - God of War |
2013-11-14 | Assassins creed IV on GT630 2GB |
2012-12-16 | Playground São Paulo 2012 - Growling Machines |
2012-02-24 | LSD TRIP - Full On test (FL Studio 10) |
2012-02-24 | Incredible Piano at FL Studio 10 |
2011-10-02 | DARK SIDE - MY FIRST PSY ;D |
2010-05-25 | Vitor Valline - Swingada |
2007-04-23 | Holy Beast Huntting demonstration |