I edited my question sorry, what about keeping the -std=gnu++98 flag in ES ?
yes you also need the gnu flag, but that is for freeimage, isn't?
I edited my question sorry, what about keeping the -std=gnu++98 flag in ES ?
yes you also need the gnu flag, but that is for freeimage, isn't?
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 freeimageCorrect?
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
And perhaps attach the new patch?...
![]()
oh it seems the edit doesn't attach the files,but here it is
I think we need to put this option on libpng
-DPNG_ARM_NEON_OPT=0
edit: attached is a patch for freeimage that will fix the problem with ES
now we just need to fix the audio
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
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.
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!
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
@ NiabiCould you please take a look at this: EmulationStation compile error ?
I managed to correct many compile errors before this, but now i am stuck
.
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)
If I want to compile a version without temp sensor, is it the same as the 7x version?
or is the commit a different one?
Please pull the latest sources, this has been fixed in 8.0.0a.
[hr]
Thank you! that worked
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!
I changed the remote.conf but the "OK" button doesnt work. Other buttons on the remote work properly. When using kszaq's libreelec it does work. I have a nexbox a95x s905x btw.EDIT: Nvm figured it out nyself i just downloaded keymap editor from the repo and remapped my key. Now i will try installing it to internal
Glad you got it working
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
Yep, that seems to do the trick...
Thanks!
Cool when you test it please share your settings so I can add it to the list of devices
Here is the error:
VLC compile error
can you try changing --enable-lua \ to --disable-lua \
as a compile option?
The only reason we need VLC is to have emulationstation video previews, it is not needed for anything else, so afaik lua is not really needed for vlc.
Hi niabiHave 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
...
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]
Display More
Hello! I'm Jarkan from the batocera forum!I just managed to run Sx095re on my Tronsmart Vega s95 telos and it works great!!! Thank you very much for this!
But, I have some questions...
1- How can I use my bundled remote controller to operate emulationstation and kodi? (mostly Kodi of course) I managed to put the remote.conf file from the openelec that I was using before on the config folder but I am definitely doing something wrong, LOL
2- How can I use my Bluetooth remote gamepad on Sx095re (if possible)
3- If it is possible I would like to have an option that starts directly in Kodi and the you can "exit" to emulationstation as in batocera...
Nothing else to say... Only that Sx095re was all what I was looking for my system. Thanks!
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
./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.
That's ok, i like to do it and it will take some work.
I also need to change the remote to mine, and add the patch i use for my usb dtb card (remember, old TV).Thanks for this though...
Cool, when you get it working please share it (or do a pull request on github) maybe it can help others