Installing [RetroPie][1][?][1] in OSMC

https://github.com/RetroPie/RetroPie-Setup/wiki/OSMC

The script:

  • requires pv
  • assumes you're running from /home/osmc as user osmc

Auto-mount [ROMs][2][?][2] from CIFS

Configure [AutoFS][3][?][3]

sudo apt-get install autofs

$[Get Code]4

/etc/auto.mediasys

mediasys -fstype=cifs,username=foo,password=bar ://media/mediasys

Add at the end of /etc/auto.master

/mnt /etc/auto.mediasys --timeout=300

This combination mounts //media/mediasys as /mnt/mediasys.

Reconfigure [EmulationStation][5][?][5]

/etc/emulationstation/es_systems.cfg using

:%s%/home/osmc/RetroPie/roms/%/mnt/mediasys/games/library/%g
 in vim: 

<?xml version="1.0"?>

 
    amstradcpc
    Amstrad CPC
    /mnt/mediasys/games/library/amstradcpc
    .cdt .cpc .dsk .zip .CDT .CPC .DSK .ZIP
    /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ amstradcpc %ROM%
    amstradcpc
    amstradcpc
 
 
    arcade
    Arcade
    /mnt/mediasys/games/library/arcade
    .7z .cue .fba .iso .zip .7Z .CUE .FBA .ISO .ZIP
    /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ arcade %ROM%
    arcade
    arcade
 
  ...

$[Get Code]6