OrangePI Club
Launch games from usb on RetrOrange Pi 4.3 - Printable Version

+- OrangePI Club (http://orangepi.club)
+-- Forum: International (English) Forums (http://orangepi.club/forumdisplay.php?fid=3)
+--- Forum: *nix Distro (http://orangepi.club/forumdisplay.php?fid=4)
+---- Forum: RetrOrangePi v4.3 - go to www.retrorangepi.org/forum (http://orangepi.club/forumdisplay.php?fid=41)
+---- Thread: Launch games from usb on RetrOrange Pi 4.3 (/showthread.php?tid=3278)



Launch games from usb on RetrOrange Pi 4.3 - Acheron - 11-07-2019

Hello,there's a way to launch games straight from the usb drive on RetrOrangePi 4.3? 
I've installed it on an Orange Pi Plus 2e.
Tried with the retropie-mount or romcopy but it doesn't work...


RE: Launch games from usb on RetrOrange Pi 4.3 - tomikitwo - 02-28-2020

Hello, I have the same problem as above. I am using Orangepi PC Plus and on version 4.2 I was running roms with a pendrive. Unfortunately, this does not work on version 4.3. Is there any way to run roms from a pendrive?


RE: Launch games from usb on RetrOrange Pi 4.3 - Lamerjack - 03-03-2020

(02-28-2020, 04:26 PM)tomikitwo Wrote: Hello, I have the same problem as above. I am using Orangepi PC Plus and on version 4.2 I was running roms with a pendrive. Unfortunately, this does not work on version 4.3. Is there any way to run roms from a pendrive?

There are some tricks explained in thr fourm for 4.2...
But i dont like it also ports are copied on usb, and ports change with new Retrorange pi releases...
So i made a script that replace the roms folders that i need with a link to usb unit (in my case a 128gb internal ssd)


RE: Launch games from usb on RetrOrange Pi 4.3 - Lamerjack - 03-04-2020

(03-03-2020, 03:15 PM)Lamerjack Wrote:
(02-28-2020, 04:26 PM)tomikitwo Wrote: Hello, I have the same problem as above. I am using Orangepi PC Plus and on version 4.2 I was running roms with a pendrive. Unfortunately, this does not work on version 4.3. Is there any way to run roms from a pendrive?

There are some tricks explained in thr fourm for 4.2...
But i dont like it also ports are copied on usb, and ports change with new Retrorange pi releases...
So i made a script that replace the roms folders that i need with a link to usb unit (in my case a 128gb internal ssd)
if you're not pratic with linux:
i created HD_01 folder in media
sudo mkdir /media/HD_01

then i added the mount of usb device:
sudo nano /etc/fstab
and i added this line:
UUID=f7760a5e-9d4e-4043-84e3-1e4b3386da0a  /media/HD_01 auto nosuid,nodev,nofail

the UUID is different for every drive you can get with this command:
ls -l /dev/disk/by-uuid/

now at every boot the usb disk will be loaded.
with the script below you will create a link from orange pi rom folder to the usb roms folder.
Yes is complicate but you know exatly what is on your usb disk and what is not.
In my case is part of other script that also copy my background music, and data folder for ports games.

here the script 

Code:
cp  /home/pi/RetroPie/roms/amiga/*.sh /media/HD_01/roms/amiga
rm -r /home/pi/RetroPie/roms/amiga
ln -s /media/HD_01/roms/amiga /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/arcade
ln -s /media/HD_01/roms/arcade /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/arcade
ln -s /media/HD_01/roms/arcade /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/atari2600
ln -s /media/HD_01/roms/atari2600 /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/atarilynx
ln -s /media/HD_01/roms/atarilynx /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/c64
ln -s /media/HD_01/roms/c64 /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/coleco
ln -s /media/HD_01/roms/coleco /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/daphne
ln -s /media/HD_01/roms/daphne /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/dreamcast
ln -s /media/HD_01/roms/dreamcast /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/gameandwatch
ln -s /media/HD_01/roms/gameandwatch /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/gamegear
ln -s /media/HD_01/roms/gamegear /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/gb
ln -s /media/HD_01/roms/gb /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/gba
ln -s /media/HD_01/roms/gba /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/gbc
ln -s /media/HD_01/roms/gbc /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/intellivision
ln -s /media/HD_01/roms/intellivision /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/mastersystem
ln -s /media/HD_01/roms/mastersystem /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/megadrive
ln -s /media/HD_01/roms/megadrive /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/n64
ln -s /media/HD_01/roms/n64 /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/nes
ln -s /media/HD_01/roms/nes /home/pi/RetroPie/roms/

cp  /home/pi/RetroPie/roms/pc/*.sh /media/HD_01/roms/pc
rm -r /home/pi/RetroPie/roms/pc
ln -s /media/HD_01/roms/pc /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/pcengine
ln -s /media/HD_01/roms/pcengine /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/psp
ln -s /media/HD_01/roms/psp /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/psx
ln -s /media/HD_01/roms/psx /home/pi/RetroPie/roms/

cp  /home/pi/RetroPie/roms/residualvm/*.sh /media/HD_01/roms/residualvm
rm -r /home/pi/RetroPie/roms/residualvm
ln -s /media/HD_01/roms/residualvm /home/pi/RetroPie/roms/

cp  /home/pi/RetroPie/roms/scummvm/*.sh /media/HD_01/roms/scummvm
rm -r /home/pi/RetroPie/roms/scummvm
ln -s /media/HD_01/roms/scummvm /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/snes
ln -s /media/HD_01/roms/snes /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/vectrex
ln -s /media/HD_01/roms/vectrex /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/vic20
ln -s /media/HD_01/roms/vic20 /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/videopac
ln -s /media/HD_01/roms/videopac /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/zmachine
ln -s /media/HD_01/roms/zmachine /home/pi/RetroPie/roms/

rm -r /home/pi/RetroPie/roms/zx81
ln -s /media/HD_01/roms/zx81 /home/pi/RetroPie/roms/

cp  /home/pi/RetroPie/roms/zxspectrum/*.sh /media/HD_01/roms/zxspectrum
rm -r /home/pi/RetroPie/roms/zxspectrum
ln -s /media/HD_01/roms/zxspectrum /home/pi/RetroPie/roms/