Running Emulators on OpenELEC

Being able to run emulators on an OpenELEC computer can be tricky. It takes a fair bit of knowledge from several different areas to setup. I’m going to try to give a good overview of putting all together into a working system. By the end you’ll have a setup that allows you to play all of your old games from the comfort of your couch.

Something to consider, the build of RetroArch I’m using doesn’t have emulators for a lot of systems. Here is a list of what it can emulate.

I’m going to break this up into sections. I’m going to assume you have OpenELEC installed and working.

Getting ROMs on OpenELEC

Be sure to organize your ROMs into folders based on their console. EG: put your SNES ROMs in a snes folder, put your NES ROMs into a nes folder, and so on.

By far the easiest way to get ROMs onto your OpenELEC computer is to put them onto a flash drive and plug it in. Once plugged in use XBMC to add a new file source pointing to the flash drive.

Go to Settings and then File Manager

Go to Settings and then File Manager

Select Add Media and then Browse

Select Add Media and then Browse

Select Root File System then Media. Your drive will be one of the folder in there. Select it.

Select Root File System then Media. Your drive will be one of the folders in there. Select it.

Once you've selected your flash drive, click OK.

Once you’ve selected your flash drive, click OK.

The file source is now added and your ROMs are now easily accessible by OpenELEC/XBMC.

Getting RetroArch working on OpenELEC

Our hero and savoir, zaggash, has written a RetroArch addon for OpenELEC which makes installing all of the emulators a breeze. First thing we need to do is download a copy of the addon and install it on OpenELEC. Go to Zaggash’s site and download build appropriate for your computer.  For instance I use the Generic build. Take that file and put it on the flash drive from the previous step and then plug the flash drive back into your OpenELEC computer. Now we need to install it.

Go back to System, then select Addon Browser. From there select Install from Zip file. Navigate to the source we created in the previous step and install the emulator.retroarch ZIP file.

Now we need to add another file source that points to RetroArch. Go back to System->File Manager->Add Source->Browse. This time select Home Directory->.xbmc->addons->emulator.retroarch->bin. Call the new source Emulator Bin.

Getting ROM Collection Browser working on OpenELEC

ROM Collection Browser is also available as an addon. It gives you a nice menu in XBMC to launch your ROMS from. You can install it via addon manager without doing anything special.

Once installed start the addon. We’ll need to add your ROMs. Here is how I would do it for Game Boy Advance ROMs.

Start ROM Collection Browser. Hit the Menu button on your remote and select Add Rom Collection->Scrape game info and artwork online->Game Boy Advance. Now we need to select where RetroArch is, open your Emulator Bin source and select retroarch.sh.

Now it will ask you for any arguments RetroArch needs to start. Change it to: vba_next “%ROM%”

Note that vba_next is the core from RetroArch. If you’re adding different game systems the core name will change. See here for a complete list of cores: http://sourceforge.net/p/zaggxbmcaddons/wiki/Core%20List/

Once it is done scrapping the artwork for your games you should be able to launch them with the remote.

Getting a controller to work on OpenELEC

For me, this was the toughest part of the setup. I tried numerous controllers and spent a lot of time banging my head against the wall. In the end I settled on a corded SNES USB controller.

Wireless XBOX 360 controller: An XBOX 360 controller will actually work just by plugging it in, problem is that the drivers included with OpenELEC are not able to control the LED lights on the controller. Where as on an XBOX the lights will go solid in a spot to represent which player you are, on OpenELEC they continue to flash, forever. If you can deal with the flashing its all good. I’ve had thoughts of taking the controller apart and removing the LEDs.

PS3 Dual Shock 3 Sixaxis: I couldn’t get the controller to work either wired or in Bluetooth mode. In both cases the OS detects it as a HID device, but never as a joystick.

Random corded USB controllers: I’ve had good luck with my SNES USB, old Microsoft Sidewinder, and Logitech USB controllers. All of which only needed to be plugged in to work.

Once you’ve made a choice on controllers you have to let RetroArch know about it. You’ll need to SSH into your OpenELEC computer. The login is root and the password is openelec.

Once logged in:

cd .xbmc/addons/emulator.retroarch/bin/
./retroarch-joyconfig

