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.3m 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.
    • fluffypillowF
      fluffypillow @Darksavior
      last edited by

      @Darksavior if talking about completely new users, wouldn't it be more common to assume they will just use eg. Skraper and copy its output, rather than downloading a different frontend to use its built-in scraper (if it still works) to get half the assets in one format, then use a different standalone skraper to get the rest in another, then manually copy/move/rename the files into a third kind of asset structure? :)

      But yes, in the long term a cross-platform built-in scraper would be nice. I'll likely make it as a separate app first for testing though, but if it ends up working fine it could be integrated too.

      @Meldrak the E:\games\wiiu[ARPP0101]\code\red-pro2.rpx looks suspicious to me, isn't a \ missing there or is that intentional? If that turns out to be the problem, could you post your metafile?

      DarksaviorD M 2 Replies Last reply Reply Quote 0
      • sergioadS
        sergioad
        last edited by sergioad

        I love this front end, the only issue I found in small 8 game collections arround 4 to 8 games after changing one single page back and forward the images now appear bigger needing to do so two pages to avoid the bug, other than that I LOVE this frontend and I hope it matures into a beutyfull frontend capable of rivaling ES as the default RetroPie frontend

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

          @fluffypillow I don't believe any scraper uses Pegasus's naming scheme for logos/screenshots. I had to use a renaming utility which was very inconvenient.

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

            @fluffypillow sorry I didn't see that, but I Don't know why it was not working, as my metadata is correct
            file: ./[ARPP0101]/code/red-pro2.rpx
            I tested again today and it works rom path is correct, I just rebooted Windows….

            could you add icons for wiiu, ps2 and n3ds in your default theme?

            1 Reply Last reply Reply Quote 0
            • hooperreH
              hooperre
              last edited by hooperre

              @fluffypillow Should the following launch all GB and GBC games as Game Boy Color in terms of RetroArch settings if placed in the GBC folder?

              collection: Game Boy Color
              shortname: gbc
              extensions: gbc, zip, GBC, ZIP
              command: /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ gbc "{file.path}"
              
              collection: Game Boy
              shortname: gb
              extensions: gb, zip, GB, ZIP
              command: /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ gbc "{file.path}"
              
              

              4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

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

                @fluffypillow great to hear the relative path is working now!

                When I have a chance I'll update my metadata files back to the relative paths to give it another shot and confirm all is working with the latest builds. Thanks!

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

                  @sergioad yes that's a very old bug in the main theme, I really should fix it some of these days.

                  @Darksavior yes, no scraper supports Pegasus yet, but that's also why there's support for ES's and Skraper's output, that most of them do. Hopefully the situation will get better in the future :)

                  As for renaming the files, perhaps that could scripted in some way to save time?

                  @Meldrak I've just pushed some updates, could you check the launching with the latest version (alpha11-34)?

                  Yes, could be added, some of them were also requested by others so will take a look on them.

                  @hooperre both collections have same launch command, so they should (unless RetroArch itself does some additional logic).

                  sergioadS M 2 Replies Last reply Reply Quote 0
                  • sergioadS
                    sergioad @fluffypillow
                    last edited by

                    @fluffypillow by the way could you add an option to hide the mouse cursor? In RetroPie I rarely use a mouse, maybe it could be implemented by a flag being pegasus-fe --nocursor; another great posible flag could be --nologs to avoid the pegasus logs in the background (the text that appears when launching a game or a RetroPie settings app) making the UX cleaner

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

                      @sergioad yes the cursor hiding will come eventually as an option under Settings, to make it easier. There's also already a --silent flag to turn off log printing (or you can just redirect it to /dev/null).

                      sergioadS 1 Reply Last reply Reply Quote 0
                      • sergioadS
                        sergioad @fluffypillow
                        last edited by

                        @fluffypillow excelent! thanks, please @ me when you implement the cursor hiding please

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

                          @fluffypillow Just wanted to pass along that I updated my metadata.txt files to use relative paths and all is working as expected now. Thanks for fixing this!!

                          1 Reply Last reply Reply Quote 0
                          • Purg.DerrenP
                            Purg.Derren
                            last edited by Purg.Derren

                            hey fluffy! long time i've posted smth here ...
                            i've "completed" my rom collection on a nvidia shield tv and wanted to add pegasus as a frontend (again), but it's totally changed it seem :D the only thing i can see on all themes is the main menu ...what do i need to change / update to see my roms again :D ?

                            found smth useful in the doc, i'll try it on my own first :)

                            edit: ok, tried it, but still nothing. My pegasus frontend is totally empty ...no systems, no roms nothing. What am i doing wrong? o.O

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

                              @sergioad sure, will try to. There's also this issue you can subscribe to to get notified the moment it gets fixed.

                              @Purg-Derren yes there've been a few changes since alpha 10, you can find the details and update help on this page. But feel free to ask if you run into any troubles!

                              sergioadS Purg.DerrenP 2 Replies Last reply Reply Quote 0
                              • sergioadS
                                sergioad @fluffypillow
                                last edited by

                                @fluffypillow Ok, thanks

                                1 Reply Last reply Reply Quote 0
                                • Purg.DerrenP
                                  Purg.Derren @fluffypillow
                                  last edited by

                                  @fluffypillow figured it out, finally :)
                                  any solution on preventing pegasus to "crash" on android after closing an emulator?

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    jerzeeloon @Purg.Derren
                                    last edited by jerzeeloon

                                    @Purg-Derren also having this issue. By chance are you on shield TV or a different device cause I'm on shield and was wondering if it was an isolated issue?

                                    Purg.DerrenP 1 Reply Last reply Reply Quote 0
                                    • Purg.DerrenP
                                      Purg.Derren @jerzeeloon
                                      last edited by

                                      @jerzeeloon i'm on shield, but also had tha issue on a different android based streaming device time ago

                                      1 Reply Last reply Reply Quote 1
                                      • N
                                        nemo93
                                        last edited by

                                        @fluffypillow: hello :)

                                        => Could you post an example (screenshot/XML)? It seemed to be correct for me (though I don't use ES much these days)?
                                        sure. To be clear below is what I have and what I see today in ES2 UI as one game description. I have a blank line between the 2 paragraphs (\n\n if you will).

                                        A follow-up to the original Lode Runner, with identical gameplay.
                                        This package contained 50 of the most challenging levels ever designed, and was
                                        intended for expert players only. It did not include the level editor, you had
                                        to play through the levels in order, but a save-game option was provided
                                        (although you lost one life every time you restored).
                                        
                                        Successful completion of Championship Lode Runner provided the player with a
                                        victory code, which could be written on a special card included with the game
                                        (photocopies were not accepted) and mail it in for a free certificate.
                                        

                                        After converting using the online tool this gives:

                                        description: A follow-up to the original Lode Runner, with identical gameplay.
                                          This package contained 50 of the most challenging levels ever designed, and was
                                          intended for expert players only. It did not include the level editor, you had
                                          to play through the levels in order, but a save-game option was provided
                                          (although you lost one life every time you restored).
                                          .
                                          Successful completion of Championship Lode Runner provided the player with a
                                          victory code, which could be written on a special card included with the game
                                          (photocopies were not accepted) and mail it in for a free certificate.
                                        

                                        Which translates in Pegasus left panel into:

                                        description: A follow-up to the original Lode Runner, with identical gameplay.
                                          This package contained 50 of the most challenging levels ever designed, and was
                                          intended for expert players only. It did not include the level editor, you had
                                          to play through the levels in order, but a save-game option was provided
                                          (although you lost one life every time you restored).
                                        Successful completion of Championship Lode Runner provided the player with a
                                        victory code, which could be written on a special card included with the game
                                        (photocopies were not accepted) and mail it in for a free certificate.
                                        

                                        Adding a second dot below I can successfully have my blank line back in Pegasus frontend:

                                        description: A follow-up to the original Lode Runner, with identical gameplay.
                                          This package contained 50 of the most challenging levels ever designed, and was
                                          intended for expert players only. It did not include the level editor, you had
                                          to play through the levels in order, but a save-game option was provided
                                          (although you lost one life every time you restored).
                                          .
                                          .
                                          Successful completion of Championship Lode Runner provided the player with a
                                          victory code, which could be written on a special card included with the game
                                          (photocopies were not accepted) and mail it in for a free certificate.
                                        

                                        I have successfully moved 100% to Pegasus now, no more ES2 at all. I'm extensively testing Pegasus hence I do have additional feedbacks to share if you don't mind.

                                        1. Pegasus launch time. When I was relying on ES2 gamelist.xml Pegasus launched in a matter of few seconds (under 10 seconds always). Now with my metadata.txt I can see in the lastrun.log file that it takes almost up to 18 seconds. That's ok though this is just a feedback.
                                        2019-03-24T11:16:37 [i] Games found in 17907ms
                                        2019-03-24T11:16:37 [i] Assets and metadata found in 54ms
                                        2019-03-24T11:16:38 [i] 6351 games found
                                        
                                        1. That one is more problematic as it tends to hang up Pegasus process. It occurs whenever the "collection" or metadata.txt refers to a non-existing file (or files). It's ok if only image (asset.boxFront) or asset.logo are missing as Pegasus will show a black frame instead of the image. It goes bad should the asset.video caption be missing. In that case, Pegasus does freeze completely as its process eats up 100% of my Pi CPU. Luckily I can still ssh to the Pi to terminate the process but it's a bit annoying. For the record here's what being recorded in the lastrun.log file whenever I encounter such issue.
                                        2019-03-24T11:26:48 [w] file:///home/pi/.config/pegasus-frontend/themes/custom/layer_grid/GameGridItem.qml:44:5: QML Image: Cannot open: file:///home/pi/.config/pegasus-frontend/metafiles/nes/Castle of Deceit (USA) (Unl)-image.jpg
                                        2019-03-24T11:28:45 [w] file:///home/pi/.config/pegasus-frontend/themes/custom/layer_gameinfo/PanelRight.qml:46:5: QML Image: Cannot open: file:///home/pi/.config/pegasus-frontend/metafiles/nes/Castle of Deceit (USA) (Unl)-marquee.png
                                        2019-03-24T11:28:46 [w] GStreamer; Unable to pause - "file:///home/pi/.config/pegasus-frontend/metafiles/nes/Castle of Deceit (USA) (Unl)-video.mp4"
                                        2019-03-24T11:28:46 [w] GStreamer; Unable to pause - "file:///home/pi/.config/pegasus-frontend/metafiles/nes/Castle of Deceit (USA) (Unl)-video.mp4"
                                        2019-03-24T11:28:46 [w] GStreamer; Unable to pause - "file:///home/pi/.config/pegasus-frontend/metafiles/nes/Castle of Deceit (USA) (Unl)-video.mp4"
                                        2019-03-24T11:28:46 [w] GStreamer; Unable to pause - "file:///home/pi/.config/pegasus-frontend/metafiles/nes/Castle of Deceit (USA) (Unl)-video.mp4"
                                        2019-03-24T11:28:46 [w] GStreamer; Unable to pause - "file:///home/pi/.config/pegasus-frontend/metafiles/nes/Castle of Deceit (USA) (Unl)-video.mp4"
                                        [and it goes on and on forever growing file size as well]
                                        

                                        Thanks again, this is a great frontend.

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

                                          @fluffypillow said in Announcing Pegasus Frontend:

                                          @Meldrak I've just pushed some updates, could you check the launching with the latest version (alpha11-34)?
                                          Yes, could be added, some of them were also requested by others so will take a look on them.

                                          It works, but finally there's another issue from cemu emulator
                                          This one create configurations files in directory from the rom launch
                                          from E:\games\wiiu\cemu\cemu.exe -g E:\games\wiiu[ARPP0101]\code\red-pro2.rpx -f
                                          shaders, profiles, settings should be read from E:\games\wiiu\cemu
                                          but instead it create new files in E:\games\wiiu[ARPP0101]\code\

                                          It's not a Pegasus issue, so I Don't think you can do anything
                                          as workaround I'm launching bat file for each rom like that

                                          @ECHO off
                                          CD E:
                                          CD E:\games\wiiu\cemu
                                          SET HOME=E:\games\wiiu\cemu
                                          E:\games\wiiu\cemu -g "E:\games\wiiu\\[ARPP0101]\code\red-pro2.rpx" -f
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • fluffypillowF
                                            fluffypillow
                                            last edited by

                                            @Purg-Derren @jerzeeloon yes Pegasus started crashing on Android not too long ago. Not sure what causes it yet but will look into it.

                                            @nemo93 ah I see the problem now, thanks. Yes, the single dot should mean an empty line, it's fixed now in the latest release.

                                            1. Pegasus launch time.

                                            Will look into it. If you have example XML and metadata files where this can always be reproduced, that'd also help.

                                            1. It occurs whenever the "collection" or metadata.txt refers to a non-existing file (or files).

                                            Hm will see if I can control GStreamer somehow. Do you have lots of assets in the metadata that don't exist?

                                            @Meldrak yes some programs seem to have troubles when they're started from outside of their directory. I'll try to fix this in the next release.

                                            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.