Raspberry Pi

EmulationStation + kodi

[LibreELEC] Bolt Ons! AceStream & EmulationStation + RetroArch/Libretro for S905/S905X devices!

To use these «Bolt Ons!» you need to be running LibreELEC on your S905/X Box.

AceStream 3.1.19 (Works with LibreELEC 8)


ssh -l root "LibreELEC IP"
Password: libreelec
cd /storage
curl -LO https://archive.org/download/AcestreamS905/Acestream_S905.tgz
tar xopf Acestream_S905.tgz
rm -f Acestream_S905.tgz

EmulationStation + RetroArch 1.5.0 (Works with LibreELEC 8)

ssh -l root "LibreELEC IP"
Password: libreelec
cd /storage
curl -LO https://archive.org/download/EmulationStationS905/EmulationStation_S905.tgz
tar xopf EmulationStation_S905.tgz
rm -f EmulationStation_S905.tgz

Due to the way the packages are put together, updating LibreELEC won’t effect AceStream/EmulationStation/Libretro. They run from the storage partition so won’t be affected by the update (but the update may break a lib, so post here is something stops working).

Working Systems:

ROM Folder / (System ) / : Core / Supported Extensions

  • fba (Final Burn Alpha)fbalpha / .ZIP .iso .ISO (BIOS in this folder with lowercase .zip are hidden, and ROMs with uppercase .ZIP show)
  • neogeo (NEO・GEO)fbalpha / .ZIP .iso .ISO (Same as above)
  • ngp (Neo Geo Pocket)mednafen_ngp / .ngp .NGP .ngc .NGC
  • mame (MAME 078)mame2003 / .zip .ZIP .chd .CHD .7z .7Z
  • nes (Nintendo)nestopia / .nes .NES .fds .FDS .zip .ZIP
  • snes (Super Nintendo)snes9x2010 / .smc .SMC .fig .FIG .sfc .SFC .gd3 .GD3 .gd7 .GD7 .dx2 .DX2 .bsx .BSX .swc .SWC .zip .ZIP
  • n64 (Nintendo 64)mupen64plus / .n64 .N64 .v64 .V64 .z64 .Z64 .bin .BIN .u1 .U1 .ndd .NDD .zip .ZIP
  • gb (Game Boy)gambatte / .zip .ZIP .gb .GB
  • gbc (Game Boy Color)gambatte / .zip .ZIP .gbc .GBC
  • gba (Game Boy Advance)vba_next / .zip .ZIP .gba .GBA
  • nds (Nintendo DS)desmume / .nds .NDS .bin .BIN
  • mastersystem (Sega Master System)picodrive / .zip .ZIP .sms .SMS
  • genesis (Sega Genesis)picodrive / .zip .ZIP .md .MD
  • megadrive (Sega Mega Drive)picodrive / .zip .ZIP .md .MD
  • segacd (Sega CD)picodrive / .cue .CUE .iso .ISO (You need both .bin and .cue files for sound to work. .bin files are hidden so games are not shown twice)
  • sega32x (Sega 32X)picodrive / .zip .ZIP .32x .32X
  • gamegear (Sega Game Gear)genesis_plus_gx / .zip .ZIP .gg .GG
  • psx (Playstation)pcsx_rearmed / .bin .BIN .iso .ISO .img .IMG .mdf .MDF .pbp .PBP .toc .TOC .cbn .CBN .m3u .M3U (I would use .PBP)
  • psp (Playstation Portable)ppsspp / .elf .ELF .iso .ISO .cso .CSO .prx .PRX .pbp .PBP
  • atari2600 (Atari 2600)stella / .a26 .A26 .bin .zip .ZIP .7z .7Z
  • atarilynx (Atari Lynx)handy / .lnx .LNX .zip .ZIP
  • atarist (Atari ST)hatari / .st .ST .msa .MSA .zip .ZIP .stx .STX .dim .DIM .ipf .IPF
  • videopac (VideoPac)o2em / .bin .BIN
  • zxspectrum (ZX Spectrum)fuse / .tzx .TZX .tap .TAP .z80 .Z80 .rzx .RZX .scl .SCL .trd .TRD .zip .ZIP
  • pcengine (TurboGrafx 16)mednafen_pce_fast / .pce .cue .zip .PCE .CUE .ZIP
  • msx (MSX)fmsx / .rom .ROM .mx1 .MX1 .mx2 .MX2
  • c64 (Commodore 64)vice_x64 / .crt .CRT .d64 .D64 .g64 .G64 .t64 .T64 .tap .TAP .x64 .X64 .zip .ZIP .prg .PRG
  • amiga (Commodore Amiga)uae4arm / .adf .ADF .dms .DMS .ipf .IPF .zip .ZIP .adz .ADZ .uae .UAE
  • pc (DOS x86)dosbox / .com .COM .sh .SH .bat .BAT .exe .EXE
  • scummvm (ScummVM)scummvm / .sh .SH .svm .SVM

