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

    Announcing Pegasus Frontend

    Scheduled Pinned Locked Moved Ideas and Development
    frontendpegasusc++developmentqml
    1.7k Posts 145 Posters 5.1m 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.
    • halfmanhalfcakeH
      halfmanhalfcake
      last edited by

      So using the documentation, I’ve managed to put together a working grid view. I want to try and creates different screens (states). Would states be the best way to implement (system list view > game so grid view > game details)

      Also I’ve noticed the controls page is not working :(
      http://pegasus-frontend.org/user-guide/controls

      1 Reply Last reply Reply Quote 0
      • fluffypillowF
        fluffypillow
        last edited by

        @halfmanhalfcake Nice! Yes, states could be useful for such cases. If you theme has separate, individual "screens", like in ES2, and you want to change between them, you could implement each screen in a screen-sized Item, then change their position or anchor in the states. Or you could realign or change the shape and positions of the items if that's better for the theme, though that can end up a bit complicated.

        Also the controls page link is http://pegasus-frontend.org/docs/user-guide/controls/; did you find a broken link somewhere?

        @shantigilbert yeah that looks like a lib path issue. How are you launching Pegasus? I think In your case it should be like LD_LIBRARY_PATH=/directory/of/libQt5Gamepad /path/to/pegasus-fe. You can also set lib paths globally in ld.conf.

        halfmanhalfcakeH S 2 Replies Last reply Reply Quote 0
        • halfmanhalfcakeH
          halfmanhalfcake @fluffypillow
          last edited by halfmanhalfcake

          @fluffypillow Yep on the simple theme tutorial > changing collections > tip :)

          In terms of the screen, It might be too complicated for me at the moment, as getting a gridview working was hard enough.

          fluffypillowF 1 Reply Last reply Reply Quote 0
          • S
            shantigilbert @fluffypillow
            last edited by

            @fluffypillow said in Announcing Pegasus Frontend:

            @shantigilbert yeah that looks like a lib path issue. How are you launching Pegasus? I think In your case it should be like LD_LIBRARY_PATH=/directory/of/libQt5Gamepad /path/to/pegasus-fe. You can also set lib paths globally in ld.conf.

            Thanks, unfortunately is not as simple as that, the path is correct, it is also defined globally, and it runs perfectly fine when not executed as a service, it seems its a problem with apps made on QT as all I can find is that they need the QTService plug-in, even if I define the library path it will still not run as a service. But anyways this is probably getting off topic as I am sure this is a problem only for the Amlogic S905.

            I appreciate your help!

            1 Reply Last reply Reply Quote 0
            • fluffypillowF
              fluffypillow @halfmanhalfcake
              last edited by

              @halfmanhalfcake ah thanks, fixed :) As for theming, yeah it has some learning curve, so I still plan to write some more, smaller guides for certain components and use cases.

              @shantigilbert The problem you have is that the OS doesn't find a library required by the executable, and thus can't even start the program. As such, adding QtService can't fix this issue, however you can modify the lib search paths for the whole system, for one particular user, for one shell session/script or for one program. If you wish, we could continue going into the details in a GitHub issue.

              S halfmanhalfcakeH 2 Replies Last reply Reply Quote 0
              • S
                shantigilbert @fluffypillow
                last edited by

                @fluffypillow said in Announcing Pegasus Frontend:

                @shantigilbert The problem you have is that the OS doesn't find a library required by the executable, and thus can't even start the program. As such, adding QtService can't fix this issue, however you can modify the lib search paths for the whole system, for one particular user, for one shell session/script or for one program. If you wish, we could continue going into the details in a GitHub issue.

                Yeah I understand the issue, the problem seems to come that this does not happen if I run it directly, Pegasus-fe works wonderfully until I try to run it with systemd-run or with a .service file, that's is the weird issue.

                I could open an issue on github, but not sure if this is a problem with Pegasus itself or is something on Libreelec, but for the sake of keeping this thread on topic and if you don't mind I will open one.

                Thank you!

                1 Reply Last reply Reply Quote 0
                • halfmanhalfcakeH
                  halfmanhalfcake @fluffypillow
                  last edited by

                  @fluffypillow Quick question, is there anyway I can use a 'soundeffect' to play a wav file on a keypress?

                  fluffypillowF 1 Reply Last reply Reply Quote 0
                  • AndersHPA
                    AndersHP
                    last edited by

                    Hey @fluffypillow , what's the ETA on this request ?

                    My "Bubble Bobble" Themed Bartop Arcade
                    My Gameboy

                    1 Reply Last reply Reply Quote 0
                    • fluffypillowF
                      fluffypillow
                      last edited by

                      @AndersHP

                      • Favorite add/remove by buttonclick: will come after the metadata files are implemented (shouldn't be that far off now!).
                      • Page up/down function: this doesn't depend on anything else, so it'll probably just appear in one of the next releases. I wonder though, which gamepad buttons should be used here?

                      As for the current status, I spent the week tweaking the Qt builds to add 3D support, enable some features for the eventual USB tweaking, and fix support for an upcoming Raspberry firmware update. I've also spend some time copying all the assets and roms to a chinese pendrive for testing (literally took days!).

                      AndersHPA 1 Reply Last reply Reply Quote 0
                      • fluffypillowF
                        fluffypillow @halfmanhalfcake
                        last edited by

                        @halfmanhalfcake I think you could set up a SoundEffect to play on Keys.pressed/released.

                        halfmanhalfcakeH 1 Reply Last reply Reply Quote 0
                        • halfmanhalfcakeH
                          halfmanhalfcake @fluffypillow
                          last edited by

                          @fluffypillow I tried that but doesn't seem to recognise SoundEffect :(

                          1 Reply Last reply Reply Quote 0
                          • fluffypillowF
                            fluffypillow
                            last edited by

                            @halfmanhalfcake ah, apparently it's called Audio. You also have to import QtMultimedia 5.8 to use it.

                            halfmanhalfcakeH 1 Reply Last reply Reply Quote 1
                            • AndersHPA
                              AndersHP @fluffypillow
                              last edited by

                              @fluffypillow said in Announcing Pegasus Frontend:

                              @AndersHP

                              • Favorite add/remove by buttonclick: will come after the metadata files are implemented (shouldn't be that far off now!).
                              • Page up/down function: this doesn't depend on anything else, so it'll probably just appear in one of the next releases. I wonder though, which gamepad buttons should be used here?

                              Sounds good. With regards to page up/down, I'm using keyboard inputs, maybe you could map these as page up/down and maybe the L2 and R2 could be used for gamepads, so the previous/next platform gets mapped to only L1 and R1 instead of both shoulder and trigger buttons?

                              My "Bubble Bobble" Themed Bartop Arcade
                              My Gameboy

                              fluffypillowF 1 Reply Last reply Reply Quote 0
                              • halfmanhalfcakeH
                                halfmanhalfcake @fluffypillow
                                last edited by

                                @fluffypillow thanks, I’ll give that a go.

                                What’s the best play to ask questions on theme making? Happy for us to do it here or another place preferred?

                                1 Reply Last reply Reply Quote 1
                                • T
                                  tronkyfran
                                  last edited by

                                  Can I add videos on qml on pegasus right know? Im testing but it looks like Im not having any luck with this ...

                                  1 Reply Last reply Reply Quote 0
                                  • fluffypillowF
                                    fluffypillow @AndersHP
                                    last edited by

                                    @andershp Yeah that sounds good, then I'll start working on it as soon as these few remaining topics are done.

                                    @halfmanhalfcake I think a smaller thread would be useful to collect theme-related discussions in one place, so I've just opened a new topic [here]. Feel free to ask questions!

                                    @tronkyfran Yes, video playback is supported using the Video component (with import QtMultimedia 5.8). To actually play videos, call the object's play() function, or set autoPlay: true.

                                    1 Reply Last reply Reply Quote 2
                                    • meleuM
                                      meleu
                                      last edited by

                                      Hi @fluffypillow I was away from this thread for a while, but IIRC in the beginning I saw something about an Android port. Is it/will it be possible?

                                      We don't have a decent free frontend for Android currently (at least I don't know any), and Pegasus would be a game changer...

                                      By the way, thanks for sharing your awesome work with us!

                                      Cheers!

                                      • Useful topics
                                      • joystick-selection tool
                                      • rpie-art tool
                                      • achievements I made
                                      fluffypillowF 1 Reply Last reply Reply Quote 0
                                      • fluffypillowF
                                        fluffypillow @meleu
                                        last edited by

                                        @meleu Yup, it should be possible, just haven't tried it yet. Shouldn't take too much changes in the code, so I'll see if I can create an experimental build next week.

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

                                          @fluffypillow another question: what mkdocs theme are you using to generate the documentation pages? It looks very elegant.

                                          • Useful topics
                                          • joystick-selection tool
                                          • rpie-art tool
                                          • achievements I made
                                          fluffypillowF 1 Reply Last reply Reply Quote 0
                                          • fluffypillowF
                                            fluffypillow @meleu
                                            last edited by

                                            @meleu Thanks, I'm using Cinder, with some additional styling lifted from Material.

                                            1 Reply Last reply Reply Quote 1
                                            • 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.