[HowTo] RetroPie and OSMC: Retrosmc - Retrogaming on OSMC

Quck question:

When an updated version of Retropie is released (v3.5 is now out), is the best way to update simply to run the Retrosmc installation script, update scripts, then install retrosmc again? If so, will reinstalling overwrite saved configuration data like controllers, scraped artwork etc.?

When I want to update retropie, I just run the installationscript again with the binaries installation.

It should provide you with the latest version. I once needed to reconfigure my controls afterwards probably because of changes in the mappinghandler. You should keep a backup of your modified config files when updating.
Not sure about artwork though.

Theoretically you could also just run the retropie-setup.sh script from the es retropie menu to update.

1 Like

@mcobit Thanks for putting this together. It seemed to work fine but now emulationstation crashes when trying to launch from within osmc. The emulationstation splash screen shows up momentarily after which OSMC is relaunched. Before things broke I had:

  • moved my roms to a different USB drive (and updated symlinks to the ~/RetroPie/roms/ folders)
  • updated the the system using apt-get update & upgrade

Trying to troublshoot this myself I have a) rerun the binary-based installation via the install-retrosmc.sh script and b) tried to delete ~/RetroPie/scripts/video.sh as per your advice, but the script is not there.

Any advice on how to fix this?

Thanks!

Are there any clues in the es logfile?

/home/osmc/.emulationstation/es_log.txt

Did you copy the complete log folder? What format is your new hdd and are permissons set right?

Thanks for the quick reply. I’ve pasted the ES log file below - can’t see anything really wrong with it.

The USB HD is ext4 format, permissions are 777 and the symlinks between ~/RetroPie/roms and the hard disk also seem to be totally in order.

lvl2: EmulationStation - v2.0.1a, built Feb 5 2016 - 01:17:20 lvl2: Creating surface... lvl2: Created window successfully. lvl2: Added unconfigured joystick 小米蓝牙手柄 (GUID: 05000000172700004431000029010000, instance ID: 0, device index: 0). lvl2: Checking available OpenGL extensions... lvl2: ARB_texture_non_power_of_two: MISSING lvl2: Loading system config file /etc/emulationstation/es_systems.cfg... lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/amiga/gamelist.xml"... lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/amstradcpc/gamelist.xml"... lvl1: System "amstradcpc" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/apple2/gamelist.xml"... lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/arcade/gamelist.xml"... lvl1: System "arcade" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/atari2600/gamelist.xml"... lvl1: System "atari2600" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/atari5200/gamelist.xml"... lvl1: System "atari5200" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/atari7800/gamelist.xml"... lvl1: System "atari7800" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/atari800/gamelist.xml"... lvl1: System "atari800" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/atarilynx/gamelist.xml"... lvl1: System "atarilynx" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/atarist/gamelist.xml"... lvl1: System "atarist" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/c64/gamelist.xml"... lvl1: System "c64" has no games! Ignoring it. lvl1: Unknown platform for system "coco" (platform "coco" from list "coco") lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/coco/gamelist.xml"... lvl1: System "coco" has no games! Ignoring it. lvl1: Unknown platform for system "dragon32" (platform "dragon32" from list "dragon32") lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/dragon32/gamelist.xml"... lvl1: System "dragon32" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/dreamcast/gamelist.xml"... lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/fba/gamelist.xml"... lvl1: System "fba" has no games! Ignoring it. lvl1: Unknown platform for system "fds" (platform "fds" from list "fds") lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/fds/gamelist.xml"... lvl1: System "fds" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/gamegear/gamelist.xml"... lvl1: System "gamegear" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/gb/gamelist.xml"... lvl1: System "gb" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/gba/gamelist.xml"... lvl1: System "gba" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/gbc/gamelist.xml"... lvl1: System "gbc" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/intellivision/gamelist.xml"... lvl1: System "intellivision" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/macintosh/gamelist.xml"... lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/mame-advmame/gamelist.xml"... lvl1: System "mame-advmame" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/mame-libretro/gamelist.xml"... lvl1: System "mame-libretro" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/mame-mame4all/gamelist.xml"... lvl1: System "mame-mame4all" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/mastersystem/gamelist.xml"... lvl1: System "mastersystem" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/megadrive/gamelist.xml"... lvl1: System "megadrive" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/msx/gamelist.xml"... lvl1: System "msx" has no games! Ignoring it. lvl2: Parsing XML file "/home/osmc/.emulationstation/gamelists/n64/gamelist.xml"...

Can you launch es from ssh after quitting kodi? It could give some more output there.

Running retropie-setup.sh script from ES can (but doesn’t have to) end with problems. ES launched from our launcher doesn’t have properly configured $PATH and ldconfig. I would suggest to use retropie-setup.sh only via ssh. It’s the safest way.

Thanks for your input on that. So ignore what I said in my post and only launch via commandline :slight_smile:

Cheers will try this - just need to find a keyboard. where are the binaries for es?

Just type “emulationstation” without quotemarks.
You can also use ssh. No need for a keyboard.

Hello,

Thanks for your work.

I am getting an error when attempting the first step:

wget https://raw.githubusercontent.com/mcobit/retrosmc/master/install-retrosmc.sh

The error I get is:

converted ‘https://raw.githubusercontent.com/mcobit/retrosmc/master/install-retrosmc.sh’ (ANSI_X3.4-1968) → ‘https://raw.githubusercontent.com/mcobit/retrosmc/master/install-retrosmc.sh’ (UTF-8)
–2016-02-13 13:07:44-- https://raw.githubusercontent.com/mcobit/retrosmc/master/install-retrosmc.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 62.252.172.241
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|62.252.172.241|:443…connected
GnuTLS: A TLS fatal alert has been recieved.
GnuTLS: recieved alerrt [0]: Close notify
Unable to establish SSH connection.

Does anyone know what might be happening and how I can fix this?

Thanks

There were other users with a similar problem afaik. I am not sure why this should happen.
The url is reachable and I can download it without a problem on my raspberry.

Do you have VPN activated or custom firewall rules?

Maybe it is only a temporary issue with the github servers.

Thanks for your quick response.

I don’t have tried disabling my firewall completely and I’m not using a VPN.

I guess I can try reinstalling OSMC.

Or just wait a while… Can you donwload the file to a computer?

Yeah, I’ve been able to download to my computer and have moved to /home/osmc; however, when I try

cd /home/osmc chmod +x install-retrosmc.sh ./install-retrosmc.sh

I get the error

bash: ./install-retrosmc.sh: Permission denied

Please read the first post carefully!
You have to make the file executable before running it.
Also, chances are that the installation will not work as there will be some files that need to be downloaded from github, too.
You can try of course.

Sorry for the naivety but I thought the command chmod +x install-retrosmc.sh makes the file
executable?

Yes. It does. I guess the file is owned by root then.

Try chmod 777 install-retrosmc.sh

Okay after trying that, I get the new error

./install-retrosmc.sh: line 5: syntax error near unexpected token 'newline' ./install-retrosmc.sh: line 5: < !DOCTYPE html>’

Any ideas?

You did not download the raw file but the html file that embeds it.