To launch EmulationStation there is an included add-on to launch it (it will show up under «Program add-ons»).

To return back to EmulationStation after opening a game, select «Quit RetroArch».

To boot back into Kodi select the Kodi option within EmulationStation.

The default ROM folder is at: /storage/roms/ 

Place your games in there (Emuparadise is a pretty good place to go looking for ROMs).

EmulationStation can also use ROMs from a USB Storage device and SD Card.

To get it working you must first format and label/name the SD Card sdcard. This is so when it gets mounted, its mounted as ‘sdcard’. If it doesn’t, it won’t work.
Same thing with the USB Storage device. It needs to be labelled/named usb.

Once you have done that download this zip and extract it onto the sdcard/usb.


It should look like this:

  • /sdcard/roms/»Systems»

Now just place your ROMs into the folders.

Once you connect the USB/SD Card, EmulationStation will look for ROMs on them.

The only issue you may face is if you spread ROM’s for the same system over all 3 locations.

What I mean by this, is if you put PSX games onto the USB, SD Card and in the internal storage, EmulationStation will show the PlayStation tab 3 times. Once for each location.

So the best thing to do is pick one location per system. That way the same system won’t show up multiple times.

The scraper in EmulationStation does work but it is a bit on the slow side (and can’t do Arcade games). You will be better off following theses guides to get the metadate and artwork (the app does work locally so you don’t have to do it over a network).

Thanks to scottmu64niabi & JoKeRz for making this possible.


For PSX games that have multiple CDs (Final Fantasy Series, Metal Gear Solid etc.) you will be better off using the .PBP format (PSX2PSP eBoots).
To be honest .PBP is the better format as it does compression. So will make your game collection smaller.

Bluetooth controllers do work wireless, but you need to connect them within the LibreELEC settings. (I am using a PS3 Dualshock 3 Controller with my setup but it does take a few goes before it first connects. Once you get it connected that first time, it reconnects without any issues).

If you have controller issues with RetroArch you can setup your controller within the RetroArch settings. But most controllers will work fine out of the box.

When first opening EmulationStation it may not fit the screen correctly. If this happens just reboot the box and re-open EmulationStation. Also when first changing the theme. It might not apply. Again just reboot the box. These issues only happen when first using EmulationStation.


The version of RetroArch/Libretro comes from AlexELEC build as do most of the cores.
The version of EmulationStation comes from niabi build as do the missing cores that AlexELEC don’t have.
For the rest of the missing cores I get them from Lakka or JoKeRzBoX.

The package should be super simple to keep updated.

  • /storage/.emulationstation/emulationstation (the emulationstation binary)
  • /storage/.kodi/addons/emulator.tools.retroarch/bin/retroarch (the retroarch binary)
  • /storage/.kodi/addons/emulator.tools.retroarch/lib/libretro (the folder where the cores are kept)

Will be the only things that will need replacing when there is an update from niabiAlexELEC or Lakka/JoKeRzBoX (but read the release notes first. Not every update will be useful for this package).

Default locations:

  • emulationstation & retroarch are in the /usr/bin folder on niabi & AlexELEC images.
  • libretro cores are in the /usr/lib/libretro folder on niabi & AlexELEC images (only need the .so files).

If you would like to add more cores to your system that are not included in this package, you will need to edit the es_systems.cfg file (in /storage/.emulationstation/) for them to show up in EmulationStation. For tips on how to setup the es_systems.cfg file, the RetroPie-Setup wiki has some good resources (default bios folder is /storage/emulators/retroarch/system).

As for updated controller config files. You can get them from here.
And they go into this folder:

  • /storage/.kodi/addons/emulator.tools.retroarch/resources/autoconfig

Once you have made all the changes make sure you set the correct permissions and make sure the binaries are executable.



Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *