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.
    • fluffypillowF
      fluffypillow
      last edited by

      I've just merged this week's progress, there's what changed:

      • Added favorite support
        • you can set them on the game info panel (see below)
        • technically, they are stored in a config file (~/.config/pegasus-frontend/favorites.txt); the intention with the standalone file is to separate the static game data (gamelists) from the user preferences
        • ES2 files are not changed, so if a game is marked as favorite there, it'll also keep staying favorite in Pegasus too. ES2 support will be disableable in the future.
        • The setting is saved in the background when you press the button
        • Theme API changes: the game.favorite field is now writable
        • Translators: the button labels are not translateable yet, but will be in the future (there'll likely be a set of common strings, like "Developer" and such)
      • Changed the game info panel (https://webmshare.com/NRomm)
        • it can be opened with Ctrl/Square/XBox-X/Nintendo-Y
        • the filter menu can now be opened with Shift/Triangle/Y/X
      • Fixed formatting not working in error messages
      1 Reply Last reply Reply Quote 1
      • DeadStretchD
        DeadStretch @fluffypillow
        last edited by

        @fluffypillow On a Pi 3b. The resolution switch happens from a run command on start/on end script.

        tvservice -c "NTSC 4:3 P" ; fbset -depth 8 ; fbset -depth 32; tvservice -s
        and
        tvservice -c "NTSC 4:3" ; fbset -depth 8 ; fbset -depth 32; tvservice -s

        I followed this guide to set it all up.

        I will look into the rest. Thanks.

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

          No updates last week due to all kinds of unrelated issues, hopefully this one will be more productive. Maybe I could finally add that letter jump feature.

          halfmanhalfcakeH 1 Reply Last reply Reply Quote 0
          • halfmanhalfcakeH
            halfmanhalfcake @fluffypillow
            last edited by

            @fluffypillow Look forward to it.

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

              This weeks progress:

              • Added jump-to-letter feature
                • currently can be used by pressing Alt + [letter key]
                • on the long term though something like in ES2 would be better
              • Added custom filters support (experimental)
                • similarly to AttractMode
                • the file is <configdir>/filters.txt, the format is the same key: value pair text file like with the metadata files
                • use filter to define a new filter (eg. filter: My Awesome Filter Name)
                • use rule to set which games should be included
                  • rules look like rule: game-property comparison comparison-parameter or rule: game-property comparison (for example, rule: title contains Mario or rule: favorite is_true)
                  • the possible game properties you can check are listed here
                  • the possible comparisons are contains, not_contains, equals, not_equals, is_true/is_false (mainly for checking the favoriteness), is_empty/not_empty (for checking whether a property has value)
                • if the file does not exist, the default filters (Favorite and Multiplayer) will be used; they are, for example, can be described like this:
              filter: Favorite
              rule: favorite is_true
              
              filter: Multiplayer
              rule: players not_equals 1
              
              halfmanhalfcakeH 1 Reply Last reply Reply Quote 2
              • halfmanhalfcakeH
                halfmanhalfcake @fluffypillow
                last edited by halfmanhalfcake

                @fluffypillow On the controllers, can we not use the back trigger (R2 or LT for example) to jump letters? I think that's how Steam BPM does it.

                Otherwise, good work again.

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

                  @halfmanhalfcake Oh, didn't know Steam had such feature. Will check it out, thanks.

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

                    This week there have been a large amount of internal changes. It shouldn't have any visible effects, but in some cases, you might perhaps see a slight performance improvement.

                    1 Reply Last reply Reply Quote 1
                    • fluffypillowF
                      fluffypillow
                      last edited by

                      Weekly changelog!

                      • Fixed game launching (which I accidentally broke last week)
                      • Fixed Raspberry build sometimes not uploading correctly
                      • A number of mouse, touchscreen and Android related improvements
                        • The main menu and the default theme is now fully usable with only mouse or touch too
                        • Game launching confirmed working on Android - expect the documentation this afternoon
                        • Video playback now works on Android
                        • Config files on Android are now stored under <storage>/pegasus-frontend, where storage is the internal storage if you have one, otherwise the SD card. (Previously configs were stored in some internal system dir)
                        • The package version is now displayed correctly in the Android settings menu
                      • Minor fixes

                      I've also made a video:

                      lilbudL 1 Reply Last reply Reply Quote 3
                      • lilbudL
                        lilbud @fluffypillow
                        last edited by

                        @fluffypillow Probably the coolest thing I've seen in a long time.

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

                        Backlog: http://backloggery.com/lilbud

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

                          Update: The Android docs are now online here.

                          1 Reply Last reply Reply Quote 0
                          • AndersHPA
                            AndersHP
                            last edited by AndersHP

                            Just updated to latest version, after a long break away from my arcade build - but now Pegasus won't launch. The splash screen is replaced with the text about locales, games found and after the last line stating how many games are found, nothing else happens... Does not respond to inputs either.

                            Does the newest version require something like a special version of RetroPie installed or..?

                            Edit: a few hints maybe; it states;
                            QQmlApplicationEngine failed to load component
                            qrc:/frontend/main.qml:101 Type MenuOverlay unavailable
                            qrc:/frontend/menuoverlay.qml:122 Type SettingsScreen unavailable
                            qrc:/frontend/menu/SettingsScreen.qml:85 Type MultivalueOption unavailable
                            qrc:/frontend/menu/settings/MultivalueOption.qml:78 Cannot assign to non-existent property "cursorShape"

                            My "Bubble Bobble" Themed Bartop Arcade
                            My Gameboy

                            fluffypillowF 2 Replies Last reply Reply Quote 0
                            • fluffypillowF
                              fluffypillow @AndersHP
                              last edited by

                              @andershp Thanks, that's a bug, I'll fix it right away.

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

                                @andershp Ok, should be fixed now!

                                AndersHPA 1 Reply Last reply Reply Quote 1
                                • AndersHPA
                                  AndersHP @fluffypillow
                                  last edited by

                                  @fluffypillow Sure is! Thanks!

                                  My "Bubble Bobble" Themed Bartop Arcade
                                  My Gameboy

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

                                    I started writing a small frontend chooser app:

                                    screenshot

                                    hooperreH 1 Reply Last reply Reply Quote 4
                                    • S
                                      Seya16
                                      last edited by

                                      Hi :) @fluffypillow

                                      I recently tried to test your app on android, but I was unable to make the roms shows up :/, tried everything but with no success.
                                      I did make the config file and test various path but nothing, test the internal on external drive. I'm pretty that I followed carefully the config guide.

                                      Keep up the good work, and thanks in advance if you have any suggestion.

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

                                        @fluffypillow said in Announcing Pegasus Frontend:

                                        I started writing a small frontend chooser app:

                                        Oh meohmy. :) This looks wonderful.

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

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

                                          @seya16 Hm, do you see anything interesting in the log file (<pegasus-dir>/lastrun.log)? If possible, try to open it directly on the device with some text editor app (files tend to be out of sync when I open them on desktop, at least for me).

                                          Yeah, I should really start working on some file picker instead of the manual editing...

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            Seya16 @fluffypillow
                                            last edited by Seya16

                                            @fluffypillow It show this :
                                            Found locale 'American English' (en)
                                            Found locale 'español de España' (es)
                                            Found locale 'français' (fr)
                                            Found locale 'magyar' (hu)
                                            Found locale 'magyar (rovás)' (hu-Hung)
                                            Locale set to 'American English' (en)
                                            Found theme 'Pegasus Grid [built-in]' (:/themes/pegasus-grid/)
                                            Theme set to 'Pegasus Grid [built-in]' (:/themes/pegasus-grid/)
                                            Found /storage/emulated/0/pegasus-frontend/game_dirs.txt
                                            ES2: system config file not found
                                            Data files loaded in 13ms
                                            0 games found
                                            Closing Pegasus, goodbye!

                                            But yeah I think that a file picker will be really useful :)

                                            fluffypillowF 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.