RetroELEC Emulationstation/RetroArch/Kodi image for XU4

escalade
Posts: 73
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 1 time
Been thanked: 6 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Mon May 27, 2019 6:04 am

1. Retroplayer sucks IMO, although I suppose it should work. I removed the shortcut for it on the Kodi main menu, is that what you mean? Or can't you get it to work at all?
2. I tested now and RetroArch does launch here. Kodi (/storage/.kodi/temp/kodi.log) and system log please and I'll get it fixed.

Yes it's as fast as possible, as the OS is minimal and compiled with specific target optimization ;)
Maintainer of RetroELEC (XU4 support!)

camatthew
Posts: 9
Joined: Sun May 26, 2019 4:07 am
languages_spoken: english
ODROIDs: xu4
Has thanked: 2 times
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by camatthew » Mon May 27, 2019 6:44 am

I was wanting to get this working https://github.com/zach-morris/plugin.program.iagl on kodi and use that to launch retroarch for roms. The addon gets the games from the internet archive who is exempt from dmca.

escalade
Posts: 73
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 1 time
Been thanked: 6 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Mon May 27, 2019 7:22 am

You'll need to install the game.libretro addon for it to work. I checked now and the LE binary addon repo isn't working, I'll report back when I have fixed it. You have tried Emulationstation, right? RetroArch (with or without a frontend) will run in KMS/GBM mode and give you much better performance than the Kodi retroplayer ever will.

I will also add some scripts to automate scraping of roms so that Emulationstation will show video previews, game info etc. This makes for a more enjoyable viewing of your collections.
Maintainer of RetroELEC (XU4 support!)

camatthew
Posts: 9
Joined: Sun May 26, 2019 4:07 am
languages_spoken: english
ODROIDs: xu4
Has thanked: 2 times
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by camatthew » Mon May 27, 2019 7:28 am

I dont need retroplayer but I would like to run retroarch with the add on as I would on linux. The cores dont show up on retroarch if I run it from /usr/bin/retroarch

camatthew
Posts: 9
Joined: Sun May 26, 2019 4:07 am
languages_spoken: english
ODROIDs: xu4
Has thanked: 2 times
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by camatthew » Mon May 27, 2019 7:29 am

With emulationstation I cannot use mame soft lists such as Phillips cdi in mame.

escalade
Posts: 73
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 1 time
Been thanked: 6 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Mon May 27, 2019 7:38 am

What do you mean they don't show up? You need to load content and select core manually, or download the database and scan your rom folders. If you haven't used RetroArch before, the Lakka documentation is a very good place to start. Also, you should be able to launch RetroArch directly from the Kodi main menu.

I'm not familiar with mame softlists, what do they offer that ES can't do?
Maintainer of RetroELEC (XU4 support!)

camatthew
Posts: 9
Joined: Sun May 26, 2019 4:07 am
languages_spoken: english
ODROIDs: xu4
Has thanked: 2 times
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by camatthew » Tue May 28, 2019 10:03 pm

What I mainly need is a way to launch roms in kodi with a command like retroarch like this script for libreelec remix https://github.com/zach-morris/plugin.p ... _launch.sh.

escalade
Posts: 73
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 1 time
Been thanked: 6 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Tue May 28, 2019 10:54 pm

Well, what's stopping you from using the same script? Just replace retroarch.start with retroarch.sh and it's good to go. RetroELEC = "LibreELEC remix" by the way, I just renamed it ;)

Regarding softlists, I found this:

https://forums.libretro.com/t/guide-pla ... ss/17728/1
https://retropie.org.uk/forum/topic/126 ... y-playable

I see no reason why you can't set this up in Emulationstation. You'll need to look into the correct command line options for RetroArch and add an appropriate system to /storage/.config/es_systems.cfg.
These users thanked the author escalade for the post:
camatthew (Thu May 30, 2019 1:06 am)
Maintainer of RetroELEC (XU4 support!)

camatthew
Posts: 9
Joined: Sun May 26, 2019 4:07 am
languages_spoken: english
ODROIDs: xu4
Has thanked: 2 times
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by camatthew » Thu May 30, 2019 1:04 am

whats wrong with this command

Code: Select all

 /usr/bin/retroarch.sh  -L /tmp/cores/mgba_libretro.so "/storage/.kodi/userdata/addon_data/plugin.program.iagl/temp_iagl/2 Game Pack! - Uno + Skip-Bo (USA).gba"

escalade
Posts: 73
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 1 time
Been thanked: 6 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Fri May 31, 2019 9:06 pm

Don't use -L, it's already used in the script. The first argument should be the core.

Updated images available. Changes include:

