Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

XBIAN + RetroPie
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
XBIAN + RetroPie
11th Oct, 2015, 07:30 AM
Post: #1
Lucifer Offline
Registered
Posts: 28
Joined: Jan 2014
Reputation: 1
XBIAN + RetroPie
Hello boys and girls.

Today I had a free day and I decided to do some work relate to XBIAN. I like XBIAN and I have been using it for the last year and one of the things I like is that is snapy ...

Few days back I bought myself an RPi2 and while I was browsing for optimal Media Center for it (I wanted to test something else, but I got back to XBIAN) I found the RetroPie ... The thought I had was - can't I have both?

Today, as I said, I had the time to make it happen ... and I did it after few hours of work.

The script is not foolproof and I have not tested all emulators ... and there are few small hitches, but I hope you can help me fix it.

This is the base install script (it should prepare the system):

Code:
echo "Adding REPOS!"
echo "Add raspbian"
echo "deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi" > /etc/apt/source.list

echo "Add collabora"
echo "deb http://raspberrypi.collabora.com wheezy rpi" > /etc/apt/source.list.d/collabora.list

echo "Add raspi"
echo "deb http://archive.raspberrypi.org/debian/ wheezy main" > /etc/apt/source.list.d/raspi.list


echo "Add keys"

wget http://mirrordirector.raspbian.org/raspbian.public.key -O - | apt-key add -
wget http://archive.raspberrypi.org/debian/raspberrypi.gpg.key -O - | sudo apt-key add -


echo "Update (We still have no key for collabora so allow unauthenticated)"
apt-get --allow-unauthenticated update

echo "Install all deps"
apt-get --allow-unauthenticated install -y libsdl1.2-dev \
unzip \
libsdl-ttf2.0-dev \
libboost-filesystem-dev \
libsdl-image1.2-dev \
libsdl-gfx1.2-dev \
libzip2 \
libzip-dev \
libudev-dev \
libxkbcommon-dev \
libboost-locale-dev \
libboost-date-time-dev \
libfreeimage-dev \
libeigen3-dev

#Try to install things that should not go
apt-get --allow-unauthenticated install -y libcurl4-openssl-dev \
libraspberrypi-dev \
libraspberrypi-doc \


echo "INSTALL GIT!!!"
apt-get install -y git dialog

Here I get the first and second snag:

I can't get the Collabora Public Key which forces me to use the --allow-unauthenticated.

Second snag is when I try to install libcurl4-openssl-dev
Terminal
libcurl4-openssl-dev : Depends: libcurl3 (= 7.38.0-4+deb8u2) but 7.37.1-1 is to be installed

After this is done - continue with RetroPie instructions (from here).

I used the binary installation. Few hours later we have the working RetroPie ... now comes the hard part.

We need to add the following:

Code:
, /bin/openvt, /usr/sbin/service


to /etc/sudoers.d/xbian at the end of the line concerning xbian user.

Now the script that makes the work with the dynamical switching between KODI and EmulatorStation (I used scrip from project called RetroSMC):

Code:
#!/bin/bash

sudo openvt -c 7 -s -f clear

sudo openvt -c 7 -f "$(emulationstation)" &

sleep 8

sudo service xbmc stop

while [ true ]; do
        VAR1="$(pidof /opt/retropie/supplementary/emulationstation/emulationstation)"

        if [ ! "$VAR1" ]; then
                sudo openvt -c 7 -s -f clear
                killall emulationstation
                sudo service xbmc start
                echo "Emulation station down. Strating KODI"
                exit
        else
                sleep 2
        fi
done
exit

Here are the other snags:

When I stop KODI my TV goes offline (KODI and CEC - I need to disable it but I can't find a way).
And ... I don't know how to add the script to the skin I use ... preferably I want to add it next to shutdown button.

Feel free to use this and please help me fix the issues and make it seamless (I will add videos tomorrow)

There are few thing I need to do - I will add roms and BIOS to SAMBA share.

And I have one more question - How can I create an IMG that has the free space striped out?
Visit this user's website Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
XBIAN + RetroPie - Lucifer - 11th Oct, 2015 07:30 AM
RE: XBIAN + RetroPie - sion.zaphod - 10th Feb, 2016, 09:34 PM
RE: XBIAN + RetroPie - Lucifer - 11th Apr, 2016, 12:57 AM
RE: XBIAN + RetroPie - Nachteule - 11th Apr, 2016, 01:43 AM
RE: XBIAN + RetroPie - Lucifer - 11th Apr, 2016, 09:02 AM
RE: XBIAN + RetroPie - Lucifer - 21st Apr, 2016, 02:34 AM
RE: XBIAN + RetroPie - flaviote - 26th May, 2016, 12:08 PM
RE: XBIAN + RetroPie - Tozzi - 9th Jan, 2017, 06:45 AM
RE: XBIAN + RetroPie - Nachteule - 10th Jan, 2017, 02:04 AM
RE: XBIAN + RetroPie - Tozzi - 10th Jan, 2017, 07:36 AM
RE: XBIAN + RetroPie - Nachteule - 10th Jan, 2017, 07:42 AM
RE: XBIAN + RetroPie - Tozzi - 10th Jan, 2017, 08:27 AM
RE: XBIAN + RetroPie - Nachteule - 10th Jan, 2017, 08:47 AM
RE: XBIAN + RetroPie - Tozzi - 10th Jan, 2017, 08:52 AM
RE: XBIAN + RetroPie - Tozzi - 10th Jan, 2017, 11:11 AM
RE: XBIAN + RetroPie - Nachteule - 10th Jan, 2017, 11:24 AM
RE: XBIAN + RetroPie - Tozzi - 10th Jan, 2017, 12:09 PM
RE: XBIAN + RetroPie - Nachteule - 11th Jan, 2017, 12:04 AM
RE: XBIAN + RetroPie - Tozzi - 11th Jan, 2017, 03:08 AM
RE: XBIAN + RetroPie - Tozzi - 11th Jan, 2017, 08:51 AM
RE: XBIAN + RetroPie - Nachteule - 11th Jan, 2017, 08:53 AM
RE: XBIAN + RetroPie - Dzintars Bergs - 25th Jan, 2017, 05:20 AM
RE: XBIAN + RetroPie - Nachteule - 25th Jan, 2017, 05:36 AM
RE: XBIAN + RetroPie - Dzintars Bergs - 25th Jan, 2017, 06:51 AM
RE: XBIAN + RetroPie - Nachteule - 25th Jan, 2017, 06:55 AM
RE: XBIAN + RetroPie - mithito - 25th Apr, 2017, 06:36 AM
RE: XBIAN + RetroPie - Nachteule - 25th Apr, 2017, 06:41 AM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
Rainbow [SOLVED] Xbian with working: Sopcast and XSopcast, Retropie and Rom Collection Browser JuStAdsor 4 16,503 14th May, 2014 06:47 AM
Last Post: pvlietst

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 30th May, 2025, 02:55 PM Powered By MyBB, © 2002-2025 MyBB Group.