RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Please Test: Adding support for "All", "Favorites" and "Last Played" systems

    Scheduled Pinned Locked Moved Ideas and Development
    emulationstatiofavouritescustom system
    226 Posts 19 Posters 100.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • pjftP
      pjft
      last edited by

      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!

      1 Reply Last reply Reply Quote 2
      • cyperghostC
        cyperghost
        last edited by cyperghost

        Can anyone provide the binary please?

        @pjft Thank you for your effort in making good things better. But do you see a chance to implent @hex 's power saving mod? Can a pull request to your mod be made to implent this?

        pjftP 1 Reply Last reply Reply Quote 0
        • HexH
          Hex
          last edited by

          @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?

          Sent from 20,000 leagues under the sea.

          Powersaver Emulation station : https://github.com/hex007/EmulationStation
          ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

          cyperghostC 1 Reply Last reply Reply Quote 1
          • cyperghostC
            cyperghost @Hex
            last edited by

            @Hex Please tell me how? ;)

            1 Reply Last reply Reply Quote 0
            • pjftP
              pjft @cyperghost
              last edited by pjft

              @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.

              cyperghostC 2 Replies Last reply Reply Quote 1
              • cyperghostC
                cyperghost @pjft
                last edited by cyperghost

                @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

                pjftP 1 Reply Last reply Reply Quote 0
                • pjftP
                  pjft @cyperghost
                  last edited by pjft

                  @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.

                  1 Reply Last reply Reply Quote 3
                  • cyperghostC
                    cyperghost
                    last edited by cyperghost

                    @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.

                    pjftP 1 Reply Last reply Reply Quote 0
                    • HexH
                      Hex
                      last edited by Hex

                      @cyperghost @pjft

                      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.sh

                      create and paste / append to es-repos.txt file

                      https://github.com/pjft/EmulationStation RetroPie-Virtual-Systems-PR
                      

                      Then create another file es-patches.txt, and paste in it

                      https://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
                      
                      

                      Sent from 20,000 leagues under the sea.

                      Powersaver Emulation station : https://github.com/hex007/EmulationStation
                      ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                      cyperghostC 1 Reply Last reply Reply Quote 3
                      • cyperghostC
                        cyperghost @pjft
                        last edited by cyperghost

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • cyperghostC
                          cyperghost @Hex
                          last edited by cyperghost

                          @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.

                          1 Reply Last reply Reply Quote 0
                          • pjftP
                            pjft @cyperghost
                            last edited by

                            @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.

                            1 Reply Last reply Reply Quote 1
                            • cyperghostC
                              cyperghost
                              last edited by

                              @pjft de nada

                              1 Reply Last reply Reply Quote 1
                              • TMNTturtlguyT
                                TMNTturtlguy
                                last edited by

                                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!

                                1 Reply Last reply Reply Quote 2
                                • cyperghostC
                                  cyperghost
                                  last edited by cyperghost

                                  @TMNTturtlguy
                                  There is no need for a second PI... The make process runs wonderfull and you can exchange the compiled binary with the binary in /opt/retropie/supplementary/emulationstation/
                                  Don't worry you won't mess up the system :)

                                  I can provide binaries:
                                  https://github.com/crcerror/emulationstation-binary-archive

                                  1 Reply Last reply Reply Quote 1
                                  • HexH
                                    Hex
                                    last edited by

                                    Actually this is a great idea to provide compiled binaries on github with proper versions and features.

                                    Sent from 20,000 leagues under the sea.

                                    Powersaver Emulation station : https://github.com/hex007/EmulationStation
                                    ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                                    cyperghostC 1 Reply Last reply Reply Quote 1
                                    • cyperghostC
                                      cyperghost @Hex
                                      last edited by cyperghost

                                      @Hex That's a bit hard to handle. I think main feature, author and ES version should be enough.
                                      But everybody is free to fork and add the archive :)
                                      I hope the archive will make development faster and more accurate because more users can simply download and try out versions.

                                      In the repo...

                                      1. If there is no @ in the name then it's a main branch release within RetroPie
                                      2. authors of the branch are names by adding @name to the file
                                      3. main features are named within file name

                                      for ex. emulationstation2.1.5RP means main realase of ES from RetroPie in ES version 2.1.5
                                      for ex. emulationstation2.2.4RP PS @hex PowerSavingsmeans ES branch from @hex with PowerSaving feature with ES version 2.2.4

                                      HexH 1 Reply Last reply Reply Quote 0
                                      • HexH
                                        Hex @cyperghost
                                        last edited by

                                        @cyperghost said in Please Test: Adding support for "All", "Favorites" and "Last Played" systems:

                                        @Hex That's a bit hard to handle. I think main feature, author and ES version should be enough.
                                        But everybody is free to fork and add the archive :)

                                        I mean for a tester to do and not the developer. The dev cannot keep on sharing the binaries as they are much busy compiling

                                        Sent from 20,000 leagues under the sea.

                                        Powersaver Emulation station : https://github.com/hex007/EmulationStation
                                        ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                                        meleuM 1 Reply Last reply Reply Quote 0
                                        • cyperghostC
                                          cyperghost
                                          last edited by cyperghost

                                          Added @pjft file to binary archive RPI2/3 only

                                          https://github.com/crcerror/emulationstation-binary-archive

                                          How to:

                                          1. Copy file from repro and rename it back to emulationstation
                                          2. Rename file emulationstation in /opt/retropie/supplementary/emulationstation/ maybe emulationstation.org >> That's your backup!
                                          3. Copy repro file to /opt/retropie/supplementary/emulationstation/
                                          4. User rights 755 root:root

                                          @Hex I wans't able to merge your Powersaver Patch together with @pjft
                                          I added

                                          https://github.com/hex007/EmulationStation feature-powersaver d2aa4861704e4d93659246c13ecc982a6fd18314 Hex's powersaver patch
                                          

                                          to es-patches.txt but I wasn't able to select this patch. Just the Repro was available.

                                          1 Reply Last reply Reply Quote 0
                                          • meleuM
                                            meleu @Hex
                                            last edited by meleu

                                            @Hex hey bro, do you recommend some cross compiling guide? Compiling ES on my raspi1 is very time consuming and on my laptop take 2 or 3 minutes. I compiled the very first version of the @pjft 's PR and it took almos 4 hours on my raspi1. Now I don't have the guts to compile the new changes we are getting (I would like to test/provide feedback about two PRs you submitted too).

                                            • Useful topics
                                            • joystick-selection tool
                                            • rpie-art tool
                                            • achievements I made
                                            cyperghostC 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.