RetroELEC Emulationstation/RetroArch/Kodi image for XU4

escalade
Posts: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 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: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 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: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 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: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 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: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 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: 6681
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 194 times
Been thanked: 148 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: 6681
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 194 times
Been thanked: 148 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: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 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: 8
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: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 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: 8
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: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 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: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 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: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 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: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 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: 14
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: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 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: 14
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: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 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!)

tmihai20
Posts: 203
Joined: Mon Nov 07, 2016 10:56 pm
languages_spoken: english, french, italian, romanian
ODROIDs: XU4, GO, H2
Location: Romania
Has thanked: 22 times
Been thanked: 4 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by tmihai20 » Tue Aug 20, 2019 11:29 pm

Can someone make a video or at least take some screenshots of it? I am still looking for a suitable setup for my retro XU4. I only tested Odroid Retro Arena so far, it kind of works, but I do not like the fact that I cannot configure cores (I cannot launch MAME games at all). There are video artifacts all over the games (definitely not as smooth as what I saw on Youtube with XU4). I am only interested in retro gaming, no multimedia or anything else (downloading stuff).

PS: What is the advantage of using LibreElec instead of a plain Debian or Ubuntu? I did notice it uses kernel 5.0x from memeka :) I am looking for a stable, maintained and as much as possible bug free retro console (and setup).
Riddle me this, riddle me that
Who is afraid of the big, black bat?
I write (in Romanian mostly) on a blog (see my profile)

escalade
Posts: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Wed Aug 21, 2019 2:42 am

@tmihai20

If you've seen RetroPie/Emulationstation/RetroArch, then you know how it looks. I'll put up some screens/videos when I get around to it.

The advantage of using LibreELEC are many, especially for you who are mostly interested in gaming and don't want any bloat. Here's some of them:

- Contains only what's necessary for running the emulators, so it has a minimal footprint which saves space and memory
- Everything (including emulators) is compiled and optimized (with LTO) specifically for the XU4's CPUs
- Boots (and runs) faster than anything else
- Easily installable (write image to SD/eMMC and it boots directly into Emulationstation, ready to go)
- Easily upgradeable (drop image into update folder and reboot)
- Maintained by me (I'm a perfectionist and got a knack for bleeding edge software and getting it to run the best way possible)

Everything in this image works perfectly, including MAME (I use 2016 by default but include 2003 as well). I dare say that you'll get the best performance with this image, if you can find anything that performs better do let me know and I'll investigate why :)
These users thanked the author escalade for the post:
tmihai20 (Wed Aug 21, 2019 4:24 pm)
Maintainer of RetroELEC (XU4 support!)

tmihai20
Posts: 203
Joined: Mon Nov 07, 2016 10:56 pm
languages_spoken: english, french, italian, romanian
ODROIDs: XU4, GO, H2
Location: Romania
Has thanked: 22 times
Been thanked: 4 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by tmihai20 » Wed Aug 21, 2019 4:29 pm

@escalade: this is what I wanted to read :D I will try your RetroElec image. I will be using a dirty hack (dump system partition on SSD connected through SATA2USB adapter) to ensure that performance is even better (I have been using OpenMediaVault like this for a long time). Thank you so much for replying, I an unsure what to use because I am definitely not happy with Odroid Retro Arena.

Small question: how can I make a certain game use a certain emulator? This is needed in MAME games.
Riddle me this, riddle me that
Who is afraid of the big, black bat?
I write (in Romanian mostly) on a blog (see my profile)

escalade
Posts: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Wed Aug 21, 2019 7:24 pm

By all means, set it up any way you like but it won't make much of a difference (unless you're using a slow SD card). Here's some boot numbers on eMMC:

Code: Select all

XU4:~ # systemd-analyze 
Startup finished in 7.319s (kernel) + 8.198s (userspace) = 15.518s 
graphical.target reached after 8.197s in userspace
I've uploaded new images:

