• 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.
  • W
    wallmachine
    last edited by wallmachine 19 Apr 2019, 05:43

    Is it possible to add just directories of your games and it creates the metadata?

    F 1 Reply Last reply 19 Apr 2019, 08:28 Reply Quote 0
    • F
      fluffypillow @wallmachine
      last edited by 19 Apr 2019, 08:28

      @wallmachine if you mean creating a metadata.txt file from Pegasus, no that's not possible yet, but I'd like add support for it eventually.

      W 1 Reply Last reply 19 Apr 2019, 11:11 Reply Quote 1
      • W
        wallmachine @fluffypillow
        last edited by 19 Apr 2019, 11:11

        @fluffypillow I look forward to it as I'm on HyperSpin/BigBox and don't have metadata.

        1 Reply Last reply Reply Quote 0
        • M
          msheehan79
          last edited by 20 Apr 2019, 01:20

          @fluffypillow Really happy to see the latest release will now scroll continuously when you hold down the D-Pad on a controller!

          I noticed that for at least the past 2 builds Pegasus no longer seems to "remember" the last game played when you launch a game then return to Pegasus - it always goes back to the first game in the collection.

          The last build I have that works is g23056ea. Builds gc071e7a and gdcacdd0 exhibit the issue.

          I am on Windows x64, and using a metadata file in the pegasus/config/metafiles directory in case it turns out to be relevant.

          F 1 Reply Last reply 22 Apr 2019, 15:35 Reply Quote 0
          • M
            Meldrak @fluffypillow
            last edited by 20 Apr 2019, 09:13

            @fluffypillow my metada

            collection: Nintendo Gamecube
            shortname: gc
            directory: E:\games\gamecube
            launch: E:\Dropbox\Emulateurs\dolphin\Dolphin.exe -b -e "{file.path}"
            extensions: gcm, iso, wbfs, ciso, gcz, elf, dol, dff
            
            
            collection: - Favoris -
            files: Super Mario Sunshine.iso
            files: Mario Kart Double Dash.iso
            files: Mario Party 7.iso
            
            
            game: Baten Kaitos
            files:
             ./Baten Kaitos - Eternal Wings (Disc 1).iso
             ./Baten Kaitos - Eternal Wings (Disc 2).iso
            developer: Monolith Software (JP)
            publisher: Namco
            description: Baten Kaitos est un jeu de rôle sur Gamecube où vous dirigez un
              groupe de héros dont le destin est de sauver le monde. Nous sommes à une époque
              où la Terre et l'Océan ne sont plus que des légendes. De vastes îles lévitant
              très haut dans le Ciel ont pris la place des continents. Les créatures seront
              nombreuses sur votre route mais vous pourrez les battre en vous frayant un
              chemin grâce à un système de combat original et novateur basé sur des cartes.
            release: 2005-04-01
            players: 1
            rating: 90%
            x-id: 4758
            x-source: ScreenScraper.fr
            assets.boxfront: ./media/images/Baten Kaitos - Eternal Wings (Disc 1).png
            assets.video: ./media/videos/Baten Kaitos - Eternal Wings (Disc 1).mp4
            assets.logo: ./media/wheel/Baten Kaitos - Eternal Wings (Disc 1).png
            
            1 Reply Last reply Reply Quote 0
            • W
              wallmachine
              last edited by wallmachine 22 Apr 2019, 03:02

              I'm guessing for like MAME games we will need the metadata file to identify its longer name etc not automatic yet?

              1 Reply Last reply Reply Quote 0
              • L
                lilbud
                last edited by 22 Apr 2019, 15:26

                What does the horizon theme look like? I saw it on github, but can't find any screenshots.

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

                Backlog: http://backloggery.com/lilbud

                1 Reply Last reply Reply Quote 0
                • F
                  fluffypillow @msheehan79
                  last edited by 22 Apr 2019, 15:35

                  @msheehan79 yeah that's an accidental bug in the main theme, will see if I can fix it before today's update!

                  @Meldrak that seems to be correct, which games and files are missing exactly? Note that the file entries under files are relative to the metadata file; if it's not next to the games, the paths should be also corrected. For example if the file is D:\somedir\metadata.txt, then files: Super Mario Sunshine.iso will mean D:\somedir\Super Mario Sunshine.iso. In case it's not there, you could write E:\games\gamecube\Super Mario Sunshine.iso instead.

                  @wallmachine Yes, there's no MAME-specific game support, so they also have to be described with metadata files (or through ES gamelists). Coincidently I was just in the middle of creating metadata files for various full sets of games, which might help you.

                  @lilbud actually it's the "working title" for this one. Still experimental, just had some ideas to try out as a theme. May get some more updates in the future.

                  1 Reply Last reply Reply Quote 0
                  • L
                    lilbud
                    last edited by 22 Apr 2019, 18:37

                    I've been experimenting with making a nintendo switch theme for Pegasus. Ran into this issue though
                    257dc51e-3a95-4c08-8957-f99b3fc28db1-image.png

                    I'm using the es2-simple theme as a base

                    Is there a way to keep the background image in the same place, but move the icons over? When I try to move the icons over, the background gets all out of wack.

                    alt text

                    My plan is to move the selected icon up and over and make the carousel act like the switch. A selector moves 1 to the right and the icons move 1 over to the left and disappear. The selector can just keep moving down the line to the end.

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

                    Backlog: http://backloggery.com/lilbud

                    F 1 Reply Last reply 22 Apr 2019, 19:59 Reply Quote 0
                    • F
                      fluffypillow @lilbud
                      last edited by fluffypillow 22 Apr 2019, 19:59

                      @lilbud I'm afraid I'm not familiar with the Switch, but if I understand correctly you'd like the background image to change instantly, without any animations, right? You could then change the delay here to 0 to disable the scrolling effect. If you'd like to use only a single fixed image as background, you could even remove the whole background carousel.

                      L 1 Reply Last reply 22 Apr 2019, 20:49 Reply Quote 0
                      • L
                        lilbud @fluffypillow
                        last edited by lilbud 22 Apr 2019, 20:49

                        @fluffypillow I don't want the background to move at all. If I try to move the icons, the background moves as well, that's why the image isn't entirely on screen.

                        I already set that to 0.

                        How would I move the logos closer together?

                        And move the carousel position?

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

                        Backlog: http://backloggery.com/lilbud

                        F 1 Reply Last reply 22 Apr 2019, 20:56 Reply Quote 0
                        • F
                          fluffypillow @lilbud
                          last edited by 22 Apr 2019, 20:56

                          @lilbud Then you could also replace the Carousel with a single Image element, then change its source to what you'd like to show -- that'd have no movement animation at all.

                          The logo images are set to fit into a wide rectangle, you can reduce their width here to make them closer.

                          L 1 Reply Last reply 22 Apr 2019, 21:03 Reply Quote 0
                          • L
                            lilbud @fluffypillow
                            last edited by 22 Apr 2019, 21:03

                            @fluffypillow Already changed both of those to vpx(300) which makes the icons square. I am trying to increase the logo spacing (I guess) so the logos stay a certain size but they are closer together.

                            Changing this line pathItemCount: Math.ceil(width / itemWidth) + 2 doesn't do anything.

                            5252356b-d227-44c8-8b1b-9f7441b1803b-image.png

                            I want the background to stay in place and able to be moved independent of the carousel. Because changing any of the settings in the picture above move the carousel and the background or color and draw black underneath.

                            cddd7a33-1334-4056-9926-2a4b5c30e651-image.png

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

                            Backlog: http://backloggery.com/lilbud

                            F 1 Reply Last reply 22 Apr 2019, 21:11 Reply Quote 0
                            • F
                              fluffypillow @lilbud
                              last edited by 22 Apr 2019, 21:11

                              @lilbud ah right, the item width is set here actually (and not by the rectangle width). The number of visible items is then calculated automatically based on that.

                              L 1 Reply Last reply 22 Apr 2019, 21:20 Reply Quote 0
                              • L
                                lilbud @fluffypillow
                                last edited by 22 Apr 2019, 21:20

                                @fluffypillow Ah, now I got it.
                                https://snag.gy/41R3rT.jpg

                                Now for the next part

                                How would I change the x and y coordinates of the carousel over so it matches the background image (once again, thats only there to line the whole carousel up, i'll replace it with a solid color background once I have the carousel just right)

                                And how can I change which icon is the selected one?

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

                                Backlog: http://backloggery.com/lilbud

                                F 1 Reply Last reply 23 Apr 2019, 07:09 Reply Quote 0
                                • W
                                  wallmachine
                                  last edited by wallmachine 22 Apr 2019, 22:13

                                  Just confirming is something like select game directory then it creates the metadata file for you planned? example,

                                  In game directory Bubbler (Europe).7z

                                  Pegasus does the following in the metadata file:
                                  game: Bubbler
                                  file: Bubbler (Europe).7z
                                  developer:
                                  genre:
                                  players:
                                  summary:
                                  description:
                                  rating:
                                  x-id:
                                  x-source:

                                  Also what will happen if you import a game that has multiple disc versions how would it display? below is an example.

                                  4x4 Off-Road Racing (USA) (Disk 1)
                                  4x4 Off-Road Racing (USA) (Disk 2)

                                  4 Most Action (Side A) (Europe)
                                  4 Most Action (Side B) (Europe)

                                  With game naming shouldn't it read the 'game:' title instead of file name?

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    fluffypillow @lilbud
                                    last edited by 23 Apr 2019, 07:09

                                    @lilbud for the vertical alignment, the carousel is aligned to the center, so perhaps the fastest would be to add a negative anchors.verticalCenterOffset to it to move upwards. To make them match up horizontally, you'll have to change the preferredHighlightBegin/End positions of the Carousel. You'll probably want it to be the center point of Zelda in this case (and maybe the end at Snipperclips?). Depending on how many aspect ratios you'd like to support, you can either just write the number in, or do some calculations based on the window dimensions.

                                    @wallmachine Pegasus would be able to create the collection section for you, and perhaps example game blocks. Ideally there would be a graphical tool too to edit these files in the future.

                                    Also what will happen if you import a game that has multiple disc versions how would it display?

                                    A game can have more than one file entries, and when it's started you can choose in Pegasus which one you want to start. Here's an example.

                                    With game naming shouldn't it read the 'game:' title instead of file name?

                                    Yes, if the file matches. File paths are relative to the metadata file, perhaps this comment might also solve the issue for you. You can also check the log file for any issues (should be under C:/Users/[username]/AppData/Local/pegasus-frontend/ on Windows).

                                    W 1 Reply Last reply 23 Apr 2019, 07:29 Reply Quote 1
                                    • W
                                      wallmachine @fluffypillow
                                      last edited by wallmachine 23 Apr 2019, 07:29

                                      @fluffypillow thanks changing to the following below worked as the metadata file is located D:\Pegasus\metafiles\metadata.txt

                                      Just to confirm a metadata file can be created for each system?

                                      Also with the 'directory:' I thought that searched for the gamelist but you need both the file: and directory:?

                                      collection: Nintendo Entertainment System
                                      directory: D:\Pegasus\Systems\Nintendo Entertainment System
                                      extension: 7z
                                      launch:

                                      game: 10-Yard Fight
                                      file: D:\Pegasus\Systems\Nintendo Entertainment System\10-Yard Fight (USA, Europe).7z

                                      F 1 Reply Last reply 23 Apr 2019, 08:09 Reply Quote 0
                                      • F
                                        fluffypillow @wallmachine
                                        last edited by 23 Apr 2019, 08:09

                                        @wallmachine yup, you can create as many metadata files as you like. directory entries will make Pegasus also look for rom files in those directories too, however the file paths are always relative to the metadata file (consider cases of multiple directories and games with same filenames).

                                        1 Reply Last reply Reply Quote 1
                                        • W
                                          wallmachine
                                          last edited by 23 Apr 2019, 10:05

                                          when selecting a game that has two discs do I need to press a certain key to chose as I don't see it.

                                          lastrun.log

                                          2019-04-23T19:59:25 [w] qrc:/frontend/dialogs/MultifileSelector.qml:100: TypeError: Cannot read property 'count' of undefined
                                          2019-04-23T19:59:25 [w] qrc:/frontend/dialogs/MultifileSelector.qml:110: TypeError: Cannot read property 'files' of undefined
                                          

                                          F 1 Reply Last reply 23 Apr 2019, 10:43 Reply Quote 0
                                          1210 out of 1711
                                          • First post
                                            1210/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