Posts by niabi

    Let me sum it...

    1. Change the emulationstation branch back to retropie.
    2. add emulationstation-13-sx05re_mathfix.patch.zip patch to ES.
    3. add freeimage-04-sx05re-png_fix_v8.patch.zip patch to freeimage

    Correct?

    yes, hopefully that will make everything compile.

    unfortunately for my device, there is no sound yet :(

    and also, edit, or remove the autostart.sh on the retroarch package folder, or you will get ES and kodi fighting on boot :P

    There is a saying here, "We want the pie untouched, AND the dog with a full stomach" which is at least hard to accomplish. :)

    Your patch is a no-go, still the same errors. I also tried the -lm flag (in different parts of the code, and also unsuccessfully). I wonder if it should go in a higher level (libreelec config files).

    I'll just keep trying... (and take a look at the addon you pointed). Thanks! ;)

    Edit. At least Jokerz addon is working. Some corrections needed, but games play...


    hmm I'll see if I changed anything else on the code and I will post it.


    here is the problem I changed the emulationstation back to the retropie branch

    Code
    PKG_NAME="emulationstation"
    PKG_VERSION="b851f91"
    PKG_REV="1"
    PKG_ARCH="any"
    PKG_LICENSE="GPL"
    PKG_SITE="https://github.com/RetroPie/EmulationStation"
    PKG_URL="https://github.com/RetroPie/EmulationStation/archive/$PKG_VERSION.tar.gz"
    PKG_SOURCE_DIR="EmulationStation*"
    PKG_DEPENDS_TARGET="toolchain systemd SDL2 boost freetype curl cmake:host freeimage eigen vlc libpng"

    You are mainly interested in the games part of the project. For me the Kodi part comes first.
    So i thought i can try to "add" to Kszaq's kodi build instead of the other way around :rolleyes: .

    If it is freeimage you are having issues with, try this : , i run into the same problem and i adjusted your patch. Freeimage compilation was then successful.

    Thanks for the emulationstation patch will try it asap.

    Yeah I found out about the -std=gnu++98 for freeimage, as I said it compiles and all, but emulationstation complains about something either a PNG thing or a freeimage thing (can't remember exactly what) and it doesn't run.


    And I totally understand your point, most people seem to want Kodi, but for that you might want to try and use the add-on made by pinguy in the freaktab forum ([LibreELEC] Bolt Ons! AceStream & EmulationStation + RetroArch/Libretro for S905/S905X devices! - FreakTab.com) it will probably be easier for you in the long run, since you can just install it over any LibreELEC build :)

    But if you do manage to get all of the changes working on the Kzsaq build, please do share! :D


    Edit: actually I can see the same problem on the Add-on I posted, you can see the error there, it seems to be something on LE 8 :(


    @ Niabi

    Could you please take a look at this: EmulationStation compile error ?

    I managed to correct many compile errors before this, but now i am stuck :huh: .
    It must be a math library link problem but how?

    Any advise is wellcome...

    That is a problem I was having with Kszaqs build, which I assume that is what you are using.

    you need to add the -lm option to the compiler, I made a patch for it. see attached.

    Btw that is not the only problem you are going to have :(

    After many hours trying to fix all the compiling errors and issues I successfully ported everything to the Kszaq v8 build, it all compiles and it seems to work, except emulationstation, which has a problem with a PNG library (or freeimage, can't remember) plus all the emulators don't have any sound, I assume its because v8 handles the sound differently or something.

    I was going to try to install them manually and see if its something on my compile options or if its something on the build itself, but I was very tired to keep going (I did spent more than 8 hours or so fixing all the compiling errors :( since I was doing it all on trial and error)


    Missed that one. I'll post 8.0.0b with this issue fixed in a few hours.

    Thanks for all the hard work on this.

    however I still have a problem building from source :( I get a problem while compiling peripheral.joystick

    here is the paste bin

    /elec/kazaqs/LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/peripheral.joystick - Pastebin.com

    when I remove the dependency from /virtual/mediacenter everything compiles without a problem.

    I know its something stupid o my side, but past releases (prior to b5 I think) compiled without a problem on the same machine.
    I am running this command to compile

    make amlpkg PROJECT=S905 ARCH=arm


    any idea?

    Thanks!


    Hi Niabi,

    Your work is very interesting! Thanks for it.

    It's very close to what I'm looking for. I'm using Kodi regularly and I have a separate Retropie setup.

    I'm searching the better way to merge them on s905 and your build fullfill that. Personally I prefer start on kodi and then change to ES.

    Is it difficult to modify the boot order?


    A few posts back I explained how to do this, you just need to modify the autostart.sh script via ssh or samba share.


    Sent from my Lenovo K50-t5 using Tapatalk

    Sorry forgot, alex's libreelec binary addons repo doesn't work, perhaps change it to kzaqs?


    Yeah I will do that. I am actually trying to port everything to the kszaqs build, I am grateful to have found AlexELEC because it motivated me to create this, but I think he is to focused on getting other things working more than a better libreelec as a whole.

    Sent from my Lenovo K50-t5 using Tapatalk

    Well, it's looking good. I adjusted mine to boot straight into kodi.
    I think you should also modify it without the autostart.sh script (for problematic monitors like mine).
    The advantage is that the user has the possibility to adjust resolution-refresh from kodi first, and then emulationstation displays also ok.

    Here is the device files,

    Ps
    take a look at this, i think it needs the corrections i made so standalone ppsspp compiles ok .

    Thanks for this top-quality work...


    As more people test it I think we can come to better solutions, since on my device kodi is not needed at all i figured it would work for all.

    Thank you for sharing the ppsspp package! I am working on getting advmame to compile as well, I added it on the new version but as binary, I think it looks way better than fba but I am having a terrible time making a package so that it compiles, maybe you can look at it?

    Edit: oh I see what you did, you fixed the package, I thought you made it compiles from source [emoji14]

    Thanks again

    Sent from my Lenovo K50-t5 using Tapatalk


    Hi niabi

    Have you considered start a fork of kszaq code instead of use the ones from AlexELEC (AlexELEC is kszaq + banned addons)?.

    -It will made more easy to track changes between your code and the mainstream.
    -It's more easy rebase your changes to the last version of kszaq.
    -Made more easy send PR to kszaq if you find some error.
    -And last but not less important. Keep the commits history, maintaining the authorship of the original developers.

    I am actually working on this, but I have big problems compiling Kszaqs build (even without any modifications :s ) and its hard to get help on LE, so I am working on trial and error. but my goal is to make it work, since his version seems better than AlexEleec (which seems more focused on getting pirated video working :( )

    The reason I used AlexElec in the first place was because he had emulationstation working, I don not like the banned addons and a lot of the russian stuff, so I removed it all but it was not an easy task for me, since I am a complete newbie to the world of libreleec and compiling for linux in general.

    I will keep you posted if a make Kszaqs build work with all my changes.
    [hr]

    Well, i officially need help :( .

    New device MiniMX is in, and i think the following is in no way related to the device changes.
    Compile stops at vlc (when compiling the games related group near the end), complains about build.../toochain/bin/luac missing (it's there).
    Tried to overcome it by reverting to Alexelec's vlc and lua packages (small modifications made by you), installed lua 5.3 on host, no go.

    Just out of curiosity i tried Alexelec's latest release for T95N (with dtb change) and it works fine on my box. Kodi, games and all... Its just a pain to get rid of all the Russian stuff :rolleyes:...


    Does it stop when emulationstation is compiling? I had that problem so I had to add vlc as target and not as host.

    can you post the error on pastebin or somewhere else?
    [hr]

    I haven't really checked the remote as I don't use kodi at all, but I will check how this can be worked on (I am not sure if it can work on emulationstation)

    Bluetooh has to be configured inside kodi for now.

    It is possible, you just need to modify the /storage/.config/autostart.sh script and remove these lines

    Code
    ./usr/lib/samba/samba-config
     systemctl start smbd
     
    rm -r /var/lock/start.kodi
    touch /var/lock/start.games
    systemctl start emustation.service



    note that I have not tested booting straight into Kodi.