Please Test: Adding support for "All", "Favorites" and "Last Played" systems
-
@red2blue That are precompiled binaries.
You SSH as root and exchange binary old with binary you have downloadedRename it to
emulationstation
and copy it toopt/retropie/supplementary/emulationstation
Make it executable and you can use this. Meanwhile I try to compile the official branch!
-
@cyperghost bro youre speaking another language to me. can you please do step by step with commands
-
i give up
-
That can't be done ad-hoc! Sorry!
Please SSH in, with user Pi
got to home directory withcd ~
If you are on windows mashine I can recommend WINSCP for graphical exploring data structure.
EDIT: to official branch
SSH with user: pi // password: raspberryEnter folowing commands:
cd ~
wget https://github.com/crcerror/emulationstation-binary-archive/raw/master/PI2and3/emulationstation2.3.2RP_favorite
mv emulationstation2.3.2RP_favorite emulationstation
chmod +x emulationstation
sudo mv emulationstation /opt/retropie/supplementary/emulationstation/
sudo reboot
-
@cyperghost said in Please Test: Adding support for "All", "Favorites" and "Last Played" systems:
@red2blue
That can't be done ad-hoc! Sorry!
Please SSH in, with user Pi
got to home directory withcd ~
If you are on windows mashine I can recommend WINSCP for graphical exploring data structure.
Please hold on...
- type
wget https://github.com/crcerror/emulationstation-binary-archive/raw/master/PI2and3/emulationstation2.3.1RP%20%40pjft%20%40hex%20favorites%20and%20powersavings%20v2
- type
mv emulationstation2.3.1RP\ @pjft\ @hex\ favorites\ and\ powersavings\ v2 emulationstation
- type
chmod +x emulationstation
- type
sudo mv emulationstation /opt/retropie/supplementary/emulationstation/
- type
sudo reboot
does this allow it so i can press "X" to favorite a game?
- type
-
@red2blue No not X, it's Y.
Favorite must be enabled in options Menu > Custom Selections... You'll see if you press START on Controller.You'll see. I tested the approach posted above in my PI and it works flawless.
These binaries are only for a Pi2/3!!. If you have a Pi1/0 they do not work!
But keep in mind, that is an unofficial branch! -
@All @red2blue
Binary for official branch of favorites was compiled - that was EUREKA hard
download for PI2/3 system is here!@pjft Thank you for your efforts. That seems to work very very nice.
But we @red2blue and me ran into diffculties to compile that.
I manually cloned the git master and then used cmake & make. No chance for official way or script @hex and @meleu -
@cyperghost I'm gonna try here.
-
As mentioned in several occasions across the forums, you really need quite a bit of memory to compile ES, so you need to exit ES in the first place, and then run RetroPie-Setup and update from source.
cd ~/RetroPie-Setup sudo ./retropie_setup
And then choose to Manage Packages > Core Packages > EmulationStation > Update from Source.
The Binary should not be updated.
-
@pjft I did this
Entered via SSH andkillall emulationstation
checked also withps -a
there was no running process in relation to ES
and then usedsudo ./retropie_setup
My PI compiled to 100% and did not link the binary. Then I lost network connection and the status LEDs were green and red were permanently on! Maybe bad current! But I just had success by manual steps. Can someone please provide checksum of binary?
Mine is 4,803,320 byte
CRC32: 7B30D56E
MD5: a829b90d9ebaf3745f48c7c4fa259c10 -
To comment on the stalling compilation when updating from source:
I've tried compiling on my Pi3 and stopped when it appeared to hang at 87% after an hour or so.When I set the CPU/GPU memory split to 16MB for the GPU (via raspi-config), compilation succeeds in about 25 min.
Note that you need to set the split back to something sensible after compilation (256MB for the Pi3).
-
good catch.
Can you please provide CRC32 checksum? -
Yeah, it is stalling at 100% in my case. Will probably submit either a bug, or update the script with a bigger rpSwap.
Thanks.
-
Here you go, i'm mobile only, so sorry for the pic.
-
-
@cyperghost I believe the version number is only updated when a new binary is generated.
-
@cyperghost There is no guarantee that two binaries compiled on different machines with same sourcecode will have same hash. This is due to compiler selecting different approaches to optimize which results in entropy.
-
@pjft i saw you posted to the github pull request regarding the swap settings, but i thought it would be better for me to ask my questions here since i am so far out of the loop on the last 2 weeks of development.
My question to everyone is what do we think we are doing to ES that is causing this issue in the first place? It appears that the more we develop, the more issues we are having with the compiling/installation from source. When I first started working with retropie, i never needed to exit ES to update from source. Then a few months back we both found we were stalling out and @BuZz informed us we should always exit ES and update from source from command line. That worked for us, now after a lot more development, we have once again pushed the envelope that even installing from command line causes us to time out.
-
@TMNTturtlguy As more code is added to ES the compiler has to keep that many references in memory while linking. The pi is already at its limit with rpSwap 512. This causes slower sd cards to take a long time to compile and results in unnecessary writes to SD. There is nothing that can be done other that thinning the functionality of ES or discarding features which are not required. I am sure many would oppose this but it will be necessary soon as more code gets added to ES.
-
@TMNTturtlguy hi! I know, I hope you're not overly busy with work and can at least have some time off every now and then.
@Hex kind of summarized it already, though there's a separate factor here which seems to be that compiling via RetroPie-Setup is optimized for speed, and will start two compiler processes in parallel. While that will speed things up, it will also increase memory by 2x - meaning that for each necessary increase in memory to compile ES, by running two processes at the same time that's double the amount.
So right now there are two options - either increasing the swap, or making it not parallel. When we compile manually via git clone and make, it will succeed.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.