From there follow the prompts to hit the buttons on your controller. If you don’t have a button it asks for, just hit any button. If says anything about not finding a joystick, you’re in trouble.

Once down you’ll get a bunch of lines mapping buttons to action, you’ll want to copy all of this and put it at the bottom of /storage/emulators/retroarch/config/retroarch.cfg

Also at the bottom of your retroarch.cfg file add:

input_enable_hotkey_btn = 6
input_exit_emulator_btn = 7

Replace 6 and 7 with numbers representing the buttons on your controller you want to hit that will exit a ROM you’re playing. On my controller 6 and 7 represent the Select and Start buttons.

… and that’s it. You should now be able to start Rom Collection Browser, find a game with the remote, start it, play it with a controller, then return to XBMC by hitting two buttons on the controller.

 

87 comments

  1. Great guide but I have 1 problem: I cannot start the retroarch-joyconfig from ssh.

    I’m using putty to connect (works fine). I can cd into the mentioned folder (.xbmc/addons/emulator.retorarch/bin/) but the next command: ./retroarch-joyconfig does not work for me. I started the command separate from the cd command, but I get ”
    -sh: ./retroarch-joyconfig: Permission denied
    “. Something I’m doing wrong? I have root permissions, so that should be fine.

  2. Hi,

    thank you for the guide. Always appreciated when folk take the time to make these guides. I think I have followed the guide through pretty closely but unfortunately I cant seem to get it working. I have a working Openelec 3.10.20 system booting off a 32GB flash drive on 5yrs old AsRock Ion 330.

    After running through your guide when I open up rom Collection Browser I see the two Game boy Advance roms listed that I downloaded as .zip files. when I select them nothing happens. I wish I could give more details but I cant think of anything else to say.

    Have you got any ideas?

    Many thanks,

    Hugh

    1. I’m not entirely sure but you may want to extract those zips so you’re only dealing with the .gba file.

      The first step I would recommend is to figure out if it is an XBMC/Rom Collection Browser problem, or a problem with Retroarch. You can do this by trying to launch RetroArch via SSH as described here: http://sourceforge.net/p/zaggxbmcaddons/wiki/Launch%20a%20game/

      If that works you know you have an XBMC problem. If it doesn’t you know its RetroArch

  3. dean,

    I unzipped the files to give the .gba files and re-scanned.

    I SSH’d into the openelec system from putty on my windows 8 laptop. I typed in the command:

    OpenELEC:~ #
    /storage/.xbmc/addons/emulator.retroarch/bin/retroarch.sh vba_next /
    storage/emulators/GBA/Zelda – The Minish Cap.gba

    This gave the output…
    Usage: retroarch.sh core /path/to/romfile
    Example: retroarch.sh snes9x /storage/mario.sfc

    Available cores:
    bnes
    bsnes_accuracy
    bsnes_balanced
    bsnes_performance….and so on

    I don’t think that Openelec is the issue (I could be wrong) as it is running pretty stable and it is a read only OS. Sorry to keep coming back to you but if anything jumps out at you as being wrong please advise. In the mean time I will keep playing with it and see how I get on.

    thakns,

    Hugh

  4. Hello dean thanks dpfor taking the time to compile this walkthrough, wondering if you can help me as im a tad stuck, im stuck at this point

    “Now we need to add another file source that points to RetroArch. Go back to System->File Manager->Add Source->Browse. This time select Home Directory->.xbmc->addons->emulator.retroarch->bin. Call the new source Emulator Bin.”

    There is no home directory for me to select in order to continue the file path, i am runnin openelec on an old asus notebook on a live boot sd card, i have the rom browser working and all the art work for my n64 and snes roms but im assuming the bit i cant do is whats stopping me from being abke to launch? Any light you can shed on this will be greatfully recieved! Thank you

    1. Instead of Home Directory you can browse to /storage/xbmc/ddons/emulator/retroarch/bin instead.

      This version of RetroArch does not have a core that supports N64 emulation.

  5. Hi,

    I’m glad to see this tuto online and I will paste it on the TOP of my retroarch post.
    Thx for the visibility 😉

    Cheers.

  6. Hi,
    I cant find -> “xbmc->addons->emulator.retroarch->bin” in the Home directory…
    and i cant find the file path “/storage/xbmc/addons/emulator/retroarch/bin” please help me 🙁

      1. I installed zaggashs retroarch from .zip file. What do you mean with enabled? I can find it installed in main menu in programms. sorry for my poor english.
        thank you very much

    1. Just typ it in manually. As .xbmc (see the dot!) is a hidden directory you don’t see it.
      So it should be:
      /storage/.xbmc/addons/emulator/retroarch/bin

  7. Nice guide, thanks. I’m having problems downloading artwork, but I reckon it’s my dodgy home plug/internet setup.

    Anyhoo, for anyone having trouble locating the “.XBMC’ folder, maybe you need to turn on “Show hidden files and directories” (System > Appearance > File Lists)

  8. so… cannot find joystick, in trouble…. what then? I know these snes usb’s work in retropie. So what could be the issue with this?

    1. That’s a tough one. I had to keep trying every controller I could find until I could find one that works. It’s not so much finding one that works with RetroArch as it is finding one that works in the version of Linux used by OpenELEC.

  9. Hello,

    i get the following error (it doesnt matter which core i try)

    OpenELEC:~/.xbmc/addons/emulator.retroarch/bin # retroarch.sh snes9x_next “/storage/lost+found/snes/Super M
    ario Allstars (E).smc”
    /storage/.xbmc/addons/emulator.retroarch/bin/retroarch: line 5: í: not found
    /storage/.xbmc/addons/emulator.retroarch/bin/retroarch: line 5: IYõLzú-°´]VZ
    /storage/.xbmc/addons/emulator.retroarch/bin/retroarch: line 5: ,#®c¼q2[: not found
    /storage/.xbmc/addons/emulator.retroarch/bin/retroarch: line 5: »^a
    ~¾sMª=w not found
    /storage/.xbmc/addons/emulator.retroarch/bin/retroarch: line 5: can’t open ëÍÙ: no such file
    /storage/.xbmc/addons/emulator.retroarch/bin/retroarch: line 5:ELF: not found
    Yytorage/.xbmc/addons/emulator.retroarch/bin/retroarch: line 6: _¡¢
    7O: not found
    /storage/.xbmc/addons/emulator.retroarch/bin/retroarch: line 7: syntax error: unexpected newline

    Can someone help me?

      1. Getting the similar error:

        OpenELEC:~/.xbmc/addons/emulator.retroarch/bin # retroarch.sh bsnes_performance
        /storage/emulators/Super_Mario_Allstars.smc
        /storage/.xbmc/addons/emulator.retroarch/bin/retroarch: line 5: í: not found
        /storage/.xbmc/addons/emulator.retroarch/bin/retroarch: line 5: IYõLzú-°´]VZ
        /storage/.xbmc/addons/emulator.retroarch/bin/retroarch: /storage/.xbmc/addons/emulator.retroarch/bin/retroarch: OpenELEC:~/.xbmc/addons/emulator.retroarch/bin # line 5: »^a
        ~¾sMª=w not found
        line 5: /storage/.xbmc/addons/emulator.retroarch/bin/retroarch: line 5: can’t open ëÍÙ: no such file
        /storage/.xbmc/addons/emulator.retroarch/bin/retroarch: line 5:ELF: not found
        Yytorage/.xbmc/addons/emulator.retroarch/bin/retroarch: line 6: _¡¢
        7O: not found
        /storage/.xbmc/addons/emulator.retroarch/bin/retroarch: line 7: syntax error: unexpected newline
        ,#®c¼q2[: not found

          1. The openelec build for raspberrypi is a bit different than the builds for other computers. I don’t believe retroarch is going to work unless specifically compiled for.

  10. To everybody who cant find find
    ->.xbmc->addons->emulator.retroarch->bin. in the Home Directory…

    you have to go at first to settings->appearance->file lists->show hidden files and directories

  11. I have some issues, i followed the installation guide step by step till the point “Getting a controller to work on OpenELEC”. Everytime when i want to start a scraped game in the rcb, the screen switch to the left screencorner in a small format and nothing happens… is it necessary to config a controller or can i play/test it with my keybooard ? I tried different snes cores but the problem is the same… please help me 🙁

  12. Hi,

    Thanks for this interesting post, however, I’m not able to launch my (Genesis) ROMs. Whenever I start one I receive an error (printed in xbmc.old.log)

    Unimplemented method: executehttpapi::executehttpapi(…)

    and then openelec restarts.

    Do you know anything about this?

    1. That error is because executehttpapi() was removed in the Frodo version of XBMC. Are you using an older version of Rom Collection Browser? Its best and easiest to install it via XBMC from the official repo.

        1. I think the issue is not due to “executehttpapi::executehttpapi(…)” ==> Rom Collection Browser had been updated to manage it since v1.0.6 (http://code.google.com/p/romcollectionbrowser/wiki/ChangeLog).

          They add try/except blocks in ~/.xbmc/addons/script.games.rom.collection.browser/resources/lib/launcher.py so that’s why we have this error in the log (first they call xbmc.executehttpapi(…) and then fallback to xbmc.executeJSONRPC(…)).

          In my logs, I have this:

          10:46:40 T:2886366304 NOTICE: RCB_INFO: emuParams: vba_next “%ROM%”
          10:46:40 T:2886366304 NOTICE: RCB_INFO: rom: /storage/ROMs/SuperNintendo/Mario.smc
          10:46:40 T:2886366304 NOTICE: RCB_INFO: No precmd created.
          10:46:40 T:2886366304 NOTICE: RCB_INFO: No postcmd created.
          10:46:41 T:2886366304 NOTICE: RCB_INFO: cmd: “/storage/.xbmc/addons/emulator.retroarch/bin/retroarch.sh” vba_next “/storage/ROMs/SuperNintendo/Mario.smc”
          10:46:41 T:2886366304 NOTICE: RCB_INFO: precmd:
          10:46:41 T:2886366304 NOTICE: RCB_INFO: postcmd:
          10:46:41 T:2886366304 NOTICE: RCB_INFO: launchEmu on non-xbox
          10:46:41 T:2886366304 NOTICE: RCB_INFO: screenMode: 1920×1080 @ 50.00 – Full Screen
          10:46:41 T:2886366304 NOTICE: RCB_INFO: Toggle to Windowed mode
          10:46:41 T:2886366304 ERROR: EXCEPTION: Unimplemented method: executehttpapi::executehttpapi(…)
          10:46:41 T:2886366304 NOTICE: RCB_INFO: launch emu
          10:46:41 T:2886366304 NOTICE: RCB_INFO: onAction: 7

          And then, the OS automatically reboots… =/

          1. @Dean Vaughan: it seems more an issue with RetroArch than with Rom Collection Browser.

            I add some logs into the .xbmc/addons/emulator.retroarch/bin/retroarch.sh
            My modified script => http://sharesend.com/a2suynal
            My logs => http://sharesend.com/1e71jbt9

            I see that :
            – the script is run
            – there is no PID for the retroarch process

            My version of RetroArch is the 3.1.3-1.
            I retrieved it from the site you recommend, i.e. http://sourceforge.net/projects/zaggxbmcaddons/files/Generic/

            1) Do you have an idea where the issue could be?
            2) What’s your version of RetroArch?

            Note 1: previous, I said that the OS reboots. It’s not the OS but XBMC because it’s killed by the retroarch.sh script.

            Note 2: I have performed “chmod +x *” in ~/.xbmc/addons/emulator.retroarch/bin folder.

        2. I did another modification in retroarch.sh script to get the return code from RetroArch (removing the & so that retroarch is not launch as a demoon) :

          $ADDON_DIR/bin/retroarch -c $ADDON_FILES/config/retroarch.cfg $EXTRAFLAG -L $ADDON_CORES/$1-libretro.so “$2”
          log “RetroArch returns code: ‘$?'”

          I get: RetroArch returns code: ‘2’

          However, I don’t manage to find the error code list for RetroArch and so, I don’t know what error code ‘2’ means…

  13. Is it possible to do auto script:
    chmod +x /storage/.xbmc/addons/emulator.retroarch/bin/*

    ?
    Maybe with autostart.sh?

      1. I am trying to figure out how to avoid using the command everytime i turn on OpenELEC?
        It’s seem that emulators aren’t working until i do the following:

        $ su
        Password: openelec
        $ chmod +x /storage/.xbmc/addons/emulator.retroarch/bin/*
        $ export LD_LIBRARY_PATH=’/storage/.xbmc/addons/emulator.retroarch/lib’

  14. Hey there,

    nice tutorial, however it doesn’t work on Gotham releases :-(. Any tips / hints to get it working (can’t install the zip with the emulator addon, dependencies not met)?

    Regards,

    Bert

    1. +1 Would love to try this but am getting the same “dependencies not met” when trying to install emulator.retroarch-3.1.6.

  15. hey,
    i got retroarch running trough shh without any problems,
    but i wont get roms loaded trough rom collection browser.
    any ideas?

    1. sorry got it working – strangly the title of the rom changed…
      it helps to look in the logs.
      for all how get problems do the same:
      here the command for watching the xbmc.log over ssh for rcb commands:
      tail -f xbmc.log | grep RCB

      i copyed the “cmd: ” line and tried to run it trough ssh and retroarch directly gave me the error: no rom found! Retroarch produce at least some real errors.
      thx anyway

  16. Hi and thanks for the great guide! I just got the NES core working but unfortunately I do not get any audio.

    RetroArch [ERROR] :: Failed to initialize audio driver. Will continue without audio. — error when launching from SSH.

    Any suggestions? Thanks.

  17. Dean, do you have a detailed walk through with arguments for retroarch/RCB xbmc install on a GBOX MX2 Midnight? Haven’t had any luck, been runnin emus from Android Apps

  18. Dean, I am running openelec 3.2.4. Do I need to update to a later build, because I do not have the same file path to the addon directory as you and when I get into the addon directory (root/usr/share/xbmc/addon/) retroarch is not there despite being installed and showing up in my program menu?

  19. So, random joysticks no longer work on OpenElec 4. It seems that they no longer include joystick drivers with the kernel. So you only get the xpad driver. Which is unfortunate, as I’ve got a dual connecting thing that does need a driver that comes by default with the kernel, and works on every other linux I’ve used 🙁

    1. That’s no good at all. I have not upgraded to Gotham yet, I was debating on staying with OpenELEC or moving to an Ubuntu and XBMC install, this puts me in the Ubuntu camp for sure.

  20. Hello everyone!
    I have searched anywhere but can’t find a solution to the following issue:
    MAME’s Roms doesn’t generate/read/use cfg files while using Advanced Launcher. Using the command line does by the way.

    I am using OpenElec 4.0.2, Advanced Launcher 2.5.2 and retroarch 3.2.4.2014-03-12.

    Thank you for reading this :cheer:

    1. hi finalmakerr,

      how did you manage to install retroarch on openelec version 4.0.2 .
      I am always getting error missing preconditions

      thanks for any information

  21. Hello!

    i am having a problem and cant find a solution enywhere, i followed your guide, everything installed with no problems, when i first ran retroarch from SSH the game ran fine but no audio, i changed HW 1,3 in the config file to 1,7 and audio is working now when i run from SSH but audio and video are really choppy, when i run the game from rom collection browser, xbmc stays on top and i can hear the game music, playing at normal speed, but cant see the title screen, any ideas?

  22. I installed openelec on an old laptop I had and used this to get emulators going. I use an xbox controller with some electrical tape over the LED!

  23. Anybody could help because psx-emu is crashing every time when starting game…

    I have system_directory = “~/emulators/retroarch/system

    and there I have psx binary files:

    -rwxrwxrwx 1 root root 524288 Jun 22 22:24 Scph5502.bin
    -rwxrwxrwx 1 root root 524288 Jun 22 22:24 Scph7000.bin
    -rwxrwxrwx 1 root root 524288 Jun 22 22:24 Scph7003.bin
    -rwxrwxrwx 1 root root 524288 Jun 22 22:33 bios.bin
    -rwxrwxrwx 1 root root 524288 Jun 22 22:00 scph1001.bin
    -rwxrwxrwx 1 root root 524288 Jun 22 22:24 scph101.bin
    -rwxrwxrwx 1 root root 524288 Jun 22 22:24 scph5000.bin
    -rwxrwxrwx 1 root root 524288 Jun 22 22:24 scph5500.bin
    -rwxrwxrwx 1 root root 524288 Jun 22 22:24 scph7001.bin
    -rwxrwxrwx 1 root root 524288 Jun 22 22:24 scph7502.bin

  24. Superb work folks.

    Have Retroarch working fine on Openelec. Snes and Genesis emulators both working.

    No idea how to get the Psx emulator working though.

    I have the firmware (schp1001) from another emulator already, but no idea where to put it. Can’t get a thing to run at the moment.

    Anyone had any luck with the Psx?

  25. Did anyone resolve the “dependencies not met” issue when attempting to install the RetroArch add-on on Gotham?
    I enabled debugging to check what the missing dependencies were and it was looking for Python 2.0.
    My current build of Openelec is already bundled with Python 2.7.3.
    Does anyone have any suggestions on what needs to be done?
    PS – I have zero Linux skills so please can you explain in dummy terms? 🙂

    1. I found a link somewhere that said to open the retroarch zip file and change the Python dependicy line in the configuration file from 2.0 to 2.1.0. That what I did to get it to install. Openelec should have Python 2.7.3 I believe.

  26. I recently bought Raspeberry PI and i cannot find any source for how to have retroarch on it…

    Is it even possible?

  27. Please ask zaggash to build this for version 4.0.7 of openelec as the current versions dont work with 4.0.7.!

    Nice Write up.. but this did not work for me as i could not install the zip file addon due to running version 4.0.7.

  28. Dean,

    Thanks for the great tutorial. I gotten everywhere except I can’t launch a ROM. When I try the screen shrinks to 1/4 size for a second then returns back to RCB. Any suggestions?

  29. Hi nice guide. I followed your instructions and everything looks good except for when I attempt to launch a game, nothing at all happens. Can you suggest anything?

  30. If I try to launch a game trough rom collection browser nothing happens.
    When using SSH I get the error message: Core not found.
    I tried different cores but that doesn’t seem to work.

  31. Hi, thank you for your guide. I’ve followed it and I was able to install the latest Generic build of RetroArch and I installed the Rom Collection Browser, but when I try to launch either, nothing happens. I can’t even open the Rom Collection Browser at all. Whenever I select it to launch it, nothing happens.

    Any suggestions? Thank you for your help!

    1. Okay I actually have it set up. But when I actually click on the game to open it and play it, nothing happens. Any suggestions would be amazing. Thanks!

  32. Hi. I’m getting “Core vba_next not found, exiting.” on openelec 4.2.1 x64, 5.0.2 x86 and 5.0.2 x64 if I try in SSH. I have tried retroarch 3.1.3 and 3.2.4 on both openelec 5.0.2 architechtures and tried all textfile edit and chmod tricks mentioned here, but no luck. The .xbmc to .kodi rename in retroarch.sh may not be required. (check the release notes of openelec 5: “all references in code have been changed and in the OpenELEC filesystem /storage/.xbmc will be recreated as a symlink to /storage/.kodi to ensure hardcoded paths in addons or scripts continue to work.”). I use the generic openelec and retroarch builds on Intel Q45/Core2duo.

  33. Hi,

    I installed RetroArch addon for openlec, however when I click the new Programs (RetroArch) addon it doesn’t open.

    Also I’m trying to load NES games in RCB and I’m not sure if my parameters are wrong? do I put: fceumm

    Nothing happens when it starts to load, I’ve also tried the games on my computer so I believe the games and directory are good.

    Any ideas on what I need to do?

    Thanks,
    Brandon

  34. Hi,

    I just wanted to share a guide for installing the xbox.drv driver rather than the default xpad driver. This stops the flashing light and displays the player (1, 2, 3 etc) properly on each controller. The guide was kindly provided to me by SonicNKT over at the openelec.tv forum and is copied verbatim:

    (The libs and binaries are x64 only, if you need something else you have to extract the correct ones out of binary packages for the correct arch, i used ubuntu 13.10)

    Log into your openelec system using ssh and run the following commands in order:
    mkdir -p /storage/bin
    cd /storage/bin
    curl -L -o xboxdrv.zip ‘https://www.dropbox.com/s/rl66y6sb82d07te/xboxdrv.zip?dl=1’
    unzip xboxdrv.zip
    rm xboxdrv.zip
    chmod +x xboxdrv*

    now take a look at xboxdrv.sh file using nano for example:
    nano /storage/bin/xboxdrv.sh

    you can see the 4 preconfigured options which can be triggered if you run the script with the swiches 1-4.

    1. connects one controller only in xpad emulation mode, buttons are configured exactly like the current xpad driver.
    2. connects 2 controllers with the configuration option triggers as buttons, i use this as default because some applications dont like the trigger axis.
    See the official xboxdrv documentation for more options.

    Xboxdrv always adds the correct devices even if no gamepad is connected yet or even the usb adapter isnt. If you just want to use this for xbmc and retroarch (one gamepad) stick with option 1. The trigger option requires a modified controller config for xbmc.

    if you need more than one gamepad just change the line to this for 2 pads:
    CONFIG=”-w 0 –mimic-xpad –next-controller -w 1 –mimic-xpad”
    or this for 3:
    CONFIG=”-w 0 –mimic-xpad –next-controller -w 1 –mimic-xpad –next-controller -w 2 –mimic-xpad”

    Now the last steps is to disable the kernel driver xpad and start xboxdrv automaticly at boot.
    To blacklist the xpad kernel module check the modprobe.d folder in the Config folder.
    Create a file called xpad.conf and just add the following line to this:
    blacklist xpad

    To start xboxdrv automaticly edit your autostart.sh file in the config folder and add the following lines:
    ##Xboxdrv – instead of xpad
    /storage/bin/xboxdrv.sh 1

    This will start xboxdrv with the first saved configuration.

    —-

    Notes – the config folder is /storage/.config/ – you can’t edit files in the main OpenElec config folder, you need to do it here.

    Also, autostart.sh may not exist, in which case you would need to create it using:
    touch autostart.sh
    Then edit it as normal, e.g. vi autostart.sh

    I hope this is helpful, all thanks go to SonicNKT.

  35. IDK why, but for some reason, my Kodi systems(openELEC, OSMC and Xbian) all just crash as soon as they boot up. Why does this happen and what should I do?
    (I have a 2GB Transcend flash drive)

  36. So, RetroArch must be installed on the back end for Rom Collection Browser to work? I cant just install Rom collection Browser, point it to my emulator and roms and it work? Just trying to get a more clear picture on why retroarch is even needed if you have Rom Collection Browser already?

      1. one more question if possible. I am not using retorarch just the snes9x emulator on a raspberri pi 2. When i go into RCB and click a game, it says “launching (insert game)” but nothing at all happens. These same roms and emulators work fine on my laptop running window 7 but not on the raspberry pi. Could this be because the rpi is linux based and not windows? Do you know if they are different emu versions for windows and linux?

  37. Any idea how to get an emulator running on an ASUS Chromebox M004U Intel Celeron 2955U?
    Here’s what I’m working with:
    OpenELEC 6.0.0 (Generic.x86_64)
    Kernel: Linux 4.1.12
    Kodi 15.2 Git:02e7013 (Nov 1st 2015)

    Every time I’ve tried installing ANY version of Retroarch from a zip I get a dependency error. I’ve tried contacting the author and he hasn’t responded. So at this point I’m willing to try to get any emulator working at all. I tried Rom Collection Browser and that didn’t help as I didn’t have any emulators to point it to. I have yet to find someone who has solved this.

    1. Hi Ryan, I have a custom HTPC with the same software you are running, I couldnt manage to get retroarch or any emulators work so far either. I keep getting “dependencies not met” error. Please keep your post updated if you find a solution. I’ll do the same.

  38. Hi Dean. Everything was working perfectly until i hit the “cd .xbmc/addons/emulator.retroarch/bin/
    ./retroarch-joyconfig” in putty. Now i can’t start the games at all. Screen goes black and need to hit escape to get out in openlec. Manage to map the usb controller in putty but hard to check if it works when the games will not start. Any clues?

  39. I got retroarch running fine and RCB setup find but when I select a rom in RCB it just pulls up the retroarch gui. Any suggestions?

Leave a Reply to bjoern Cancel reply

Your email address will not be published. Required fields are marked *