- mupen64plus_next core
- fixed savestates for zipped roms
- compiled fbneo with cyclone support
- emulationstation threaded loading for faster startup and "tronkyfan" default theme
- updated ppsspp standalone and libretro core
- fixed wrong saturn system in es_systems.cfg
- yabasanshiro now has chd support
Last edited by escalade on Thu Aug 22, 2019 5:30 pm, edited 1 time in total.
Maintainer of RetroELEC (XU4 support!)

User avatar
odroid
Site Admin
Posts: 32368
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 147 times
Been thanked: 325 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by odroid » Thu Aug 22, 2019 8:34 am

Really impressive booting time. :o

tmihai20
Posts: 203
Joined: Mon Nov 07, 2016 10:56 pm
languages_spoken: english, french, italian, romanian
ODROIDs: XU4, GO, H2
Location: Romania
Has thanked: 22 times
Been thanked: 4 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by tmihai20 » Fri Aug 23, 2019 2:12 am

How can I install a package like mc? I think LibreElec does not have a package manager like Ubuntu/Debian has (apt).
Riddle me this, riddle me that
Who is afraid of the big, black bat?
I write (in Romanian mostly) on a blog (see my profile)

escalade
Posts: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Fri Aug 23, 2019 8:01 am

You can't install anything per se, as the OS and emulators are located on a read-only compressed squashfs. The /storage partition is writeable, but no package manager.

There's a way though, I've included Docker in the image. Using it you can containerize "mc" or any other application you might like. I always keep a container with my preferred distribution for the odd times when I need to use some tools. I also build my images in it.
Maintainer of RetroELEC (XU4 support!)

rinku
Posts: 8
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 » Sat Aug 24, 2019 12:53 am

Thanks for the update.
I noticed something weird with ppsspp. Sometimes it starts up in a small window (it takes a quarter of the screen), and I have to quit and restart it until it launches in fullscreen. It seems to happen randomly. Is it a known "bug" and is there any fix/workaround ?

escalade
Posts: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Sat Aug 24, 2019 4:10 am

@rinku

I have noticed the same thing, like you say randomly. Haven't investigated as I don't really use ppsspp, but there's a "--fullscreen" option that you might add to the command line in /storage/.emulationstation/es_systems.cfg and see if that helps forcing it.
Maintainer of RetroELEC (XU4 support!)

rinku
Posts: 8
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 » Sun Aug 25, 2019 5:27 pm

Adding --fullscreen to the command seems to fix it. Thanks

escalade
Posts: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Tue Aug 27, 2019 3:01 am

Code: Select all

- added kernel support for retroarch's cdrom and midi functionality
- retroarch now has load/dump disc for ozone (default theme in this image)
- compile retroarch with lakka functionality (wifi,services,etc), but hide reboot/shutdown by default and patch to show quit instead of restart
- emulationstation threaded loading support shortens startup time tremendeously with large libraries
- move cores from /usr/lib/libretro/ to /usr/share/retroarch/cores/ (cosmetical change)
- puae-libretro has seen some attention lately from github.com/sonninnos and github.com/rsn8887 (same guys that recently did a makeover on vice-libretro), notably proper input controls, improved core options and floppy sound support
Last edited by escalade on Mon Sep 02, 2019 7:44 am, edited 1 time in total.
These users thanked the author escalade for the post:
odroid (Tue Aug 27, 2019 9:47 am)
Maintainer of RetroELEC (XU4 support!)

escalade
Posts: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Sat Aug 31, 2019 2:00 pm

Code: Select all

Here's a treat for you guys, new image (20190831013344) uploaded:

