Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

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

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [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)

    Code:
    ssh -l root [B]"LibreELEC IP"[/B]
    [I]Password[/I]: [B]libreelec[/B]
    cd /storage
    curl -LO https://archive.org/download/AcestreamS905/Acestream_S905.tgz
    tar xopf Acestream_S905.tgz
    rm -f Acestream_S905.tgz
    reboot
    EmulationStation + RetroArch 1.5.0 (Works with LibreELEC 8)

    Code:
    ssh -l root [B]"LibreELEC IP"[/B]
    [I]Password[/I]: [B]libreelec[/B]
    cd /storage
    curl -LO https://archive.org/download/EmulationStationS905/EmulationStation_S905.tgz
    tar xopf EmulationStation_S905.tgz
    rm -f EmulationStation_S905.tgz
    reboot
    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.

    roms_dir.zip

    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 scottmu64, niabi & JoKeRz for making this possible.

    TIPS

    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.

    NOTES

    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 niabi, AlexELEC 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.
    Last edited by pinguy; 13 June 2017, 03:54.

    #2
    thankyou pinguy, will give this a go - i've always wanted to get emulation running on my box.

    and yes, i did literally type the words "LibreELEC IP" before realising i'd already logged in !

    Comment


      #3
      Originally posted by ClemFandango View Post
      thankyou pinguy, will give this a go - i've always wanted to get emulation running on my box.

      and yes, i did literally type the words "LibreELEC IP" before realising i'd already logged in !


      Let me know if it works. Works here but would be nice to get confirmation of it working for others. I am using a PS3 Dualshock 3 Controller with it without any issues.

      You will need to add at least one game in the rom folder for EmulationStation to start.

      Comment


        #4
        Originally posted by pinguy View Post



        Let me know if it works. Works here but would be nice to get confirmation of it working for others. I am using a PS3 Dualshock 3 Controller with it without any issues.

        You will need to add at least one game in the rom folder for EmulationStation to start.
        that would explain why emulationstation just reboots the box .. doh!!

        will add a game and see what happens

        Comment


          #5
          Originally posted by ClemFandango View Post

          that would explain why emulationstation just reboots the box .. doh!!

          will add a game and see what happens
          You may have to launch "RetroArch 1.3.6" at least once to get RetroArch all setup.

          Comment


            #6
            ok, i have to go out now but i'll be back later tonight to try it some more. emulationstation still just reboots the box each time and doesn't do anything.

            if i go in to add-ons and select retroarch, i'm given a list of folders so i go to the 'menu' folder which then runs retroarch. i added mario kart to the n64 folder and that does seem to work nicely. if i scroll along in retro arch it's there, but also if i go into the n64 folder it's there as well and i can select it with the remote and it runs - i currently don't have a proper joypad to test it properly though, but it does appear to be running fairly flawlessly.

            i tried adding a mame rom to that folder (kung fu master) but that didn't do anything apparently

            also, the "back" button on my remote reboots the box every single time if i try to go backwards in retroarch.

            but i need to dash, but i'll be back later (if any of the above made any sense!)

            Comment


              #7
              Originally posted by ClemFandango View Post
              ok, i have to go out now but i'll be back later tonight to try it some more. emulationstation still just reboots the box each time and doesn't do anything.

              if i go in to add-ons and select retroarch, i'm given a list of folders so i go to the 'menu' folder which then runs retroarch. i added mario kart to the n64 folder and that does seem to work nicely. if i scroll along in retro arch it's there, but also if i go into the n64 folder it's there as well and i can select it with the remote and it runs - i currently don't have a proper joypad to test it properly though, but it does appear to be running fairly flawlessly.

              i tried adding a mame rom to that folder (kung fu master) but that didn't do anything apparently

              also, the "back" button on my remote reboots the box every single time if i try to go backwards in retroarch.

              but i need to dash, but i'll be back later (if any of the above made any sense!)
              What version of LibreELEC are you running? For EmulationStation to keep booting back into Kodi normally means it is missing libs. It should run fine on 7.0.3.012i without any issues.

              Later on when you get back home SSH into the box and run:
              Code:
              cd /storage/.emulationstation/
              ./emulationsatation
              and let me know if it spits out an error looking like this:
              Code:
              error while loading shared libraries:

              Comment


                #8
                Cool! I love that this is an add-on a lot of people seem to ask for that! but why didn't you use Retroarch 1.4.1 ? or the Emulationstation with video previews? they are both newer if you need binaries you can get them from my Sx05RE build http://freaktab.com/forum/tv-player-...ideo-prewviews they should work with the S905 and S905X

                Comment


                  #9
                  Originally posted by niabi View Post
                  Cool! I love that this is an add-on a lot of people seem to ask for that! but why didn't you use Retroarch 1.4.1 ? or the Emulationstation with video previews? they are both newer if you need binaries you can get them from my Sx05RE build http://freaktab.com/forum/tv-player-...ideo-prewviews they should work with the S905 and S905X
                  Thanks. Grabbed what was need. Now updated and running the Emulationstation and RetroArch from your build.

                  Couple of things I noticed. es_input.cfg isn't blank. So doesn't ask to configure a joypad at startup.

                  es_systems.cfg is using genesis_plus_gx for the Sega Genesis. I would use picodrive instead. Works a lot better.

                  Also for fba I would remove .ZIP and just keep .zip in the es_systems.cfg file. I say this because you need to drop some bios files into the fba folder to get some games working. The issue is the bios's show up in Emulationstation. To get around this you change the .zip to .ZIP for the bios's to stop them showing up.

                  Comment


                    #10
                    Originally posted by pinguy View Post

                    Thanks. Grabbed what was need. Now updated and running the Emulationstation and RetroArch from your build.

                    Couple of things I noticed. es_input.cfg isn't blank. So doesn't ask to configure a joypad at startup.

                    es_systems.cfg is using genesis_plus_gx for the Sega Genesis. I would use picodrive instead. Works a lot better.

                    Also for fba I would remove .ZIP and just keep .zip in the es_systems.cfg file. I say this because you need to drop some bios files into the fba folder to get some games working. The issue is the bios's show up in Emulationstation. To get around this you change the .zip to .ZIP for the bios's to stop them showing up.
                    Noted!

                    the es_input was because people were having problems configuring their gamepads. but I was already thinking of removing it.

                    I agree on picodrive, also Genesis_plus_gx sometimes freezes

                    I will do the zip thing, seems like a good idea!

                    Comment


                      #11
                      Originally posted by niabi View Post

                      Noted!

                      the es_input was because people were having problems configuring their gamepads. but I was already thinking of removing it.

                      I agree on picodrive, also Genesis_plus_gx sometimes freezes

                      I will do the zip thing, seems like a good idea!
                      And to think I almost sold my S905X device because Android ran like garbage on it. Really nice to see the community rally behind these great devices. Last few months have seen these boxes come on in leaps and bounds.

                      Comment


                        #12
                        Originally posted by pinguy View Post

                        And to think I almost sold my S905X device because Android ran like garbage on it. Really nice to see the community rally behind these great devices. Last few months have seen these boxes come on in leaps and bounds.
                        Yeah I am still working on my build, for the longest time I wanted a RaspberryPi but since I already had the S905 device I thought I could just us it. my idea is to make a "RetroPie" kind of device, I am working on compiling PPSSPP standalone, which I think runs better than the libretro port, and also ADVmame which is in my opinion the best mame version for this devices, right now those 2 are included on my build but they are having some minor problems.


                        .

                        Comment


                          #13
                          Originally posted by niabi View Post
                          Yeah I am still working on my build, for the longest time I wanted a RaspberryPi but since I already had the S905 device I thought I could just us it. my idea is to make a "RetroPie" kind of device, I am working on compiling PPSSPP standalone, which I think runs better than the libretro port, and also ADVmame which is in my opinion the best mame version for this devices, right now those 2 are included on my build but they are having some minor problems.
                          Own a couple of RaspberryPi's. Got them before getting the S905X device. Pi's are not great. I got the S905X device because the Pi can't do HEVC and you need to pay to unlock MPEG-2 HW decoding. People forget that Pi's are not that cheap. Once you get an SD card, power supply and case, you are look at around £50 and that is without a remote (not and issue for me as I use CEC). My NEXBOX with twice the memory and 5ghz Wi-Fi cost me £34.99.

                          Comment


                            #14
                            That is the main reason why I didn't get one, in the end it was too expensive for what I wanted it for plus I had my S905 which cost me about $29 US on sale and it included, a case, a power supply and a remote and now I can use it as a "RetroPie"

                            Comment


                              #15
                              If you are going to compile PPSSPP standalone could you also do ePSXe (it has some rendering tricks that really improves the graphics). I am still a huge fan of Gran Turismo 2 and like playing it from time to time, but the default graphics suck.

                              Comment

                              Working...
                              X