[HowTo] Installing RetroPie alongside OSMC RC (the easy way)

I’ve ran the script a few times now but only ever get the RetroPie, ScummVM, Amiga, Apple II, Macintosh, IBM and Ports menus. Ideally I’m looking to run the SNES emulator.

Am I doing something wrong?

I don’t think performance is much better. Most here want this setup because of integration into osmc.

The “version” will always be the latest as it installs by script. Not image.

If you put the snes roms into the /home/osmc/RetroPie/roms/snes folder the emulator should magically show up. :wink:

Same for all emulators. First copy the roms then play.

Thanks. Seems obvious now. :slight_smile:

Installation went great.

However i am having trouble getting my wiimote controller working. Has anyone successfully installed one here?

It looks like i am getting some segfault certainly due to permissions. I am following this tutorial without success https://github.com/petrockblog/RetroPie-Setup/wiki/Wiimotes-with-classic-controllers

Installation went great.

However i am having trouble getting my wiimote controller working. Has anyone successfully installed one here?

It looks like i am getting some segfault certainly due to permissions. I am following this tutorial without success https://github.com/petrockblog/RetroPie-Setup/wiki/Wiimotes-with-classic-controllers

Looks like there is no /dev/uinput in osmc

Maybe there are some packages missing. Those tutorials are written for Raspbian.
I think I have a wiimote at work. I can try to come up with something.
If you get it running please share how it works with us.

You seem to have an older standalone image. They changed the way emulators are used for roms. There is only one romfolder for a system and you can configure on a per rom basis what emulator should be used for what rom. Really great if you ask me as some roms might run better on one emulator than on another.

Is it possible to make this script work for Vero?

I have no clue if it works on Vero. I don’t have one.
As the RetroPie people optimize their software for the raspberry video and audiohardware, I don’t think it will work out of the box.

I tried to compile it manually but there are some dependencies that I could not work out. I will stick with my Pi for the time being.
Anyway, thanks for a great script! Works great at my Pi!

You could try to build retroarch and emulationstation only.

Can’t compile PS3 controller drivers. Sixad terminated with errors:

osmc@osmc:~/RetroPie-Setup/tmp/build/ps3controller/sixad$ make
mkdir -p bins
g++ -O2 -Wall -Wl,-Bsymbolic-functions sixad-bin.cpp bluetooth.cpp shared.cpp textfile.cpp -o bins/sixad-bin `pkg-config --cflags --libs bluez` -lpthread -fpermissive
/bin/sh: 1: pkg-config: not found
sixad-bin.cpp: In function 'int main(int, char**)':
sixad-bin.cpp:84:20: warning: taking address of temporary [-fpermissive]
/tmp/ccXXZExL.o: In function `get_sdp_device_info(bdaddr_t const*, bdaddr_t const*, hidp_connadd_req*)':
bluetooth.cpp:(.text+0x2b8): undefined reference to `sdp_connect'
bluetooth.cpp:(.text+0x2cc): undefined reference to `sdp_uuid16_create'
bluetooth.cpp:(.text+0x2d8): undefined reference to `sdp_list_append'
bluetooth.cpp:(.text+0x2e8): undefined reference to `sdp_list_append'
bluetooth.cpp:(.text+0x308): undefined reference to `sdp_service_search_attr_req'
bluetooth.cpp:(.text+0x314): undefined reference to `sdp_list_free'
bluetooth.cpp:(.text+0x320): undefined reference to `sdp_list_free'
bluetooth.cpp:(.text+0x32c): undefined reference to `sdp_uuid16_create'
bluetooth.cpp:(.text+0x338): undefined reference to `sdp_list_append'
bluetooth.cpp:(.text+0x348): undefined reference to `sdp_list_append'
bluetooth.cpp:(.text+0x368): undefined reference to `sdp_service_search_attr_req'
bluetooth.cpp:(.text+0x378): undefined reference to `sdp_list_free'
bluetooth.cpp:(.text+0x384): undefined reference to `sdp_list_free'
bluetooth.cpp:(.text+0x3b8): undefined reference to `sdp_close'
bluetooth.cpp:(.text+0x3e8): undefined reference to `sdp_data_get'
bluetooth.cpp:(.text+0x400): undefined reference to `sdp_data_get'
bluetooth.cpp:(.text+0x418): undefined reference to `sdp_data_get'
bluetooth.cpp:(.text+0x42c): undefined reference to `sdp_record_free'
bluetooth.cpp:(.text+0x440): undefined reference to `sdp_data_get'
bluetooth.cpp:(.text+0x450): undefined reference to `sdp_data_get'
bluetooth.cpp:(.text+0x4a8): undefined reference to `sdp_data_get'
bluetooth.cpp:(.text+0x4c4): undefined reference to `sdp_data_get'
bluetooth.cpp:(.text+0x4dc): undefined reference to `sdp_data_get'
/tmp/ccXXZExL.o:bluetooth.cpp:(.text+0x4f4): more undefined references to `sdp_data_get' follow
/tmp/ccXXZExL.o: In function `get_sdp_device_info(bdaddr_t const*, bdaddr_t const*, hidp_connadd_req*)':
bluetooth.cpp:(.text+0x548): undefined reference to `sdp_record_free'
bluetooth.cpp:(.text+0x590): undefined reference to `sdp_data_get'
/tmp/ccXXZExL.o: In function `create_device(int, int, int)':
bluetooth.cpp:(.text+0x6ec): undefined reference to `ba2str'
/tmp/ccXXZExL.o: In function `l2cap_accept(int, int, int, int, int)':
bluetooth.cpp:(.text+0x8fc): undefined reference to `ba2str'
/tmp/ccXXZExL.o: In function `do_connect(int, bdaddr_t*, bdaddr_t*, int)':
bluetooth.cpp:(.text+0xc6c): undefined reference to `ba2str'
bluetooth.cpp:(.text+0xd34): undefined reference to `ba2str'
/tmp/ccXXZExL.o: In function `do_search(int, bdaddr_t*, int)':
bluetooth.cpp:(.text+0xde8): undefined reference to `ba2str'
bluetooth.cpp:(.text+0xdf0): undefined reference to `hci_devid'
bluetooth.cpp:(.text+0xe38): undefined reference to `hci_inquiry'
bluetooth.cpp:(.text+0xec8): undefined reference to `ba2str'
bluetooth.cpp:(.text+0xefc): undefined reference to `bt_free'
bluetooth.cpp:(.text+0xf1c): undefined reference to `hci_get_route'
bluetooth.cpp:(.text+0xf2c): undefined reference to `hci_devba'
bluetooth.cpp:(.text+0xf4c): undefined reference to `bt_free'
collect2: error: ld returned 1 exit status
Makefile:10: recipe for target 'sixad_bins' failed
make: *** [sixad_bins] Error 1