- latest stable kernel 5.2.11 (with all tweaks and functionality from [url=https://github.com/mihailescu2m/linux/tree/odroidxu4-5.0.y]mihailescu2m's[/url] 5.0 tree)
- pal/50hz switch for amiga and c64 (default on), uses 720x576@50hz so should work for most screens
- flycast is now built from the wince branch
- activated yabasanshiro dynarec
These users thanked the author escalade for the post:
odroid (Tue Sep 03, 2019 11:49 am)
Maintainer of RetroELEC (XU4 support!)

paher
Posts: 4
Joined: Sun May 12, 2019 1:07 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by paher » Thu Sep 05, 2019 10:39 pm

Hi! First of all thanks for you work!

I have 3 question/proposal:
1. How to add fuse core for zx spectrum platform(it was in early builds) ?
2. How run wince games on flycast(they freeze on wince banner during start)?
3. Can you add improvment from AreaScout to ppsspp?

escalade
Posts: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Fri Sep 06, 2019 5:32 am

@paher

1. New builds are coming soon, I've included it :)
2. They run here, but I think some .chd's are problematic with current master, was it a .chd by any chance?
3. I prefer having the latest, but when I get some time I will check the older commit and compare performance. If it's that much better I will use it for the Odroid.
Maintainer of RetroELEC (XU4 support!)

paher
Posts: 4
Joined: Sun May 12, 2019 1:07 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by paher » Fri Sep 06, 2019 7:27 pm

escalade wrote:
Fri Sep 06, 2019 5:32 am
@paher

2. They run here, but I think some .chd's are problematic with current master, was it a .chd by any chance?
My roms have .gdi format

escalade
Posts: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Fri Sep 06, 2019 8:19 pm

New images out:

Code: Select all

- trimmed image size quite a bit by removing some retroarch xmb themes
- added fuse-libretro for zxspectrum emulation
- included nintendo wii iso tools wit and dec-decode
- inputstream.adaptive 2.4.2
- docker 19.03.1
- enabled dolphin-libretro bluetooth support
- xfsprogs/btrfsprogs 5.2.1
- hardcode default frontend in the image properly
- selected libretro cores version bump
Maintainer of RetroELEC (XU4 support!)

tmihai20
Posts: 203
Joined: Mon Nov 07, 2016 10:56 pm
languages_spoken: english, french, italian, romanian
ODROIDs: XU4, GO, H2
Location: Romania
Has thanked: 22 times
Been thanked: 4 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by tmihai20 » Sat Sep 07, 2019 3:54 am

Never mind, it looks I was faster at downloading than you were uploading, new images are on Google Drive.
Riddle me this, riddle me that
Who is afraid of the big, black bat?
I write (in Romanian mostly) on a blog (see my profile)

escalade
Posts: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Sun Sep 08, 2019 8:49 am

Cool, let me know how it works for you :)
Maintainer of RetroELEC (XU4 support!)

tmihai20
Posts: 203
Joined: Mon Nov 07, 2016 10:56 pm
languages_spoken: english, french, italian, romanian
ODROIDs: XU4, GO, H2
Location: Romania
Has thanked: 22 times
Been thanked: 4 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by tmihai20 » Tue Sep 10, 2019 7:45 pm

I went through a lot of installations for several days. I tried installing RetroPie myself, then I tried TheRetroArena image, Recalbox and RetroElec. I had issues compiling PPSSPP on it RetroPie, I had to give up on it. Recalbox is missing more emulators than any other solution. It was a close call between RetroArena image and RetroElec. I did not like the fact that there are so many things hidden or already setup on RetroArena, but the deciding factor was the fact that there are more emulators available on RetroArena then on RetroElec and that I can install any tool I want natively (it seems a too big hassle to use docker for mc or any other tool that is missing from RetroElec) :(

I loved the quick boot time of RetroElec, I am thinking about putting RetroElec on a second microSD card and to use it from time to time. There is a new module related to HD emulation that was released a few days ago. I would love to have it, things could look nicer on 42 inches if they were a little more closer to HD then there are now. Please add more emulators as well, if possible. I am still watching RetroElec, I am not giving up on it.
Riddle me this, riddle me that
Who is afraid of the big, black bat?
I write (in Romanian mostly) on a blog (see my profile)

escalade
Posts: 93
Joined: Thu Mar 14, 2019 8:34 pm
languages_spoken: english and norwegian
Has thanked: 3 times
Been thanked: 13 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by escalade » Tue Sep 10, 2019 9:34 pm

I get your point about Docker being a hassle. Personally I always keep an Arch Linux container around, here's a simple how-to.

Enable and start the docker service (only need to do this once):

RetroELEC:~ # systemctl enable docker && systemctl start docker

Set up a container with the distribution of your choice like so (armhf/alpine can be changed to whatever base image you like) :

Code: Select all

RetroELEC:~ # docker run -it --name alpine -v /storage:/storage -v /media:/media armhf/alpine
Which drops me in a shell like this:

/ #

Install mc like so:

/ # apk update && apk add mc

And run it like this:

/ # mc /storage

Once you exit mc and exit the container, it will return to state "exited" (check docker ps -a) but your modifications will have persisted. You can start it and drop into shell again like this:

RetroELEC:~ # docker start -ai alpine

This will start and attach to the container with shortname "alpine", which we set when we run it the first time.

If you'd like to just run mc, you can do it like this:

RetroELEC:~ # docker start alpine && docker exec -it alpine mc /storage

This could of course be further simplified by using your own aliases, scripts, whatever. I find this method easy to use and the container is completely separate from your OS which will always be as speedy and snappy as ever :) You can run pretty much anything like this, if you want to access low level stuff you need --privileged to the "run" argument. You could even run other emulators like this and add them to your es_systems.cfg with your own launch script.

As for missing emulators, it's hard to add them as you didn't mention which ones ;) I don't make it a point to include every emulator/core under the sun though, only those who work good and are actually useful. It's a breeze to add them for me, so if you make a valid argument I might just do so.

