retropie-osmc icon indicating copy to clipboard operation
retropie-osmc copied to clipboard

semi-official OSMC support

Open joolswills opened this issue 10 years ago • 14 comments
trafficstars

I am one of the main RetroPie devs.

I have installed OSMC, and have been adjusting the system a bit for "improved" compatibility.

Still a work in progress, but it should enable you to have to do less work in your helper/installer script.

Things like mapping dependencies like libraspberrypi-dev to rbp-userland-dev-osmc

removing the system sdl2 to replace with ours.

and so on.

joolswills avatar Sep 10 '15 19:09 joolswills

I see you have started another project - so may not be relevant anymore, but since I wanted to add jessie support (build from source only), it made sense to put in some OSMC workaround too. Cheers.

joolswills avatar Sep 10 '15 19:09 joolswills

Thanks for that. As you already saw, I started another project because changing of dependencies of retropie crashed the osmc installation pretty hard when retropie packages removed system relevant packages for osmc.

I now use a slightly modified retropie image in a chroot to get full functionality. That works pretty well and you can even update it without risking to destroy your system.

Thanks again for your efforts. May I contact you if I have some questions or problems regarding your scripts?

mcobit avatar Sep 10 '15 19:09 mcobit

Once my changes are done / tested, there shouldn't be any dependency problems - might be worth exploring - saves having a system inside a system. Although the chroot has the advantages of wheezy binaries should work nicely etc.

you can email me if you have questions, and I will help as much as time allows. for actual retropie-setup bugs you can post on the bugtracker - and the forum is useful for configuration help etc.

joolswills avatar Sep 10 '15 19:09 joolswills

That's nice. You can ping me if you are ready. I can test, too and adjust my scripts to switch between kodi and emulationstation.

mcobit avatar Sep 10 '15 19:09 mcobit

Feel free to test now - things like sdl1 / sdl2 build/install ok now. fixed a few modules up, and emulationstation / retroarch both build and run. There may be emulators still that don't know due to newer gcc or missed dependency issues - i've not tested everything yet.

joolswills avatar Sep 10 '15 23:09 joolswills

You used a raspberry pi 2, right? That uses mainline debian instead of raspbian.

mcobit avatar Sep 11 '15 11:09 mcobit

I use an emulated chroot dev environment - but I have also tested building various stuff on OSMC on a rpi2 - the dependencies are basically the same anyway between raspbian jessie / mainline debian jessie

joolswills avatar Sep 11 '15 11:09 joolswills

if you haven't tested yet might be worth holding on - just changing the sdl2 packages so they satisfy jessie dependencies - otherwise it's not possible to apt-get install stella and have our sdl2 installed.

joolswills avatar Sep 11 '15 12:09 joolswills

Ok. I did not test as ny freetime is limited right now anyway. I think I also didn't find a tslib package in jessie.

Another problem is that when I want to switch between Kodi and emulationstation, I will always have to ship a custom version of the emulationstation script as yours restarts if es is shut down. I think for now the chroot is a more complete and safer solution but of course it will be great to have it working alongside without hassle. It would also safe a lot of diskspace because there is no need for dual libraries, binaries etc.

mcobit avatar Sep 11 '15 12:09 mcobit

sdl1/2 doesn't need libts and works fine without.

the restart es is minor - you can always launch it directly without launching via the script. I may add a config within retropie for the restart behaviour also.

But if you prefer to work with a chroot install, then that's also fine.

joolswills avatar Sep 11 '15 12:09 joolswills

Well, I also do other stuff in that script, like for some installations on a nfs share it needs the locale of the share to be created... But that is a really rare case. Did I invite you to read the forum topic already? https://discourse.osmc.tv/t/howto-retrosmc-retrogaming-on-osmc/6671

mcobit avatar Sep 11 '15 12:09 mcobit

Everything builds now except xroar, due to OSMC lacking /opt/vc/src (libraspberrypi-doc) - which I can fix by shipping those files separately.

joolswills avatar Sep 14 '15 16:09 joolswills

xroar is now fixed, so all the components should now build correctly.

joolswills avatar Sep 14 '15 16:09 joolswills

Thanks. Will try to build from source now.

mcobit avatar Sep 15 '15 09:09 mcobit