So?
pkg-config is missing. Install it. It’s very obvious in the error.

Also there should be a binary build of this invluded in the retropie setup script.

Hi,

Thank you for this script.

Unfortunately it doesn’t work for me (and the dialog front-end doesn’t help to debug it…)

When I run it, the first error is

Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

So I have try apt-get -f install and got:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
 libsdl1.2debian : Depends: libts-0.0-0 (>= 1.0) but it is not installable
                   Depends: libxrandr2 but it is not installed
                   Depends: libxrender1 but it is not installed
 libsdl2 : Depends: libts-0.0-0 (>= 1.0) but it is not installable
           Depends: libxcursor1 (> 1.1.2) but it is not installed
           Depends: libxinerama1 but it is not installed
           Depends: libxrandr2 (>= 2:1.2.0) but it is not installed
           Depends: libxss1 but it is not installed
           Depends: libxxf86vm1 but it is not installed
           Depends: libudev0 but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

I guess I have to fix this first, but in case it would be useful, the next errors when I run the script are:

dpkg: dependency problems prevent configuration of libsdl2:armhf:
libsdl2:armhf depends on libts-0.0-0 (>= 1.0); however:
Package libts-0.0-0 is not installed.
libsdl2:armhf depends on libxcursor1 (>> 1.1.2); however:
Package libxcursor1 is not installed.
libsdl2:armhf depends on libxinerama1; however:
Package libxinerama1 is not installed.
libsdl2:armhf depends on libxrandr2 (>= 2:1.2.0); however:
Package libxrandr2 is not installed.
libsdl2:armhf depends on libxss1; however:
Package libxss1 is not installed.
libsdl2:armhf depends on libxxf86vm1; however:
Package libxxf86vm1 is not installed.
libsdl2:armhf depends on libudev0; however:
Package libudev0 is not installed.
    
dpkg: error processing package libsdl2:armhf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libsdl1.2debian:armhf:
libsdl1.2debian:armhf depends on libts-0.0-0 (>= 1.0); however:
Package libts-0.0-0 is not installed.
libsdl1.2debian:armhf depends on libxrandr2; however:
Package libxrandr2 is not installed.
libsdl1.2debian:armhf depends on libxrender1; however:
Package libxrender1 is not installed.
    
dpkg: error processing package libsdl1.2debian:armhf (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libsdl2:armhf
libsdl1.2debian:armhf

Did you cancel an installation before trying again?
As you said, you need to fix the apt errors first:

Try sudo apt-get remove libsdl2 libsdl1.2debian

then run the script again.

The libs that cause this error are normally installed beforehand

Maybe I should write some log in the background to make debugging easier.

Hi !
As soon as i click on the shortcut it says:
“emulationstation quit… starting kodi”
Is there something i did wrong?
I reinstalled the script a few times… still the same.

Thanks

Could you try to run emulationstation from commandline and see if there is any error please?
Is this a new RC2 image? I did not try to run the script on a fresh install since the update.

Hi mcobit,
Thanks for the script.

I would suggest the below fixes to the script:

  1. Add the public key to the repository that is being added: wget http://archive.raspbian.org/raspbian.public.key -O - | sudo apt-key add -

  2. Line 101: sudo apt-get remove stella libsdl1.2-dev libsdl2-2.0-0: I think it is missing “-y”. This causes script to hang when running for 2nd time.

  3. Lines 182-183 seem to be unnecessary as Line 185 overwrites the sources.list from the backup anyway

I don’t have access to a usb keyboard to get into commandline but I used SSH. Here’s what I get when I type “emulationstation”
osmc@osmc:~$ emulationstation
/usr/bin/emulationstation: line 15: /opt/retropie/supplementary/emulationstation/emulationstation: No such file or directory

Thanks for your help… i’M a total noob at this.