EmuELEC: Retro Emulation Kodi Addon for CoreELEC!

So I went out and got a PS3 controller and I found a solution that can hopefully work for anyone.

It will be in the next release, but you can also fix it right now using SSH if you want to:

First, follow the instructions by @dekani

  • Using an USB cable (required to update master device bluetooth address), plug it to your box and click Home button, leds should stop blinking.
  • Unplug USB cable, leds are blinking again, after a bit it should stop blinking if not, pair it using Bluetooth configuration menu, controller is now connected using a wireless bluetooth connection.

Now once your controller is paired, copy this file to
/storage/.emulationstation/es_temporaryinput.cfg

now connect to your box by SSH, and run this
/storage/.kodi/addons/script.sx05re.launcher/bin/bash /storage/.emulationstation/scripts/inputconfiguration.sh

After that when you start ES it should work, Retroarch should also be configured, but there is a small bug that will display the search option if you use the HK+triangle to open the retroarch menu (fixed on the next release of the addon) so if you want to open the menu instead use both thumb buttons.

If you don’t want to do any of this just wait until the next release :slight_smile:

3 Likes

Hi, this is my es_input.cfg:
https://pastebin.com/D7PV8fJ1

Thanks!

I wonder why the deviceGUID is different in yours… this might be a problem :confused:

EDIT: well your configuration worked for me even with the different GUID so I guess there won’t be a problem :wink:

02_System.log (78.0 KB)

Log Attached

hmm what version of the add-on are you using?

Try this

/storage/.kodi/addons/script.sx05re.launcher/bin/retroarch.sh

of if using a newer version try

/storage/.kodi/addons/script.sx05re.launcher/bin/sx05re.sh

nothing else but one of those 2 lines

I spent all day yesterday trying to fix the PS3 game-pad issue and I think I boiled down to the motion sensors inside the controllers, you can’t configure it properly in ES because those axes are always working (even when the controller is not moving) you can see what I am talking about if you run
jstest /dev/input/js0

The solution that RetroPie uses (sixaxis) does not seem to work on CE because the kernel is too old (at leas that is what I think). The workaround I posted here works fine for my PS3 controller (played about 3 hours with no problems, on different Retroarch emulators), but I am not sure if it will work for all PS3 controllers (originals and clones).

If you use a PS3 controller you have 3 options

  • Use the workaround and hope it will work for you, (the new add-on version will have this included)
  • Search online for a es_input.cfg that will work for your controller
  • Use another controller (not sure how you guys can use this for retro, the dpad is horrendous :grimacing:)

For now (until someone with more knowledge comes to help out with a better solution) I am leaving this as it is right now.

HI
Using Addon version 2.3.1 and using this command worked.

/storage/.kodi/addons/script.sx05re.launcher/bin/retroarch.sh

1 Like

Short question. Everytime i start a Dreamcast game, I hear the starting Dreamcast sound and if i press buttons on controller i hear sounds, but i have no picture. TV stays black from starting on a DC game. Had someone the same problem? All other emulators are running fine. THX in advance. J.

What device are you using? s905 or s912?

Oh sorry :wink: S912 but can try it on a S905x ift the 912 could be the problem.

Please do, as S912 has a lot of problems still

1 Like

Ok … on weekend i set my other 905x
Thx :+1::grinning:

Hi, on 905x no problems! Thx :+1:

Hallo,
Is ist possible to use my SD Card for Roms folder?
I installed CoreELEC on internal Storage.

All my retropie Roms are on the SD Card!

Second question: is it possible to add „dosbox“?

hi, above (first page) is the explanation to your question. You can put your roms on any external device… as you read this: „

but If you want to use an external HDD or a USB for your ROMS, make a directory called “roms” in the root of the USB device, then inside create an empty file called sx05reroms , place your ROMS inside the corresponding folder (nes, snes, etc, etc.) then with the device plugged start the add-on.“

1 Like

Okay :slight_smile: it only says USB and HDD
I give it a try

I am not sure where the SD card gets mounted. if it gets mounted under /media then you can follow the same instructions, if not, I might need to change the mounting script.

okay from SD Card it works, only problem is that i must insert it after boot.

SD Card is mount to media :slight_smile:

other Question, were the hell is emustation here safe the pictures?.
on my sd card i got all pictures for the games
in “.emulationstation/downloaded_images”

but here i dont know were

i dont know if you compile it self.

but i got some Problem with PSX emulator:

Run Command is:
/storage/.kodi/addons/script.sx05re.launcher/bin/retroarch -L /storage/.kodi/addons/script.sx05re.launcher/lib/libretro/pcsx_rearmed_libretro.so /storage/roms/psx/Final Fantasy VIII.PBP
Emulator Output is:
Memcard 2: disabled
Starting PCSX-ReARMed
Running PCSX Version 1.9 (Feb 27 2019).
Init new dynarec
testing if we can run recompiled code…
test passed.
Mapped (RAM/scrp/ROM/LUTs/TC):
80000000/1f800000/1fc00000/08000000/f38d6000
no BIOS files found.
RGB565 supported, using it
plugin: plugins/builtin_gpu
plugin: plugins/builtin_spu
plugin: plugins/builtin_pad
plugin: plugins/builtin_pad
Plugins loaded.
Could’t open ‘/storage/roms/psx/Final Fantasy VIII.PBP’ for reading: Value too large for defined data type
Error opening CD-ROM plugin!

Blockquote

here is the solution

During the build phase, make sure the flag -D_FILE_OFFSET_BITS=64

with SEGACD i have problems too,

Blockquote
Emulator Output is:
Sx05RE Run Log
1st parameter: GEN
2nd Parameter: /storage/roms/segacd/SonicCD.cue
3rd Parameter:
4th Parameter:
Run Command is:
/storage/.kodi/addons/script.sx05re.launcher/bin/retroarch -L /storage/.kodi/addons/script.sx05re.launcher/lib/libretro/picodrive_libretro.so /storage/roms/segacd/SonicCD.cue
Emulator Output is:

on retropie Sonic CD is working

There seems to be a patch in the works for PSX.

Sega CD I knew about, Picodrive had a bug that I already fixed, but I need to upload a new version, will try to do it soon.

I made so many changes to the core that the add-on script needs to be updated :confused: and since its only me working on all of this, it could take some time, sorry.

I can try and upload the compiled cores with those fixes and see if it works for you.