- Added support for two controllers in the PUAE libretro core.
- AutoFS mount points moved to /auto and added SMB/CIFS automounting
- Bunch of package version bumps
Maintainer of RetroELEC (XU4 support!)

Chromoris
Posts: 6
Joined: Wed Jul 26, 2017 7:57 am
languages_spoken: english, dutch
ODROIDs: Odroid XU4 + Cloudshell
Has thanked: 0
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by Chromoris » Sat Jul 20, 2019 9:26 pm

I have installed your image, however the wired LAN interface doesn't work for me. The light comes on, but no link is established. No IP address is assigned, I cannot ping it, and the switch doesn't see the odroid either.

Does your image include wired LAN functionality?

User avatar
mad_ady
Posts: 6363
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 144 times
Been thanked: 105 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by mad_ady » Sat Jul 20, 2019 9:46 pm

It may have loaded the xu3 dtb which has a different network interface. See if you can force the xu4 dtb in boot.ini

Chromoris
Posts: 6
Joined: Wed Jul 26, 2017 7:57 am
languages_spoken: english, dutch
ODROIDs: Odroid XU4 + Cloudshell
Has thanked: 0
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by Chromoris » Sun Jul 21, 2019 4:23 am

mad_ady wrote:
Sat Jul 20, 2019 9:46 pm
It may have loaded the xu3 dtb which has a different network interface. See if you can force the xu4 dtb in boot.ini
Forcing the xu4 dtb has fixed that issue, and also made sure I now have sound. No idea why the image didn't go for the xu4 initially.

I did install the kodi image on an emmc. I'm not sure if that had any impact on my issue of if I should have taken the emmc image.

User avatar
mad_ady
Posts: 6363
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 144 times
Been thanked: 105 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by mad_ady » Sun Jul 21, 2019 5:35 am

The bootloader does board detection. The red emmc has the bootloader in the hidden blocks and is not updated when flashing a new image.

escalade
Posts: 73
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 1 time
Been thanked: 6 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Mon Jul 22, 2019 6:57 am

New images uploaded.

- Updated kernel to latest 5.0.21
- Kodi 18.3
- Version bumps in a lot of cores and other packages
These users thanked the author escalade for the post:
odroid (Mon Jul 22, 2019 7:03 pm)
Maintainer of RetroELEC (XU4 support!)

rinku
Posts: 5
Joined: Tue May 28, 2019 1:08 am
languages_spoken: english, french
Has thanked: 0
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by rinku » Thu Aug 01, 2019 9:03 pm

Thanks for the udpate !

Is there any way I can update without wiping my current data (kodi/emulationstation/retroarch settings, emby in docker etc...)?

escalade
Posts: 73
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 1 time
Been thanked: 6 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Fri Aug 02, 2019 4:20 am

Yes, drop the image into /storage/.update (available through smb) and reboot.
Maintainer of RetroELEC (XU4 support!)

rinku
Posts: 5
Joined: Tue May 28, 2019 1:08 am
languages_spoken: english, french
Has thanked: 0
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by rinku » Fri Aug 02, 2019 6:11 pm

Oh, I didn't expect it to be that easy :p
Thanks !

duncanidaho7780
Posts: 6
Joined: Thu May 18, 2017 2:45 am
languages_spoken: english
ODROIDs: c2 xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by duncanidaho7780 » Mon Aug 05, 2019 2:37 am

I cannot gunzip the images that are currently available for download I have tried command line and a gui
.

escalade
Posts: 73
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 1 time
Been thanked: 6 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Mon Aug 05, 2019 3:13 am

I've uploaded new images, try again.
Maintainer of RetroELEC (XU4 support!)

holiboy
Posts: 1
Joined: Tue Aug 06, 2019 5:52 pm
languages_spoken: english
ODROIDs: xu4, go
Has thanked: 0
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by holiboy » Tue Aug 06, 2019 6:05 pm

hello,

i am very interested in your image, and i would like to make a version for Chinese (zh_hk/zh_cn, etc.) .
how can i join this project? Thanks.

escalade
Posts: 73
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 1 time
Been thanked: 6 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Tue Aug 06, 2019 7:09 pm

You should look at the upstream project, LibreELEC. This is a fork that adds XU3/4 support and my mods.
Maintainer of RetroELEC (XU4 support!)

escalade
Posts: 73
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 1 time
Been thanked: 6 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Thu Aug 08, 2019 11:58 am

New images are out.

- Updated XU4 kernel to 5.0.21, RPi to 5.2.5 and Generic to 5.3-rc3
- Glibc 2.30 (has new ARM performance optimizations)
- Updated Kodi to latest Leia git
- Pulseaudio 12.99.2
- Mesa 19.1.4
- mupen64plus-next (XU4 version compiled for GLESv3)
- vice-libretro latest git has lots of improvements (also added the preliminary savestate PR)
- RetroArch and some other cores got bumped
- Compiled with GCC 9.2
These users thanked the author escalade for the post:
odroid (Thu Aug 08, 2019 11:59 am)
Maintainer of RetroELEC (XU4 support!)

