Homepage Forums RetroPie Project Everything else related to the RetroPie Project How can I install XBMC next to RetroPie?

Tagged: 

Viewing 30 posts - 1 through 30 (of 30 total)
  • Author
    Posts
  • #81338
    Anonymous
    Inactive

    I just started on a home media center project that will center around the RetroPie software. I have searched google and these forums on how to install XBMC in the emulator list, but I cannot find any useful information.

    I already tried this sequence of commands from here (edit: the “here” is a link, just realized it blended in with the text):

    sudo apt-get update
    sudo apt-get install python-software-properties pkg-config
    sudo apt-get install software-properties-common
    sudo add-apt-repository ppa:team-xbmc/ppa
    sudo apt-get update
    sudo apt-get install xbmc
    

    The problem starts when I get to the second apt-get update command it throws 404 errors for the PPA URLs. (All located at ppa.launchpad.net) It then says that it skipped the file.

    When I move on to the apt-get install xbmc command, it runs for a few seconds and then says that the dependencies are off, and I have a broken package.

    I’ve checked sources.list (only one non-XBMC entry) and the sources.list.d folder, which contained a file called “team-xbmc-ppa-wheezy.list. In that file there were two entries:

    deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu wheezy main
    deb-src http://ppa.launchpad.net/team-xbmc/ppa/ubuntu wheezy main
    

    Which to my understanding is normal. (?)

    Is there a way to install it like I’m talking about, and how can I do that? I’m relatively early into my project, so I wouldn’t mind having to reimage the SD card if it’s necessary.

    I’m relatively new to the command line, so step-by-step instructions would be helpful ;)

    Thanks!

    #81356
    shywolf28
    Participant

    To add xmbc start by adding this, store at /etc/apt/sources.list.d/mene.list

    deb http://archive.mene.za.net/raspbian wheezy contrib

    improt the key

    sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-key 5243CDED

    then update

    sudo apt-get update

    finally install xbmc

    sudo apt-get install xbmc

    hope that helps

    #81377
    Anonymous
    Inactive

    I put the mene.list file in the folder you specified, with this being the contents:
    deb http://archive.mene.za.net/raspbian wheezy contrib

    I then ran the sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-key 5243CDED command, and it returned this mess:

    Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.jgacrfhbyc --trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg -key server keyserver.ubuntu.com -recv-key 5243CDED
    
    gpg: conflicting commands

    It looks like something messed up. What now?

    #81381
    Anonymous
    Inactive

    Aha! I figured it out. The other files I mentioned before that I had added were conflicting with the new files. It works now, thank you!

    One more thing: How would I go about adding XBMC to the emulation station menu? The only current way to do it is to type “xbmc” into the console. It would be nice to have a GUI-based thing to make it prettier.

    #81383
    shywolf28
    Participant

    i installed it by going to home/pi/RetroPie/roms and creating a folder named apps

    then edit sudo nano /etc/emulationstation/es_systems.cfg and add this at the end of the </systemlist>

    <system>
    <fullname>Apps</fullname>
    <name>apps</name>
    <path>~/RetroPie/roms/apps</path>
    <extension>.sh .SH</extension>
    <command>%ROM%</command>
    <platform>pc</platform>
    <theme>apps</theme>
    </system>

    next creat and edit sudo nano xbmc.sh

    #!/bin/bash
    sudo xbmc

    put this script xbmc.sh in the apps folder you created above

    sudo reboot and it should be on your emulationstaion carousel

    hope that helps

    #81387
    Anonymous
    Inactive

    Thanks for the reply!

    Nearly there… It’s now in emulationstation, but it seems there’s a permissions error on the xbmc.sh file. I’m getting an error:
    sh: 1: home/pi/retropie/roms/apps/xbmc.sh: Permission Denied

    The contents of the xbmc.sh file is exactly as you posted:

    #!/bin/bash
    sudo xbmc

    Any ideas?

    #81388
    shywolf28
    Participant

    yeah you need to add permission to it, easiest way to do it is go to winscp navigate to the xbmc.sh and open up terminal and run

    sudo chmod +x xbmc.sh

    that should do it..

    #81389
    muffy
    Participant

    what should i type in es_systems.cfg if i want a navigation like this:

    https://imagizer.imageshack.us/v2/912x684q90/906/WzVwzY.jpg

    so a direct navigation to xbmc without a subfolder.

    #81390
    shywolf28
    Participant

    as far as i know, you have to still have a subfolder to go into it..even though it says xbmc media player, once you click on it, it will take you to the subfolder again.

    #81391
    shywolf28
    Participant

    this is how i have mine setup

    http://www.shywolf28.com/random.html

    #81402
    Anonymous
    Inactive

    Works perfectly now, thank you :)

    #81403
    shywolf28
    Participant

    Glad I could help

    #81485
    brenolsaraiva
    Participant

    Doesn’t work for me, could help me?

    
    pi@raspberrypi ~ $ sudo vi /etc/apt/sources.list.d/mene.list
    pi@raspberrypi ~ $ sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-key 5243CDED
    Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.ky6dUfF0J1 --trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg –keyserver keyserver.ubuntu.com –recv-key 5243CDED
    usage: gpg [options] [filename]
    pi@raspberrypi ~ $ sudo apt-get update
    Ign http://ppa.launchpad.net wheezy Release.gpg
    Hit http://archive.raspberrypi.org wheezy Release.gpg
    Hit http://raspberrypi.collabora.com wheezy Release.gpg
    Hit http://mirrordirector.raspbian.org wheezy Release.gpg
    Ign http://ppa.launchpad.net wheezy Release
    Get:1 http://archive.mene.za.net wheezy Release.gpg [198 B]
    Hit http://raspberrypi.collabora.com wheezy Release
    Hit http://mirrordirector.raspbian.org wheezy Release
    Hit http://archive.raspberrypi.org wheezy Release
    Get:2 http://archive.mene.za.net wheezy Release [4,493 B]
    Ign http://archive.mene.za.net wheezy Release
    Hit http://raspberrypi.collabora.com wheezy/rpi armhf Packages
    Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages
    Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
    Hit http://archive.raspberrypi.org wheezy/main armhf Packages
    Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
    Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
    Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en_GB
    Get:3 http://archive.mene.za.net wheezy/contrib armhf Packages [8,777 B]
    Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en
    Ign http://archive.mene.za.net wheezy/contrib Translation-en_GB
    Ign http://archive.mene.za.net wheezy/contrib Translation-en
    Err http://ppa.launchpad.net wheezy/main Sources
      404  Not Found
    Err http://ppa.launchpad.net wheezy/main armhf Packages
      404  Not Found
    Ign http://ppa.launchpad.net wheezy/main Translation-en_GB
    Ign http://ppa.launchpad.net wheezy/main Translation-en
    Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB
    Ign http://archive.raspberrypi.org wheezy/main Translation-en
    Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB
    Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
    Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_GB
    Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
    Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB
    Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
    Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB
    Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
    Fetched 13.5 kB in 15s (851 B/s)
    W: GPG error: http://archive.mene.za.net wheezy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7982180D5243CDED
    W: Failed to fetch http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/dists/wheezy/main/source/Sources  404  Not Found
    
    W: Failed to fetch http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/dists/wheezy/main/binary-armhf/Packages  404  Not Found
    
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    pi@raspberrypi ~ $ sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-key 5243CDED
    Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.gNqy5steKj --trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg –keyserver keyserver.ubuntu.com –recv-key 5243CDED
    usage: gpg [options] [filename]
    pi@raspberrypi ~ $
    #81494
    shywolf28
    Participant

    you probably have old files there that you had downloaded before that are affecting the installation, i know thats what happened to me the first time i did it, i had to restore my image and start new again, that fixed it for me

    #81572
    brenolsaraiva
    Participant

    Perfectly, you are correct.

    Is possible set a XBMC image in the APP? looks like this https://imagizer.imageshack.us/v2/912x684q90/906/WzVwzY.jpg

    I can’t remove a submenu.

    Thanks

    #81574
    Anonymous
    Inactive

    Yes, in fact, it is! And quite easy as well. You need to create a theme for XBMC. In /etc/emulationstation/themes/simple/ create a new folder called apps (or whatever you named your folder when adding start.sh). Inside that folder, create another folder (art) and an XML file called theme.xml. Here, you can copy and paste code from other themes. Here is my theme.xml if you are interested:

    <theme>
        <formatVersion>3</formatVersion>
        <include>./../simple.xml</include>
    
    	<view name="system">
    
    		<image name="background" extra="true">
    			<path>./art/XBMC_blur.png</path>
    		</image>
    
    		<image name="logo">
    			<path>./art/XBMC_Logo.svg</path>
    			<maxSize>0.90 0.2</maxSize>
            	</image>
    		
    		<helpsystem name="help">
    			<textColor>ffffff66</textColor>
    			<iconColor>ffffff66</iconColor>
    		</helpsystem>
    		
    	</view>
    
    	<view name="basic, detailed">
    	
    		<text name="system_name_1" extra="true">
    			<text>XBMC</text>
    			<forceUppercase>1</forceUppercase>
    			<size>0.45 0.08</size>
    			<pos>0.527 0.01</pos>
    			<color>7b7d7f</color>
    			<fontPath>./../art/OPENSANS-LIGHT.TTF</fontPath>
    			<fontSize>0.055</fontSize>
    			<alignment>right</alignment>
    		</text>
    		
    		<text name="system_name_2" extra="true">
    			<text>Media Center</text>
    			<forceUppercase>0</forceUppercase>
    			<size>0.45 0.08</size>
    			<pos>0.527 0.07</pos>
    			<color>7b7d7f</color>
    			<fontPath>./../art/OPENSANS-LIGHT.TTF</fontPath>
    			<fontSize>0.055</fontSize>
    			<alignment>right</alignment>
    
    		</text>
    
    		<image name="logo">
    			<path>./art/XBMC_Logo.svg</path>
    			<pos>0.025 0.079</pos>
    			<maxSize>0.90 0.2</maxSize>
    			<origin>0 0.5</origin>
    		</image>
    
    	</view>
    
    	<view name="basic">
    	
    		<textlist name="gamelist">
    			<pos>0.025 0.22</pos>
    			<size>0.950 0.68</size>
    			<alignment>center</alignment>
    			<horizontalMargin>0.01</horizontalMargin>
    		</textlist>
    		
    	</view>
    
    	<view name="detailed">
    	
    <!-- <measuring rectangle 
    		<image name="measure" extra="true">
    			<pos>0.025 0.6</pos>
    			<origin>0 0</origin>
    			<size>0.125 0.301</size>
    			<path>./../art/white.png</path>
    			<color>ff00ff</color>
    		</image> 
    -->
    
    		<image name="md_image">
    			<pos>0.025 0.22</pos>
    <!-- 			<size>0.124 0.301</size>
     -->			<maxSize>0.124 0.301</maxSize>
    			<origin>0 0</origin>
    		</image>
    		
    		<text name="md_lbl_rating">
    			<pos>0.176 0.21</pos>
    		</text>
    		
    		<text name="md_lbl_releasedate">
    			<pos>0.176 0.25</pos>
    		</text>
    		
    		<text name="md_lbl_developer">
    			<pos>0.176 0.29</pos>
    			<size>0.133 0.04</size>
    		</text>
    
    		<text name="md_lbl_publisher">
    			<pos>0.176 0.33</pos>
    			<size>0.133 0.04</size>
    			</text>
    		
    		<text name="md_lbl_genre">
    			<pos>0.176 0.37</pos>
    		</text>
    		
    		<text name="md_lbl_players">
    			<pos>0.176 0.41</pos>
    		</text>
    
    		<text name="md_lbl_lastplayed">
    			<pos>0.176 0.45</pos>
    		</text>
    
    		<text name="md_lbl_playcount">
    			<pos>0.176 0.49</pos>
    		</text>
    		
    		<text name="md_playcount">
    			<pos>0.309 0.49</pos>
    		</text>
    
    		<datetime name="md_lastplayed">
    			<pos>0.309 0.45</pos>
    		</datetime>
    		
    		<text name="md_players">
    			<pos>0.309 0.41</pos>
    		</text>
    		
    		<text name="md_genre">
    			<pos>0.309 0.37</pos>
    			<size>0.24 0.04</size>
    		</text>
    
    		<text name="md_publisher">
    			<pos>0.309 0.33</pos>
    			<size>0.24 0.04</size>
    		</text>
    		
    		<text name="md_developer">
    			<pos>0.309 0.29</pos>
    			<size>0.24 0.04</size>
    		</text>
    		
    		<datetime name="md_releasedate">
    			<pos>0.309 0.25</pos>
    		</datetime>
    		
    		<rating name="md_rating">
    			<pos>0.309 0.216</pos>
    			<size>0.028 0.028</size>
    			<filledPath>./../art/star_filled_spacing.svg</filledPath>
    			<unfilledPath>./../art/star_hollow_3_spacing.svg</unfilledPath>
    		</rating>
    		
    		<text name="md_description">
    			<size>0.52 0.3</size>
    			<pos>0.025 0.577</pos>
    		</text>
    		
    		<textlist name="gamelist">
    			<pos>0.615 0.22</pos>
    			<size>0.359 0.68</size>
    			<alignment>left</alignment>
    			<horizontalMargin>0.01</horizontalMargin>
    		</textlist>
    
    	</view>
    

    You can see that it links to a few other images in the art folder, XBMC_Blur and XBMC_Logo. The blur is the background image for the menu screen, and the logo (SVG) is for the apps folder logo. I have it slightly off positioned because I like the look of it, but you can change it if you want. You can probably find a vector logo online, if you don’t have it already, and you can choose whichever background you want in place of XBMC_blur.png. I have the default XBMC blue background.

    #81577
    shywolf28
    Participant

    that answers that, glad everyone is helping out

    #81636
    muffy
    Participant

    hey.. i finally got installed xbmc next to retropie.

    but if i want close xbmc, it just reboots to xbmc and i dont get to emulationstation anymore.

    any suggestions ?

    #81637
    Anonymous
    Inactive

    Hmm… I’m not sure exactly why this might be happening.. I had the problem with XBMC crashing when I hit exit, but that fixed itself when I started running from emulationstation (not by running the XBMC command). If you haven’t added it to the emulationstation list yet, maybe try that?

    #81643
    shywolf28
    Participant

    you have to add retropie to the advance launcher in order to reboot straight into emulationstation..thats how i got mine to work

    #81646
    muffy
    Participant

    can you tell me, how i can do this ?

    #81648
    shywolf28
    Participant

    I am dualbooting with Raspbmc, if thats how you are doing yours, then follow this way: We need to install advance launcher, two ways of doing this one you can go to terminal and type
    wget http://www.gwenael.org/Repository/repository.angelscry.xbmc-plugins/repository.angelscry.xbmc-plugins-1.2.2.zip

    or download angelcry’s repository and do it through there, assuming you know how to install add ons..

    First create RetroPie.sh(just copy that one that is attached and save it to home/pi/…..

    Make it executable

    sudo chmod +x RetroPie.sh

    Now open Advanced Launcher

    Select Default>>Standalone Launcher >>Home folder >> RetroPie.sh
    Leave Application Arguments Blank, set the title as you wish, platform doesn’t matter, i chose Linux, i did not provide a thumbnail or fan art (just select OK)

    With that done I recommend you add the newly created launcher to your favorites to avoid having to dig for it every time you want to switch.

    next create a new directory: sudo nano /media/RECOVERY/autoboot.txt
    and type : boot_partition=5

    sudo reboot and you should have it…let me know how it goes

    #81650
    shywolf28
    Participant

    this is how my looks

    #82746
    jaime
    Participant

    Hi, need your help guys,

    I followed this post to succesfully install xbmc in the retropie menu, i made a retro cabinet with arcade joystick and buttons and im using the adafruit retogame.c to map gpio as keyboard, xbmc doesnt read the arcade buttons, it only works with a usb connected keyboard.

    Tryed to config xbmc with keyboard mapper add on, but it seems the retrogame.c its not running.

    Thanks for your help

    #82747
    Anonymous
    Inactive

    Hi! I had trouble getting my controller to work, just a regular USB SNES controller. I didn’t think about it all that much, since I doubt I’ll be using XBMC much, but I would be interested in a solution as well. :)

    #84627
    mzeyrek
    Participant

    I’ve shared my experience using with dual boot in mzeyrek.wordpress.com blog. You maybe interested

    #84697
    randomhero78
    Participant

    Blue dragon Or anyone for that matter. what files were conflicting? I am stuck at that spot. Thanks

    #84725
    Anonymous
    Inactive

    What I had to do (if I remember correctly) is I had to visit the sources.list and sources.list.d places and remove any XBMC related entries. My original entries were invalid, and they were conflicting with shy wolf’s instructions.

    But unless you ran the same incorrect commands as I, I doubt that’s your problem too. Would you mind posting what you’ve done so far, if removing the entries and using shy wolf’s instructions doesn’t work? Also, have you tried launching xbmc by running the xbmc command?

    Let me know if you need anything else!

    #84729
    randomhero78
    Participant

    Just went ahead and ran it it works fine as far as I can tell I was just thrown by getting the same message as you did when I didn’t do those things you did so didnt want to proceed and mess it all up. Thanks for responding

    #85637
    vincegun
    Participant

    Hello! I’m trying to get all of this to work and have mostly had success, except for one thing.

    Currently I can get to the point of this picture (https://www.petrockblock.com/wp-content/uploads/2014/09/20140922_150930.jpg?0f0c49) and can launch kodi. If I exit the program via the exit menu right away the system drops right back to emulationstation. However, if I play a relatively demanding file like… say… my 1080p avengers rip, the movie with halt every so often like it’s buffering and then when I stop the movie and quit kodi the screen will just hang with a black screen and not do anything.

    I’m guessing this is because of the additional load placed on the system due to launching kodi from emulationstation? If I run kodi by itself from another microsd card, everything is fine.

    I have two questions:

    1) Can I set a buffer size in kodi manually to make the playback smoother (I didn’t dig very deep to look for one and wouldn’t know where to start)? edit: Figured it out.
    2) This issue where the system just sits at a black screen after exiting kodi…. has anyone else experienced this, fixed it and would they care to share how you did this?

Viewing 30 posts - 1 through 30 (of 30 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.