You can also add your own libretro cores into /tmp/cores, or even use the online updater to add some (I think I have hidden it by default but you can show it again in RetroArch settings). Keep in mind that the cores from the Lakka buildbot are built on Debian though (I think), and although libretro cores usually are self contained, some have in the past depended on external shared libraries of specific versions and thus would fail to run. All of the provided cores and emulators have been built and optimized specifically for this distribution and hardware architecture, so that's what I recommend using. Don't be scared to try though, it will most likely work fine. Keep in mind that /tmp is an overlayfs and your changes end up in /storage/.config/retroarch/cores. Wipe this directory clean and reboot if you want to revert any changes.
Maintainer of RetroELEC (XU4 support!)

tmihai20
Posts: 203
Joined: Mon Nov 07, 2016 10:56 pm
languages_spoken: english, french, italian, romanian
ODROIDs: XU4, GO, H2
Location: Romania
Has thanked: 22 times
Been thanked: 4 times
Contact:

Re: RetroELEC Emulationstation/RetroArch/Kodi image for XU4

Unread post by tmihai20 » Tue Sep 10, 2019 11:58 pm

This guide about adding a container for our preferred Linux distro should be present in the first post and on the CoreElec forum (I found your topic there too). You should also add the guide about the libretro cores too. Unfortunately I can only mention emulators I am currently using now (sometimes later today or maybe tomorrow). I do know I can add cores thorugh RetroArch, I have enabled it once or twice. I knew I would get a reply from you, like I said, I am not giving up on RetroElec just yet. I am just a little tired from trying in the last few weeks, I want to settle down a little bit and focus on the fruits of the labour (aka I want to play some games).

As for missing emulators, I know for sure I (for one) would love to have all flavours of the mame, neogeo, fba and all other sorts of arcade emulators (and all their versions). I am still settling on a romset and I have so far downloaded about 4 (good archive.org is dependable in that matter). I keep my roms on an SSD connected using a very good SATA2USB bridge. Whenever possible I am also dumping the rootfs on a separate partition on the SSD, to make the system even more snappier (changing UUID and so on).
These users thanked the author tmihai20 for the post:
escalade (Wed Sep 11, 2019 12:38 am)
Riddle me this, riddle me that
Who is afraid of the big, black bat?
I write (in Romanian mostly) on a blog (see my profile)

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest