RetroELEC (Generic/RPi/XU4) Emulationstation/RetroArch/Kodi

  • lollo78


    Actually, none of the libretro cores use a configure script. As you can see there is no configure step, it just compiles a makefile that's already in place in a subdir. You'll need to define what you need there.


    froggy74


    My scripts to launch RetroArch assumes Intel (DRM/KMS) hardware and switches to a virtual console before launching the game. I'll revise this and put up a new build.


    In the meantime, although a bit cumbersome, you could log in with SSH and do a "chvt 1". Your game is probably running fine in X.

  • HI escalade,
    I forked scummvm repo to modify Makefile and pointed package.mk to my scummvm fork.
    With this mod (recommended by diablodiab) the ogg-vorbis audio is now working.
    Makefile#L33-L34
    :)

    Edited once, last by lollo78 ().

  • Good work, I'll include it :) BTW, to create a patch you just do "diff -u originalfile newfile" (and edit the patch to add the filepath). Simpler than creating a fork.

  • Thanks to you!
    I done the fork because when I run compile, the system clean first the scummvm* folder inside my build* directory.
    I didn't know how to do. I'll try the patch way or I'll wait to see yours to learn
    Thanks again

    Edited once, last by lollo78 ().

  • I've uploaded a new Generic image, with some cool new features:


    - Chrome and Spotify launchable from main menu


    Run Plex, Transmission and SABnzbd as systemd services like this:

    Code
    1. # systemctl enable arch-plex && start arch-plex
    2. # systemctl enable arch-sabnzbd && start arch-sabnzbd
    3. # systemctl enable arch-transmission && start arch-transmission


    No addons or downloads needed, docker will automatically pull images from my docker hub repo. The arch container they are based on are minimal, but even so the images are a bit on the heavy side. Make sure you have like 2GB of space left on /storage.


    Oh and last but not least, the RetroArch launcher script now tries to detect Intel KMS and doesn't switch to virtual console before starting. Should fix the issue mentioned earlier with nvidia cards.


    Try it out and let me know what you think.

    Edited once, last by escalade ().

  • Hi dear,
    I'm trying to compile retroarch-joypad-autoconfig (last commit 923f1fb), but it stuck when try to apply retroarch-joypad-autoconfig-01-ds4.patch

    Code
    1. can't find file to patch at input line 3
    2. Perhaps you used the wrong -p or --strip option?
    3. The text leading up to this was:
    4. --------------------------
    5. |--- a/udev/Wireless Controller.cfg    2016-04-16 14:28:41.975179598 +0200
    6. |+++ b/udev/Wireless Controller.cfg    2016-04-16 14:28:58.454953687 +0200


    Which is the purpose of this patch?


    -----------


    Another little question (I'm studing your scripts to learn ).


    In common-shaders/package.mk you use

    Code
    1. PKG_VERSION="latest"


    instead of the traditional commits SHA.
    A similar solution exist also for retroarch and all the others libretro-cores?
    This could save me a lot of time when I want to test all the latest libretro commit, compiling it in one shot.


    ------------
    Last question.
    I edited a Stella-libretro package.mk. It's so simple with your system.


    My idea was to compile it for rpi3.
    In one of the latest commit (Added Rpi3 platform and removed redundant Rpi CFLAG · libretro/[email protected] · GitHub) Rpi3 was added like platform in Makefile (I notice this also in prosystem-libretro).
    But... how to compile for rpi3 with your build enviroinment?
    PROJECT=RPi3 ARCH=arm scripts/build stella
    of course doesn't work


    Thanks

    Edited once, last by lollo78 ().

  • The patch is to get a proper configuration for DS4 bluetooth. You can remove if you don't need it.


    As for the "latest" version tag it can really be anything, if you look at the package I download from several sources in make_target. There are different ways of achieving things, a package should simply put what you want into $INSTALL.

  • About Stella...


    I tried also with

    Code
    1. make_target() {
    2.   make -f Makefile platform=rpi3
    3. }


    but compiling with
    PROJECT=RPi2 ARCH=arm scripts/build stella
    I have this error:

    Code
    1. lto1: warning: switch -mcpu=cortex-a53 conflicts with -march=armv7ve switch
  • Look at the compiler documentation, learn the difference between the switches, then inspect the makefile and make sure you pass the correct compiler options. Easy ;)


  • The patch is to get a proper configuration for DS4 bluetooth. You can remove if you don't need it.


    As for the "latest" version tag it can really be anything, if you look at the package I download from several sources in make_target. There are different ways of achieving things, a package should simply put what you want into $INSTALL.


    Yes, patch deleted


    About "latest".
    Sorry I did not explain well. I'm not very familiar with English.
    I would like to reach a way to automatically download the latest archive commits without manually editing the PKG_VERSION="" string.


  • My scripts to launch RetroArch assumes Intel (DRM/KMS) hardware and switches to a virtual console before launching the game. I'll revise this and put up a new build.


    Thank you escalade. The implementation works

  • Hi master! Just a quick question....
    Your script for libretro-database download only the existent files.
    I done some mods into .dat file and created a new .dat file but to use it with Retroarch (to perform game scanning) I have to compile it in .rdb.
    But... how to do that? Any suggestion?

  • Yeah put it in a directory and copy it in through one of the package function. Plenty of examples for you to look at.

  • Will try this today on my ChromeBox! :)
    Could you update to the latest commit the RPi2 build too? Would like to try it aswell.


    Thanks a lot!