Mintpixel
Posts: 3
Joined: Sun Aug 11, 2019 3:40 pm
languages_spoken: english
ODROIDs: Xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by Mintpixel » Mon Aug 12, 2019 4:22 pm

Hi, I have a couple of questions. Is there a setup script where I can add other emulators? And you said this is based on the retopie build, is there anyway to get access to the retropie settings to add things like the BezelProject?

escalade
Posts: 73
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 1 time
Been thanked: 6 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Mon Aug 12, 2019 5:11 pm

"Based on LibreELEC". The only similarity with RetroPie is the Emulationstation frontend, I'm using the RetroPie fork. The scripts that start emulators etc are my own. You can't add emulators due to LibreELEC's design. All the software is compiled and built directly into the image (which is a read-only compressed squashfs), and there is no package manager. The /storage partition is read-write, so you could add new RetroArch cores as in Lakka, although I don't recommend it.
Maintainer of RetroELEC (XU4 support!)

surface
Posts: 5
Joined: Wed Jun 08, 2016 1:49 am
languages_spoken: english
ODROIDs: C2, XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by surface » Tue Aug 13, 2019 11:49 am

I'm having trouble with the MT32 emulation in DOSbox.
Documentation seems incoherent as I've found instructions to put the MT32 roms in the Retroarch system folder, whereas other instructions say to use the mt32.romdir= line in the .conf file.
I know its not the exact same build, but I tested the game on Windows Retroarch 1.7.6 and auto downloaded dosbox core with no mt32.romdir= line and the MT32 rom files in the system folder and it works, so I know the game itself is fine.

So basically, I'm asking for specific instructions on how to get the DOSbox MT32 emulation to work in RetroELEC (if it is even enabled.)
Stuff like, where to put the MT32 rom files, case sensitive filenames, specific MD5 sum?

As a side note, while trying to solve this issue, I noticed that the le10 - RetroELEC/packages/escalade/libretro/dosbox-svn-libretro/package.mk file references github.com/fr500/dosbox-svn which is gone!!!
At some point I'm going to attempt to build this (to add stuff like the spi_s3c64xx LCD screen) and I believe that will be a show stopper!

EDIT:
ROMS are MT32_CONTROL.ROM and MT32_PCM.ROM
Things I've tried:
*put ROMS in /storage/roms/dos and use mt32.romdir=/storage/roms/dos
*put ROMS in /storage/.config/retroarch/system and use mt32.romdir=/storage/.config/retroarch/system
*put ROMS in /storage/.config/retroarch/system and no mt32.romdir= (this is what I tested to work in Windows)
I noticed this in the log: [libretro INFO] [dosbox] SYSTEM_DIRECTORY: /storage/roms/bios
* put ROMS in /storage/roms/bios and no mt32.romdir=
* put ROMS in /storage/roms/bios and use mt32.romdir=/storage/roms/bios

escalade
Posts: 73
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 1 time
Been thanked: 6 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Tue Aug 13, 2019 7:29 pm

@surface

Dosbox itself does not support MT-32 and neither does the libretro port, so I can't conclude other than your testing must be at fault. The standalone version of Dosbox (which is also included in this build) has been patched with MT-32 and fluidsynth support. You'll need to modify your es_systems.cfg to use it through Emulationstation.

Note that I'm using https://github.com/libretro/dosbox-svn but I haven't pushed my latest changes yet.
Maintainer of RetroELEC (XU4 support!)

surface
Posts: 5
Joined: Wed Jun 08, 2016 1:49 am
languages_spoken: english
ODROIDs: C2, XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by surface » Wed Aug 14, 2019 12:11 am

OK, so this is what I'm talking about when I complain that the Documentation is incoherent. (obviously that is nothing to do with you!)
https://docs.libretro.com/library/dosbox/ talks about the MT32 ROMS and where to put them, without distinguishing between the dosbox-libretro and dosbox-svn cores.
There is the MT32 emulation code in dosbox-libretro here https://github.com/libretro/dosbox-libr ... r/src/midi
but not in https://github.com/libretro/dosbox-svn.

So yeah, I guess I was testing against two different cores without realizing it.

escalade
Posts: 73
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 1 time
Been thanked: 6 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Wed Aug 14, 2019 5:45 am

There is the standalone version that you can use. You can look at /usr/bin/dosbox.sh and add an appropriate system in es_systems.cfg.
Maintainer of RetroELEC (XU4 support!)

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 2 guests