Please Test: Adding support for "All", "Favorites" and "Last Played" systems
-
@cyperghost said in Please Test: Adding support for "All", "Favorites" and "Last Played" systems:
Hope that the PR of IO will be accepted
Your wish has been granted.
Seriously though, I'm looking forward to this all being finalised. I've been trying to follow meleu's and TMNTturtlguy's virtual systems stuff, but I've been getting confused. I've been getting confused reading this thread too, but maybe that's just because it's too early in the morning for my brain to work properly. I'm just going to wait until it becomes part of core so I don't have to resort to hacks.
-
@mattrixk said in Please Test: Adding support for "All", "Favorites" and "Last Played" systems:
I'm just going to wait until it becomes part of core so I don't have to resort to hacks.
It's a wise decision. The @pjft work on this stuff is very well done and much more user-friendly than those hacks.
By the way, I composed a couplet in @pjft honor:
Paulo's code is great and can't be beat
If I coded like him that would be neat -
-
@pjft said in Please Test: Adding support for "All", "Favorites" and "Last Played" systems:
They will be based on unused existing folders in the user's theme, as ES has a 1:1 relationship to "system-level entries" and "theme folders". And I don't want users to shoot themselves in the foot by creating collections that will not be themed and look ugly as hell. This will address most of the use cases people have been playing with, when creating a "megaman" theme folder or something, and then packing it with megaman games, or "fighting", "sports" or whatever.
Creating custom collections (without an existing theme folder) is out of scope, as there are too many sub-optimally defined user flows, and the end user experience will always be less than desirable.
I really need to get back around to finishing up the work I was doing on theme variables. Part of that also included the concept of a default theme that would be applied if there was not a theme for the selected "system".
-
@jdrassa I think that would be fantastic. I toyed with the idea of giving the option of reusing the first entry in the theme, but without the items that are usually very system specific (name, logo) but it felt quite hacky and not like something that would really produce good results.
It was going to be a "compatibility mode". Geez. The workarounds we consider.
-
-
Hi all.
This weekend was spent cleaning up the current PR thanks to @zigurana's very timely and relevant comments on it!
As such, I'd appreciate it if anyone would have the availability and patience to recompile the latest build and test it/use it the same way as before.
Functionality-wise it should be equivalent, just more compliant with proper coding guidelines :)
If nobody runs into any trouble, that's one step closer to getting this approved - and one step closer to me starting to work on the custom collections piece.
Thanks in advance for your time as usual, and hope you have a great week!
-
-
@cyperghost We are all contributing to Retropie repo. If you want you can patch it your self. Let me know if you are interested to have both features combined.
Also why dont you compile your own binaries?
-
@Hex Please tell me how? ;)
-
@cyperghost said in Please Test: Adding support for "All", "Favorites" and "Last Played" systems:
But do you see a chance to implent @hex 's power saving mod? Are can a pull request to your mod be made?
What exactly are you looking for? To be able to test this code with the power saving changes? Or to get the power saving changes merged into the main branch, bundled with my changes?
If it's the latter, that's out of scope, and would not in any way help with getting any such change approved. It's good practice to submit well defined and scoped out changes to the project, so that it's also easier to test and revert should anything go wrong. These two features are sufficiently different in scope that it doesn't make sense to bundle them in a single PR.
@Hex has done all the development on the power saving features, when he feels the code is ready to be merged, he will create one such PR to the main branch. I am certain there is a reason for those changes to not be merged yet. He has contributed with a lot of code to the main branch so far, so I imagine it'll be done in due time.
If it's the former, while I certainly lack the time to devote to merge that work into this branch, if anyone wants to fork my code and merge it with @Hex's changes, I certainly won't oppose, but I fail to see the benefit. My changes should be added to the main EmulationStation in the coming weeks, hopefully, so anything done with this current branch will be short-lived.
Any such tests will be able to be done based off the main branch in a few weeks.
Hope this helps.
EDIT: Compiling binaries, see instructions in first post. Alternatively, on your Pi, after exiting ES:
git clone --recursive https://github.com/pjft/EmulationStation.git ES-pjft cd ES-pjft git checkout RetroPie-Virtual-Systems-PR cmake . make
and
./emulationstation
to run it.
-
@pjft Yes exactly a combination of the power savings @hex and your latest efforts in "favorite" support. It isn't necessary for a quick release but imho the energy saving feature should be installed by default so that user in the case of building portables can profit from longer battery live (I focus on Pi0 builds). The CPU load from different branches is listed here - maybe you missed it :D
-
@cyperghost Thanks for clarifying.
As I said, then, that's completely out of scope for these changes. That's something that will make it into the main branch when @Hex feels it's ready. It'd be a waste of anyone else's time to re-invent the wheel as @Hex is actively developing it, and if he's already looking into that, he has a lot more insight, knowledge and skills to make it happen the right way than others would, as few have ever devoted a moment to think about that problem.
Those developments are in good hands.
EDIT: It's not that I missed those posts, it's just that I personally don't have a pressing need to look into that problem, given that others are already doing so. Don't take this wrong - there are just so many things that we all want to look into, and only a finite amount of time in our weeks to devote to it.
Also, from the results shown in that thread, I don't see any particular downgrade in performance between 2.1.x and 2.3.x which at least gives me reassurance that nothing has been significantly broken or made worse in recent developments. If there's no regression, then it's fair game if someone wants to improve it - but it'll take as much importance or priority as any other new development.
All in all, I'm very thankful that @Hex is looking into that. Suggesting others to pick up his work and merge it so it is made "faster" is somewhat disrespectful of the time and effort he's putting into it.
The best thing that you and the community can do to help speed any of that work up - or any other RetroPie-related development, as a matter of fact - is help testing things. @Hex, @zigurana, @jdrassa and others would be very much thankful for that, as everybody wants to make sure that their work will not cause any problems.
I'll also include here @fluffypillow and @phulshof who are doing a tremendous job on their own respective frontends that will hopefully one day be fully available for RetroPie users, as well as everyone who is producing tools, scripts, overlays, etc. I'm missing a lot more people here as well, namely the project maintainers, but I don't want to turn this into a spam-fest of mentions.
Hope this sets the right expectation. Sorry for the long post-script, and thanks for the encouragement and support.
-
@pjft Is it okay for you if I upload the generated binary to github? Or am I breaking laws or a codex by doing this?
Thank you again for providing us with your mod - You made a good job and I appreciate this.
-
Ok so those of you who dont know how awesome git is when it does what you want, well here is how you can merge two or more features in different repositories.
Follow these instructions :
Download my script https://github.com/hex007/es-dev/blob/master/es-tests.shcreate and paste / append to
es-repos.txt
filehttps://github.com/pjft/EmulationStation RetroPie-Virtual-Systems-PR
Then create another file
es-patches.txt
, and paste in ithttps://github.com/hex007/EmulationStation feature-powersaver d2aa4861704e4d93659246c13ecc982a6fd18314 Hex's powersaver patch
Run my script and where it asks if you want to apply patches go for yes and select Hex's powersaver patch
And continue with the build.
OR For those comfortable with git only:
git clone --recurse-submodules https://github.com/pjft/EmulationStation -b RetroPie-Virtual-Systems-PR pjft-vs mkdir pjft-vs/build && cd pjft-vs/build git fetch https://github.com/hex007/EmulationStation feature-powersaver git cherry-pick d2aa4861704e4d93659246c13ecc982a6fd18314
-
This post is deleted! -
@Hex Your way is incredible fast. It takes only 5 minutes to compile. I think it's the make cleanup before. I'm still testing both branches (your and pjft`s)
Thank you :) I will write a small report for favorites usage and CPU usage. -
@cyperghost by all means, feel free to share the binary. I can do it tomorrow as well. My binary was compiled on a pi 3 though.
Sorry for the potentially incorrect instructions, I wrote them from memory.
-
@pjft de nada
-
wow, I travel for work for 2 weeks and the world has turned upside-down! This stuff looks incredible, but I just got a setup that is working wonderfully......I guess i better buy another pi and start a fresh build!
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.