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.2m 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.
    • N
      NeoBi @fluffypillow
      last edited by

      @fluffypillow Hi fluffy ! I hope you are well, I am working at this moment on an opening video and I want to know if there is a way to prevent pegasus to relaunch it when I leave a game. I tried api.memory, It works when I leave a Game, but when I restart Pegasus the opening video doesn't play.

      1 Reply Last reply Reply Quote 0
      • R
        RauTheLegendary
        last edited by

        Is there an easy way to invert a single axis for the analog sticks? I'm trying to map my arcade stick within Pegasus and the Y-axis is fine, but the X-axis is inverted.

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

          Sorry for the late replies,

          @NeoBi hmm there's no builtin way yet to detect whether the theme was loaded the first time or relaunched. Could be added in the future though.

          @RauTheLegendary this should work through the controller settings screen in Pegasus, do you run into some issues there? Or are you on Android? Alternatively you can manually edit the sdl_controllers.txt file in your config directory, I think you'll need to swap the leftx and rightx values of the controller.

          N 1 Reply Last reply Reply Quote 0
          • R
            RauTheLegendary
            last edited by

            I'm on the most recent version available in the RetroPie package, so Linux. When I try to map the stick in the settings screen I can only map the X-axis of the left stick by hitting it to the left. It doesn't register any mapping if I try to hit the stick to the right, the same goes for the Y-axis where it only registers me hitting down. After mapping through the settings screen the Y-axis works fine in menu's and the X-axis is inverted. This is what my sdl_controllers looks like after mapping through the settings screen:

            03000000790000000600000010010000,DragonRise Inc. Generic USB Joystick,a:b1,b:b0,back:b11,dpleft:h0.8,dpright:h0.2,leftshoulder:b5,leftx:a1,lefty:a0,rightshoulder:b2,righttrigger:b7,righty:a4,start:b10,x:b3,y:b4,platform:Linux,
            

            For some reason the rightx isn't even there. I've tried adding it like this:

            03000000790000000600000010010000,DragonRise Inc. Generic USB Joystick,a:b1,b:b0,back:b11,dpleft:h0.8,dpright:h0.2,leftshoulder:b5,leftx:a1,lefty:a0,rightshoulder:b2,righttrigger:b7,rightx:a3,righty:a4,start:b10,x:b3,y:b4,platform:Linux,
            

            With no result. I've tried to swap the values, and just a lot of different aN numbers in general, of both the leftx and rightx, but nothing seems to work. It either straight up doesn't work or the X-axis remains inverted. The strangest one is putting the leftx value at -a1. In that case the inversion works, except after the first input it starts inputting permanently to the left (even if I'm not touching the stick at all) which makes the menu unusable. These controllers work well in Emulationstation so it shouldn't be due to faulty hardware.

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

              @RauTheLegendary Hm could you try setting leftx to ~a1 (tilde + a1)? That should be the invert setting in theory. (Also ignore the rightx part, that refers to the right stick's X, sorry).

              You could also try evdev-joystick or evtest (not sure which one is available) which should print something out on every input event. Pegasus uses the same gamepad handling library as ES, so I'm not really sure why some devices work different here.

              1 Reply Last reply Reply Quote 0
              • N
                NeoBi @fluffypillow
                last edited by

                @fluffypillow It is ok Fluffy !^^ Thank you for your answer ! I can find a way to resolve that for the moment with autohotkey ! But I think it is not really clean.

                1 Reply Last reply Reply Quote 0
                • S
                  Seya16
                  last edited by

                  Hi @fluffypillow I have some questions/suggestions :

                  1. Is it possible within the future update to have a "last played" section or is there a script I can use (in the metadata text file) to make it happend ?
                  2. A battery indicator would be a very nice addition for portable device in my opinion (I use Pegasus on my GPD WIN 2)

                  Thanks in advance and keep up the good work !!

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

                    @Seya16 ah sorry for the late reply, somehow I missed the forum notification...

                    1. This depends on the themes: Pegasus can tell the themes when were the games launched so theme makers can add such feature. Maybe in the future there could be support for it in the default theme too.
                    2. Not sure if that's possible on every platform, but will look into it!
                    DarksaviorD 1 Reply Last reply Reply Quote 0
                    • DarksaviorD
                      Darksavior @fluffypillow
                      last edited by

                      @fluffypillow Is there a way to view more than 20 systems? There is a grey area on the top right for more systems to fit there.

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

                        @Darksavior There was a plan originally to have a clock there, but it wasn't added yet. You can change the number of items and the width of the bar around here in the theme's code.

                        1 Reply Last reply Reply Quote 1
                        • C
                          C-Drive
                          last edited by

                          Is there a way to customize the auto-added libraries (Steam, GOG, etc) - with custom images and custom collections via a metadata.pegasus file? Couldn't seem to find an answer anywhere I looked. Thank you!

                          fluffypillowF 1 Reply Last reply Reply Quote 0
                          • fluffypillowF
                            fluffypillow @C-Drive
                            last edited by

                            @C-Drive not yet, but I'd like to add support for that eventually!

                            C 1 Reply Last reply Reply Quote 0
                            • C
                              C-Drive @fluffypillow
                              last edited by

                              @fluffypillow Thanks for letting me know - I look forward to it! I love this frontend and the simplicity and customizing it provides. Thanks for developing it.

                              1 Reply Last reply Reply Quote 1
                              • M
                                msheehan79
                                last edited by

                                @fluffypillow Question - is there any way a theme could modify the contents of a collection through the frontend?

                                I've been thinking it would be a nice feature to have a "Games in Progress" type collection that I could "tag" games to as I am using the system, sort of the same logic as "Favorites" use now but I would envision it to be more temporary, only having a handful of games I am currently in the middle of stored there and that would be updated regularly as I finish or start games.

                                I am pretty sure the API doesn't support writing back to collection data but wanted to confirm that is the case. I know I could repurpose "Favorites" for this but I do use favorites already so I wanted to see if there was any current support for similar functionality, or even if there was any other writable fields on the game or collection object I could use for this idea.

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

                                  @msheehan79 At the moment the only writable field is the favorite for games. However, if you don't mind it being theme-specific, you can use api.memory to store arbitrary data like this too. Creating "virtual" collections is also possible with some JavaScript magic; I haven't made yet a theme that'd use this, but if I remember correctly it came up with the gpiOS theme.

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    msheehan79 @fluffypillow
                                    last edited by

                                    @fluffypillow Ah right! For some reason in my head I was thinking api.memory would not persist between sessions, I forgot it stores the data in a file. That would definitely work for what I have in mind.

                                    Indeed the virtual collections works well; I am using a customized version of the fantastic gameOS theme that includes Last Played and Favorites as virtual collections, I would intend to add this as a third virtual collection along the same lines.

                                    Thanks!

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jerzeeloon
                                      last edited by

                                      Was there a change to asset names? I can't for the life of me get my boxart to show.

                                      1 Reply Last reply Reply Quote 0
                                      • DarksaviorD
                                        Darksavior @fluffypillow
                                        last edited by Darksavior

                                        Nevermind.

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

                                          Sorry for the lack of replies and updates. Lately my schedule is a mess, but I'm still alive and will see if I can continue the development soon.

                                          B DarksaviorD 2 Replies Last reply Reply Quote 1
                                          • B
                                            bhakta @fluffypillow
                                            last edited by

                                            @fluffypillow thank you for your work!

                                            I have tons of nfo files. each rom has it's own matching nfo file in the same directory. the nfo files are laid out

                                            <?xml version="1.0" encoding="utf-8" standalone="yes"?>
                                            <game>
                                            <title>My Game</title>
                                            <description>My Game</description>
                                            <year>2020</year>
                                            <genre>Strategy</genre>
                                            <nplayers>2 player</nplayers>
                                            <esrb>esrb - t (teen)</esrb>
                                            <rating>3.5</rating>
                                            <developer />
                                            <plot>...</plot>
                                            </game>

                                            This is the output from Advanced Emulator Launcher
                                            Is there a way to convert these or a way for Pegasus Fe to read these files?

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