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

Announcing Pegasus Frontend

Scheduled Pinned Locked Moved
Ideas and Development
frontend pegasus c++ development qml
145
1.7k
3.0m
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.
  • A
    AndersHP @danielmewhouse
    last edited by 11 Dec 2017, 13:25

    @danielmewhouse said in Announcing Pegasus Frontend:

    Hi guys, what's up? I've installed Pegasus-FE recently on my Pi, but I don't know how to launch it. Someone could help me?

    Yes, I asked this question too.. Right here :)

    My "Bubble Bobble" Themed Bartop Arcade
    My Gameboy

    1 Reply Last reply Reply Quote 1
    • A
      AndersHP
      last edited by 14 Dec 2017, 09:01

      I'm about to start scraping all over, but in case I need to do this another time, it would be nice to have both art and games on USB instead of microSD.

      @fluffypillow You say that generally USB and MicroSD should be equally fast, maybe USB could be faster.
      @Darksavior you say that USB is slower.

      Do you guys think, if I get a USB 3.1 drive (they should be way faster even though I know the Pi only supports USB2.0), this could be a good solution with both art and roms on USB?

      What about Emulationstation, will this still work and show art if it's placed in romsfolder/media?

      My "Bubble Bobble" Themed Bartop Arcade
      My Gameboy

      F 1 Reply Last reply 17 Dec 2017, 12:55 Reply Quote 0
      • F
        fluffypillow @AndersHP
        last edited by 17 Dec 2017, 12:55

        @andershp (sorry for the late reply)
        Really depends on the drives you use. Many 2.0 drives don't reach the maximum possible speed the Pi supports, while with a 3.x drive it's more likely. A good SD card may also reach the full speed, but to me they seem to be slower.

        Some benchmarks:

        • https://usbspeed.nirsoft.net/usb_drive_speed_summary.html
        • https://www.pidramble.com/wiki/benchmarks/microsd-cards

        What about Emulationstation, will this still work and show art if it's placed in romsfolder/media?

        Should work fine, as long as the paths to the rom directories are valid. Actually if you're just moving your games/assets to USB, you could just correct the paths in the ES2 systems config file, no need for a full scraping.

        1 Reply Last reply Reply Quote 1
        • F
          fluffypillow
          last edited by 25 Dec 2017, 23:39

          It got a bit delayed with the holidays, but the theme guide is in progress now.

          H 1 Reply Last reply 26 Dec 2017, 14:09 Reply Quote 1
          • H
            halfmanhalfcake @fluffypillow
            last edited by 26 Dec 2017, 14:09

            @fluffypillow Great stuff, look forward to it :)

            1 Reply Last reply Reply Quote 0
            • F
              fluffypillow
              last edited by 2 Jan 2018, 23:45

              Happy New Year! And also an update:

              • implemented the new config file format, but currently only for the theme config file so I could start writing the documentation
              • changed the config format a bit
                • : is also accepted as the separator between an option's name and value (previously only = was accepted)
                • [] is no longer needed at the end of an option's name to indicate it to be a list: it's handled automatically when an option occurs more than once
              • the loading screen will likely be themeable in the future -- I've added some light animations to show activity, which seems to work fine on Pi 3 but might be demanding on other platforms (due to the loading in the background); this needs some more testing
              • fixed a bug that caused Pegasus to miss assets in symlinked directories in some cases
              • fixed a bug when reading the <rating> field from ES2 files
              • changed some variables around in the theme system while I was writing the documentation -- updated the Flixnet theme for this
              • better support for games with multiple developers, publishers or genres

              Documentation is in progress; I think I can finish/polish them by this week (or the next), and I'll upload them all then. Current status:

              • set up a pretty website for the documentation and moved the wiki articles there
              • fixed some typos
              • updated the Qt installation guide with images and notes (for C++ devs)
              • added theme creation overview (QML, theme structure, stuff Pegasus provides)
              • added a page with links to QML tutorials
              • added detailed API documentation
              • added a step-by-step guide for making the Flixnet theme (60% done)
              • will add at least one more simpler tutorial too (eg. something like a stripped-down PS3 menu, or a remake of ES2 or HyperSpin's default)
              A 1 Reply Last reply 3 Jan 2018, 12:46 Reply Quote 5
              • A
                AndersHP @fluffypillow
                last edited by 3 Jan 2018, 12:46

                @fluffypillow Your work is awesome. Do you have an ETA on these features:

                • Favorite add/remove by buttonclick
                • Page up/down function

                Not at all to stress you, just a friendly query. These two functions would get Pegasus up on the side of EmulationStation, when it comes to functionality (in my humble point of view).

                My "Bubble Bobble" Themed Bartop Arcade
                My Gameboy

                F 1 Reply Last reply 3 Jan 2018, 16:51 Reply Quote 0
                • H
                  halfmanhalfcake
                  last edited by 3 Jan 2018, 13:07

                  Great news, look forward to the theme guide :)

                  Quesiton on the below:

                  • the loading screen will likely be themeable in the future

                  Can we also theme/modify the settings menu/panel?

                  1 Reply Last reply Reply Quote 0
                  • F
                    fluffypillow @AndersHP
                    last edited by 3 Jan 2018, 16:51

                    @andershp no problem; my top priority now to bring the documentation to a usable state so people could start learning theming, after that I'll add the support for the new metadata files (which shouldn't take more than a few days). With these two major updates down, I can start working on all these usability tweaks and issues I keep collecting. As for an ETA, I think I can complete these two still in this month.

                    @halfmanhalfcake my only problem with theming the main menu is that since a theme can completely customize the UI, if there's a bug in it or someone forgets to eg. add the Settings button, then you might not be able to change the theme back without editing the config files. Technically there's no difference between the parts of the user interface, the whole graphical part is written in QML and so can be customized; it's not impossible that there will be support for menu themes too.

                    1 Reply Last reply Reply Quote 2
                    • A
                      AndersHP
                      last edited by AndersHP 1 Jul 2018, 18:54 7 Jan 2018, 18:32

                      I'm trying to make some dummyroms with system images and descriptions.
                      Cannot delete my post now, but if someone wants to do the same, or suddenly realizes nothing's working for them, check if there's an "&" sign in the description. This messes up everything..

                      My "Bubble Bobble" Themed Bartop Arcade
                      My Gameboy

                      M 1 Reply Last reply 7 Jan 2018, 19:23 Reply Quote 0
                      • M
                        mitu Global Moderator @AndersHP
                        last edited by 7 Jan 2018, 19:23

                        @andershp said in Announcing Pegasus Frontend:

                        check if there's an "&" sign in the description

                        & is a reserved character in an XML document, you should escape it with &amp;.

                        1 Reply Last reply Reply Quote 1
                        • danielmewhouseD
                          danielmewhouse
                          last edited by 7 Jan 2018, 23:42

                          Hi guys, happy New year!!!

                          I give a shoot on Pegasus, and it's beautiful!!! It's exactly what I was looking for on emulationstation!!! But there's a way to do some input config? I've a custom made arcade Bartop with just a dpad, start, select and six action buttons, but this doesn't work on Pegasus, that requires an analog input to browse through the games.

                          It's no use!!! Take this!!!

                          A 1 Reply Last reply 8 Jan 2018, 08:21 Reply Quote 0
                          • A
                            AndersHP @danielmewhouse
                            last edited by 8 Jan 2018, 08:21

                            @danielmewhouse you have to be more specific, hardwarewise. What controller do you have to translate your inputs and to what? Is it a xinmo, iPac or something else?

                            You can get Pegasus working perfectly without analog sticks. I have almost the same buttons as you do.

                            If It translates into keyboard inputs, I don't know if @fluffypillow integrated custom inputs mapping yet?
                            What I did with my iPac, is that I changed all inputs to match the standard of Pegasus (see here) and afterwards I mapped the controls again in Emulationstation (just to get both systems working, for a transitional period).

                            As you can see on the above link, it's fairly easy. I made my joystick work as directional buttons (up, down, etc.), my first two buttons work as Enter and Esc (which also is very handy in random GUI's), and my upper left is lctrl. The last two needed buttons I just assigned A and E, to switch between systems.

                            My "Bubble Bobble" Themed Bartop Arcade
                            My Gameboy

                            1 Reply Last reply Reply Quote 0
                            • F
                              fluffypillow
                              last edited by 8 Jan 2018, 10:45

                              Yes, Pegasus supports navigating by the keyboard arrow keys and the gamepad left analog stick and dpad (it uses evdev input events on Linux, if that helps). Custom keyboard mapping is not implemented yet, but might come later. It's also not in sync yet with the emulators and other frontends, so you might want to set the mapping in ES too for now.

                              1 Reply Last reply Reply Quote 0
                              • F
                                fluffypillow
                                last edited by fluffypillow 1 Sept 2018, 21:26 9 Jan 2018, 21:25

                                Documentation is still ongoing, though with the Flixnet tutorial slowly going over 30 printed pages long, I'm starting to think I'm making it a bit too detailed :)
                                (mind you, I've included a bunch of screenshots, code snippets, animations and figures)

                                T 1 Reply Last reply 9 Jan 2018, 22:14 Reply Quote 3
                                • T
                                  tronkyfran @fluffypillow
                                  last edited by 9 Jan 2018, 22:14

                                  @fluffypillow Thats AWESOME. Ive been taking a look to QML from time to time and I hope to start my theme with this tutorial youre doing. By the way, do hoy think its posible to use qt3d with Pegasus? I tried some things but couldnt make It work inside Pegasus..., although video and many other things work pretty well!!!

                                  F 1 Reply Last reply 9 Jan 2018, 22:52 Reply Quote 0
                                  • F
                                    fluffypillow @tronkyfran
                                    last edited by 9 Jan 2018, 22:52

                                    @tronkyfran Yeah it's entirely possible, you can use pretty much every QML types (except Quick Controls and the web browser). I think I might've disabled some parts of the 3D module previously to reduce the program size, but I'll double check the next time I do a full build.
                                    Also feel free to open an issue if you find any bugs, and/or share the error here :)

                                    T 1 Reply Last reply 10 Jan 2018, 11:38 Reply Quote 1
                                    • T
                                      tronkyfran @fluffypillow
                                      last edited by 10 Jan 2018, 11:38

                                      @fluffypillow I would open an issue if I was enterely sure that its a bug and not my fault because of lacking programming skills. Ill wait until next build and theme tutorial ;). Again, thanks!!!!

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        fluffypillow
                                        last edited by 17 Jan 2018, 15:33

                                        I'm still writing the documentation, sorry for it taking so long. Writing a guide makes you realize how to make things simpler to use, so I keep tweaking things around, which then require changes in the already written parts of the docs. But it'll be done eventually.

                                        T H 2 Replies Last reply 17 Jan 2018, 18:18 Reply Quote 2
                                        • T
                                          tronkyfran @fluffypillow
                                          last edited by 17 Jan 2018, 18:18

                                          @fluffypillow Take your time, we're talking about 20 years old games so I think we're not in a hurry ;)

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

                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]