• 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
frontendpegasusc++developmentqml
1.7k Posts 145 Posters 5.0m 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.
  • F
    fluffypillow
    last edited by 5 Sept 2017, 21:00

    Weekly changelog:

    • Pegasus can now be controlled with more than one gamepad (in case you had problems before; also this item would need some testing)
    • added gamepad analog stick navigation support
    • the list of languages is no longer hardcoded
    • minor changes due to cleaning up the code
    D 1 Reply Last reply 5 Sept 2017, 21:43 Reply Quote 1
    • D
      Darksavior @fluffypillow
      last edited by Darksavior 9 Jun 2017, 06:40 5 Sept 2017, 21:43

      @fluffypillow Thanks for the analog controls. Seems to work fine.

      I just tried it now. Sad to see there's now spacing in between games. I really liked the way they were before. Hopefully you'll add choices in how it looks in the future. Have you thought on how to adjust the layout? I'd figure rows of 5, 4, 3, or 2 horizontal. 4 seemed really well for sfc and cd games. I'd like to see how well 3 looks for arcade games.

      F 1 Reply Last reply 7 Sept 2017, 07:08 Reply Quote 0
      • F
        fluffypillow @Darksavior
        last edited by 7 Sept 2017, 07:08

        @darksavior Pegasus should show 4 columns for platforms with wide box art (eg. SNES) and 5 for tall ones (eg. NES). Previously it was manually set to 5 for the NES, but a few weeks ago I've changed it to guess the columns from the actual images. It should look like this:
        https://snag.gy/35f7we.jpg
        https://snag.gy/cOAIy6.jpg

        If there are random spacings around, that's likely a bug (can't test with all possible box arts after all).

        A 1 Reply Last reply 7 Sept 2017, 07:48 Reply Quote 0
        • A
          AndersHP @fluffypillow
          last edited by 7 Sept 2017, 07:48

          @fluffypillow It looks so awesome!
          What's the status in regards to us non-coders, plain gamers?

          Does it make sense to install it now, or should we wait a couple of months?

          My "Bubble Bobble" Themed Bartop Arcade
          My Gameboy

          F 1 Reply Last reply 7 Sept 2017, 09:09 Reply Quote 0
          • F
            fluffypillow @AndersHP
            last edited by 7 Sept 2017, 09:09

            @andershp it should be fairly stable and work fine for general use. Its just that it's not too user friendly yet, lacks documentation and some features are not yet done (game entry editing, system informations, custom config files, a clock in the corner). You can give it a try, see how it works for you.
            Steam support and RetroArchivements integration is also planned, a theme repository and an update checker might be useful too, and we'd need a nice logo/icon in the future as well.

            L A 2 Replies Last reply 7 Sept 2017, 10:19 Reply Quote 0
            • L
              lilbud @fluffypillow
              last edited by 7 Sept 2017, 10:19

              @fluffypillow said in Announcing Pegasus Frontend:

              we'd need a nice logo/icon in the future as well.

              I'll be here if you need help

              Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

              Backlog: http://backloggery.com/lilbud

              1 Reply Last reply Reply Quote 1
              • A
                AndersHP @fluffypillow
                last edited by 7 Sept 2017, 12:07

                @fluffypillow Custom config files - as in retroarch.cfg files?

                My "Bubble Bobble" Themed Bartop Arcade
                My Gameboy

                1 Reply Last reply Reply Quote 0
                • F
                  fluffypillow
                  last edited by 7 Sept 2017, 17:17

                  @AndersHP as in game list and system definition files. Currently Pegasus uses ES2's XML files, but it shouldn't depend on them.

                  @lilbud I've made a GitHub issue for it previously, but didn't really made progress on it; I'll add some "inspirational materials" and details the weekend in case you want draw something nice.

                  @dudleydes could you create a new issue for the controller problem? I'd be easier for me to see the related discussion in one place.

                  D 1 Reply Last reply 9 Sept 2017, 10:40 Reply Quote 0
                  • D
                    dudleydes @fluffypillow
                    last edited by 9 Sept 2017, 10:40

                    @fluffypillow I have created an issue at the Github page.

                    I have installed Qt Creator on my desktop but I really can't figure out how to create a theme for Pegasus. I would be grateful if you could give a guide on how to get started.

                    F 1 Reply Last reply 9 Sept 2017, 14:36 Reply Quote 0
                    • F
                      fluffypillow @dudleydes
                      last edited by 9 Sept 2017, 14:36

                      @dudleydes yeah the theming is still not properly documented, but you can use the Flixnet theme as an example in the meanwhile (or the default theme, which has some more complex parts).

                      In short, every theme needs a theme.ini metadata file and a theme.qml, the main QML file. These files should be under ~/.config/pegasus-frontend/themes/<theme name>/.

                      The theme.ini is a list of key = value pairs, you'll need at least a name (other values aren't used at the moment). The format may also change in the future, eg. I'll likely start using : instead of =.

                      The theme.qml is the QML component that'll fill the screen, which at the moment must be a FocusScope with active focus:

                      import QtQuick 2.7
                      
                      FocusScope {
                          focus: true
                      
                          // your code here
                      }
                      

                      Other than that, you're free to use whatever QML elements you want (EXCEPT the Qt Quick Controls 1/2 items, as they aren't really for this kind of application and are not available in the automatic builds).

                      To access the game data, you can use the similarly undocumented pegasus object:

                      • pegasus.platforms is a list (= you can use as a model) of platforms
                      • pegasus.currentPlatform is the currently selected platform
                      • pegasus.currentPlatformIndex is the index of the currently selected platform (most parts are read-only, but this is a field is writable)

                      Every platform has a shortName (eg. nes) and longName (which is currently empty as ES2 files only have one <name>) field, and games, currentGame and currentGameIndex fields, which work similarly as listed above.

                      Finally, every game has the following single-value fields: boxFront, boxBack, boxSpine, boxFull, box (same as boxFull), cartridge, logo, marquee, bezel, gridicon, flyer, music, and the following lists: fanarts, screenshots, videos.

                      Note that values may be empty (eg. no games for a platform, or no particular asset for a game). The field names may also change (we're still in alpha). Also in case you see .qmlc files, those are caches, no need eg. commit them to Git or such.

                      1 Reply Last reply Reply Quote 0
                      • F
                        fluffypillow
                        last edited by 10 Sept 2017, 20:18

                        Weekly changelog: Nothing interesting this week, as I was working on another side project.
                        In case you'd like to try drawing a logo and want to read my nasty comments about your entries, I've updated the relevant issue.

                        D 1 Reply Last reply 15 Sept 2017, 08:46 Reply Quote 0
                        • D
                          Darksavior @fluffypillow
                          last edited by Darksavior 15 Sept 2017, 08:46

                          @fluffypillow My mistake for saying there was a change in the spacing. I just got used to some sections being 4 columns not 5. Changing column numbers should be about the last feature I'm waiting for along with exiting game going back to the game itself and not the beginning of the list.

                          1 Reply Last reply Reply Quote 0
                          • T
                            tronkyfran
                            last edited by 17 Sept 2017, 10:55

                            Well, I got working the blend image modes for my theme!!!was pretty easy, now to get a look to qt3d and rasp compatibility, that will be harder for sure. When I get everything working I can make a tutorial if anyone is interested! I see HUGE possibilities for this frontend,just dont know if the pi will hace enough juice for it ;)

                            1 Reply Last reply Reply Quote 3
                            • F
                              fluffypillow
                              last edited by 17 Sept 2017, 18:32

                              @tronkyfran nice! I think if the Pi can play 3D games properly then you shouldn't have problems showing a simple scene either :)

                              As for the weekly changelog, I've only had time the weekend, so there are just some minor fixes:

                              • the grid now remembers the launched game when returning from play (< @Darksavior ;) )
                              • memory optimizations: Pegasus now uses a little less RAM
                              L 1 Reply Last reply 17 Sept 2017, 22:29 Reply Quote 2
                              • L
                                lilbud @fluffypillow
                                last edited by 17 Sept 2017, 22:29

                                Do you think you could add a basic view to Pegasus?

                                Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                                Backlog: http://backloggery.com/lilbud

                                1 Reply Last reply Reply Quote 1
                                • F
                                  fluffypillow
                                  last edited by 18 Sept 2017, 14:46

                                  What kind of basic view? Just the grid without showing the details?

                                  L 1 Reply Last reply 18 Sept 2017, 16:34 Reply Quote 0
                                  • L
                                    lilbud @fluffypillow
                                    last edited by 18 Sept 2017, 16:34

                                    @fluffypillow Yeah, just like EmulationStation. A simple list

                                    Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                                    Backlog: http://backloggery.com/lilbud

                                    1 Reply Last reply Reply Quote 2
                                    • F
                                      fluffypillow
                                      last edited by 24 Sept 2017, 20:17

                                      This week I've worked on improving the general "user experience":

                                      • added confirmation dialog before shutdown and reboot
                                      • added an error message when no games have been found
                                      • added an error message when the selected theme couldn't be loaded
                                      • fixed the antialiasing of the platform bar's edges
                                      • made the main menu animations somewhat smoother

                                      Fullscreen support on desktop is also almost done, I'll just have to add the relevant option in the settings menu. I'm also planning to clean that menu up a bit, then add theme-specific settings, which would also allow implementing eg. a basic view for the default theme.

                                      1 Reply Last reply Reply Quote 1
                                      • P
                                        pompitousofseth
                                        last edited by 24 Sept 2017, 23:32

                                        I have installed pegasus from the RetroPie setup menu and I have gotten it started. It only shows all of the .jpg images and not the .png images. I got all of the .png images from the Universal XML Scraper today. I have put them in the downloaded_images folder and in the [roms]/media folder and neither work. Any hints on what could be going wrong. Also the log doesn't show any errors except for not being able to load some one the .svg files for the system headers. Thanks. Awesome work BTW!

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          fluffypillow
                                          last edited by 26 Sept 2017, 09:08

                                          @pompitousofseth hm that sounds like a bug, I'll try to reproduce it the afternoon.

                                          1 Reply Last reply Reply Quote 0
                                          334 out of 1711
                                          • First post
                                            334/1711
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received