• 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 21 Jan 2019, 20:19

    Weekly update: the metadata changes are now complete and tested, now I'm in the middle of updating the third-party data sources and cleaning things up. This shouldn't take long. What's left is updating the documentation and adding a way to convert to the new format from the old files. This one may take a bit of time. After all these are done, the changes can finally land so you can expect a megapost in one of these weeks.

    1 Reply Last reply Reply Quote 1
    • P
      PlayingKarrde
      last edited by PlayingKarrde 22 Jan 2019, 02:46

      @fluffypillow I'm trying to implement the sorting but getting this error when importing the SortFilterProxyModel.

      module "SortFilterProxyModel" is not installed
      
      F 1 Reply Last reply 22 Jan 2019, 18:35 Reply Quote 0
      • F
        fluffypillow @PlayingKarrde
        last edited by 22 Jan 2019, 18:35

        @PlayingKarrde should be fixed now, thanks!

        P 1 Reply Last reply 23 Jan 2019, 04:55 Reply Quote 1
        • P
          PlayingKarrde @fluffypillow
          last edited by PlayingKarrde 23 Jan 2019, 04:55

          @fluffypillow Thanks.

          Also I'll move future discussion to the theme thread instead since I realise I've been clogging up this one with all these questions that would only be applicable to theme makers... Whoops sorry!

          1 Reply Last reply Reply Quote 0
          • F
            fluffypillow
            last edited by 29 Jan 2019, 22:46

            Phew, all right, the metadata changes are finally here! There are still a few missing things, but the file format part is done and the rest will come as follow-up patches. This is a breaking change, so feel free to remain on an older version if you don't want to mess with the update right now. The previous-latest version (up until yesterday) for all platforms is also still available here.

            Here's what changed:

            • The format of collections.txt and metadata.txt is now united
              • You can now define both collections and games in the same file and only one of them is enough to be present in a directory.
              • Pegasus will try to open collections.pegasus.txt, metadata.pegasus.txt, collections.txt and metadata.txt(in this order) and stops at the first file it founds. (I've put collections first so at least your collections will be found after the update. I'll move metadata first in the next, more stable release.)
            • Metadata file format changes
              • Haven't finished the documentation yet, but a draft is available here.
              • Games can now consist of more than one file, and as such game entries are defined by their title (game:), and not a filename.
              • A cleaner difference between text values and lists
              • Empty lines now have to be marked with a single dot. This makes the multiline texts, like long descriptions continuous, avoiding the "text flying in the middle of nowhere" kind of effect. It also makes the format closer to the Debian config format (on which it is based on in the first place).
            • Updated the format converter tool
              • It's available here
              • You can now convert between the old ("alpha 10") and the new format
              • Fixed some minor bugs as well

            Here's what's still missing:

            • Documentation
            • Actual launching support for games with multiple files
            • Custom names and properties for the individual files
            • Theme support for accessing the launchable entries

            Now these changes involved changing quite a large part of the internal code; I've tried to test most of the things, but there might be still bugs lurking around (including the converter page). Testing would be much appreciated!

            Developers: the commit before this change is 9f38c2b.

            D 1 Reply Last reply 30 Jan 2019, 08:52 Reply Quote 3
            • D
              Darksavior @fluffypillow
              last edited by 30 Jan 2019, 08:52

              @fluffypillow I noticed builds are still meant for the pi2. Will building specifically for the pi3 offer any performance benefits?

              F 1 Reply Last reply 30 Jan 2019, 15:43 Reply Quote 0
              • F
                fluffypillow @Darksavior
                last edited by 30 Jan 2019, 15:43

                @Darksavior actually it may! In addition an update to Qt also comes out next month, which might bring some performance improvements, so I do plan to do some experimenting with additional build targets then.

                1 Reply Last reply Reply Quote 1
                • P
                  PlayingKarrde
                  last edited by 31 Jan 2019, 21:27

                  I know this is a huge task so really just curious about this right now, but do you have any plans to integrate adding/modifying etc collections or roms into Pegasus itself at some point?

                  It's still alpha I know but I have to assume that ease of adding systems and roms would be one of the huge main wants from the majority of users. Needing extensive documentation for creating game lists surely isn't sustainable long term so just wondering what your thoughts are on this.

                  1 Reply Last reply Reply Quote 0
                  • A
                    AndersHP
                    last edited by AndersHP 2 Jan 2019, 09:06 1 Feb 2019, 09:03

                    @fluffypillow
                    forgive me for asking maybe a bit of a stupid question.
                    I'm a Retropie user, running Pegasus from my RPi.

                    Pegasus is awesome for me, therefore I'm reluctant to update to newest version, since these last many updates have been regarding metadata and pc/android things that I don't understand. I was glad to have the launch menu with "favorites" toggle, and the pageup/pagedown functionality (week 67 'ish)... Since then I don't think I have updated Pegasus.

                    If you compare the metadata of EmulationStation (my games are all scraped so they work in ES also) and these new metadata for Pegasus, what will the difference/benefits be?

                    I'm not interested in manually adding metadata to thousands of games..

                    I'm just trying to ask; what am I missing out on, if I don't use these new metadata possibilities?

                    My "Bubble Bobble" Themed Bartop Arcade
                    My Gameboy

                    1 Reply Last reply Reply Quote 0
                    • A
                      AndersHP
                      last edited by 1 Feb 2019, 10:04

                      @fluffypillow
                      By the way; did anyone else ever have issues getting into the runcommand launch menu? (buttonpress after launch image).
                      I can't enter these menus to save my life, so I have to use emulationstation to test other emulators etc. Very frustrating.

                      My "Bubble Bobble" Themed Bartop Arcade
                      My Gameboy

                      F 1 Reply Last reply 7 Feb 2019, 21:59 Reply Quote 0
                      • F
                        fluffypillow
                        last edited by 1 Feb 2019, 17:48

                        @PlayingKarrde well that's an interesting topic; personally I'd prefer the "one program does one thing" kind of approach, but I do see that'd be uncomfortable in a frontend's case (similarly to the lack of built-in scraper). So in the long term, yes, it'd be a feature nice to have, but at the moment I still see several areas in our current state which could be improved before then.

                        Creating a small management tool sounds like a fun project though, so I'll likely start with that first. Then, if it turns out well, it could be also merged into Pegasus itself eventually.

                        @AndersHP yeah I was trying to group a bunch of breaking changes together this time between Alpha 10 and the next, Alpha 11 to get them done (with Android TV being a small extra). With this many changes I certainly plan to write a summary page before the stable release as well.

                        Most of the last update changes only a few points of the existing format's text style. The major difference however is that Pegasus' metadata format now support multiple files per game. If you have lots of multi-disc games for example, you can make them appear only once, as a single game, then select the actual disc on launch. It could be used for other creative things, like listing arcade clones under one main game too.

                        There are still a few missing bits though, so no need to hurry. You also don't need to write files manually from scratch, you can use the format converter tool linked above to help converting between the formats. Pegasus' format is kind of like ES' systems config and gamelist in one file, but local to a particular directory.

                        runcommand

                        I'm afraid I can't test it this weekend, but I can take a look next week.

                        P 1 Reply Last reply 1 Feb 2019, 21:16 Reply Quote 1
                        • P
                          PlayingKarrde @fluffypillow
                          last edited by 1 Feb 2019, 21:16

                          @fluffypillow said in Announcing Pegasus Frontend:

                          Creating a small management tool sounds like a fun project though, so I'll likely start with that first.

                          I think that would be ideal. I sort of agree with your philosophy of one program does one thing well, but I'm mainly thinking about the people who run this from Pis or Android devices where having another tool isn't really possible. An external tool would be fantastic for me personally though.

                          1 Reply Last reply Reply Quote 0
                          • F
                            fluffypillow
                            last edited by 3 Feb 2019, 20:59

                            No updates this week because I've got cold :/

                            1 Reply Last reply Reply Quote 0
                            • F
                              fluffypillow @AndersHP
                              last edited by 7 Feb 2019, 21:59

                              @AndersHP sorry for the late reply, runcommand seems to work fine for me, using Pi3 + Logitech F310. The button layout was slightly off though, but that's probably fixable.

                              1 Reply Last reply Reply Quote 0
                              • F
                                fluffypillow
                                last edited by 10 Feb 2019, 20:43

                                No updates this week either, but likely there'll be in the next one! I've also started experimenting with the new Qt release, the builds are complete but I'll want to test them on real hardware before pushing an update.

                                On a related note, I also plan to make some maintenance-related changes:

                                • Raspberry: Debian Wheezy reached its end-of-life last year, and thus it's no longer supported (did that even work?). By "not supported" I mean the official builds will likely not run out of the box there, but you can still build it manually if you wish. Jessie may continued to be supported on ARM.
                                • Desktop Linux: Ubuntu 14.04 reaches its end-of-life soon, and it's no longer supported (16.04 still is). For other desktop distros: the Linux release now requires C++14 support (GCC 5.1+ or Clang 3.4+). Shouldn't be a problem in 2019, but do tell me if it's an issue.
                                • Maintainers: In the future, Qt 5.12 will become the minimal required Qt version for Pegasus. (If you aren't building Pegasus from source, this doesn't affect you)
                                P 1 Reply Last reply 11 Feb 2019, 03:36 Reply Quote 3
                                • P
                                  PlayingKarrde @fluffypillow
                                  last edited by 11 Feb 2019, 03:36

                                  @fluffypillow Have you had any luck with implementing the other video wrapper you were looking into? Performance is still an issue with me on all my machines running Windows and I can't help but feel it's due to k-lite.

                                  F 1 Reply Last reply 11 Feb 2019, 10:53 Reply Quote 0
                                  • F
                                    fluffypillow @PlayingKarrde
                                    last edited by 11 Feb 2019, 10:53

                                    @PlayingKarrde not yet, that'll be quite a big topic to work on. It's surprising that the Windows performance is so slow though, I'll see if I can improve it somehow. You could also try selectively installing parts of K-Lite, perhaps there are some components that slow down the rest?

                                    P 1 Reply Last reply 14 Feb 2019, 21:19 Reply Quote 0
                                    • P
                                      PlayingKarrde @fluffypillow
                                      last edited by 14 Feb 2019, 21:19

                                      @fluffypillow said in Announcing Pegasus Frontend:

                                      You could also try selectively installing parts of K-Lite, perhaps there are some components that slow down the rest?

                                      To be honest I wouldn't know where to start. K-lite has so many options when installing I generally just go for defaults.

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        scocasso
                                        last edited by 15 Feb 2019, 01:55

                                        Wow, really cool! You have far too much time on your hands, ha ha. Ah, I see the Cuphead game in your screenshots -- coolest looking game.

                                        1 Reply Last reply Reply Quote 1
                                        • T
                                          TempTest
                                          last edited by 17 Feb 2019, 06:46

                                          Can someone please give me a complete idiots guide to getting Pegasus up and running on a windows machine. I mean as complete and as detailed as possible, Ive been scrolling through this forum for days and don't seem to be making much progress, no ANY progress. I would like the program to be portable (it will be on an external drive). I use Skraper,net BTW.
                                          I would prefer the media to be saved with the roms for future update to Kodi when available but this is not essential. meaning

                                          • game console\
                                            • collections.txt
                                            • game 1\
                                              • game1.rom
                                              • game1screenshot.png
                                              • game1screenshottitle.png
                                              • game1box front.png
                                                etc

                                          or if that's not possible this:

                                          • game console\
                                            • collections.txt
                                            • game 1\
                                              • game1.rom
                                              • media\ %art-type%\ ..etc

                                          but again i can use the standard structure.

                                          i need the most detailed, user friendly way possible to get this front end running properly. telling it how to find the roms, how to tell it what emulator to run the games in along with special commands, how to have multiple games listed as the same ((for example) game1 contains game1 North America, game1 Europe, game1 Asia), what folders should i be putting in the Pegasus root folder (.config, etc) Literally everything

                                          A launch box xml convertor would be pretty great. i wish i possessed your guys coding knowledge

                                          UNRELATED
                                          On another note being as Kodi is about to implement game management (its sorta out now), I think it would be a great opportunity for you to take advantage of, by making Pegasus an add-on. i know id use it!! Though i have no idea how hard that would be, i know they like their python and if i cant get this running, there's no way I know what I'm talking about. just my thoughts. Thanks again

                                          M 1 Reply Last reply 17 Feb 2019, 07:16 Reply Quote 0
                                          1077 out of 1711
                                          • First post
                                            1077/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