RetroPie forum home
    • 最新
    • 標籤
    • 熱門
    • Home
    • Docs
    • 註冊
    • 登入

    Announcing Pegasus Frontend

    已排程 已置頂 已鎖定 已移動 Ideas and Development
    frontendpegasusc++developmentqml
    1.7k 貼文 145 Posters 6.3m 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • DarksaviorD
      Darksavior @fluffypillow
      最後由 編輯

      @fluffypillow Yes, it's in the experimental section.

      fluffypillowF 1 條回覆 最後回覆 回覆 引用 0
      • fluffypillowF
        fluffypillow @Darksavior
        最後由 編輯

        @Darksavior The error happens to me outside of Pegasus too, seems to be an X11 permission issue:

        • First, I tried launching Steam Link.sh from the terminal, but got the same Cannot open /dev/tty0 (Permission denied) error.
        • /dev/tty0 is owned by the tty group, so I added myself to it. Restarting and trying again, I've got a xf86OpenConsole: Cannot open virtual console 2 (Permission denied) error.
        • This seems to be due to a change in recent X11 releases on Stretch. Allowing regular users to launch an X11 session can be done by installing xserver-xorg-legacy. Then I've got an Only console users are allowed to run the X server error (ie. cannot be started by scripts).
        • On Jessie this could have been fixed by dpkg-reconfigure x11-common, but unfortunately that seems to be broken on Stretch. After installing xserver-xorg-legacy, there should be a /etc/X11/Xwrapper.config file, where the allowed_users should be changed to anybody. Trying again, I've got a black screen with a mouse cursor. After loading a while (seems like it downloads itself on the first run), the "Welcome to Steam Link" screen appeared and seemed to work fine.
        • After all this fixing, I've tried again with Pegasus, and launching worked fine from there too. Turns out being in the tty group was no longer necessary, so I've removed myself from there and restarted. Steam Link continued to work.
        DarksaviorD 1 條回覆 最後回覆 回覆 引用 0
        • fluffypillowF
          fluffypillow
          最後由 編輯

          Also a weekly update! Haven't had too much time unfortunately, but finally there is a game file selector for multifile games. There have been some bugfixes too: A bug where multifile games appeared multiple times got fixed, and there was a missing translation on the game directory screen too. With that done, I think I'll finally have some time to update the documentations this week.

          Also there have been several issue reports piling up recently -- don't worry, they weren't forgotten, I'll start reducing them after these changes have been handled.

          1 條回覆 最後回覆 回覆 引用 1
          • PlayingKarrdeP
            PlayingKarrde
            最後由 編輯

            Nice! I think I'll update my collections files now. Thanks!

            1 條回覆 最後回覆 回覆 引用 0
            • DarksaviorD
              Darksavior @fluffypillow
              最後由 Darksavior 編輯

              @fluffypillow Yeah, you went with the same steps I went through, but here's some things:
              Steam link.sh installs the dependencies it needs and that's all it should be required. ES can load it fine. Doesn't work at the command line or Pegasus.
              Going with the legacy route is a temporary solution because retropie-setup automatically uninstalls it if you go back in it. There is something ES is doing to load it with no problems as-is.

              fluffypillowF 1 條回覆 最後回覆 回覆 引用 0
              • fluffypillowF
                fluffypillow @Darksavior
                最後由 編輯

                @Darksavior after you mentioned that the legacy package gets uninstalled, I've dig into the RetroPie code, and looking around, found some interesting bits of information. And sure enough, looking into the launcher script of ES, this workaround is indeed applied. Luckily there's nothing ES-specific in it, tried the same exports after uninstalling the legacy package and it worked fine for Pegasus as well. If this solves the problem for you too I can send a patch to update the RetroPie script.

                DarksaviorD 1 條回覆 最後回覆 回覆 引用 0
                • DarksaviorD
                  Darksavior @fluffypillow
                  最後由 編輯

                  @fluffypillow Thanks for tracking down the problem. Yes, tty=$(tty)withexport TTY="${tty:8:1}" fixes the problem. I ran those before launching Pegasus and Steam Link.sh loads fine now.

                  1 條回覆 最後回覆 回覆 引用 0
                  • fluffypillowF
                    fluffypillow
                    最後由 編輯

                    Weekly update!

                    • Documentation:
                      • Updated the metadata format documentation and related pages
                      • Updated the theme API documentation with accessing the game files and also previously missing bits
                      • Added a breaking changes page and some help for updating from Alpha 10 to 11
                    • General:
                      • It is now possible to use environment variables in launch commands. The template is {env.MYVARNAME}, and documented here.
                      • Fixed missing short names and logos for certain collections (eg. Steam)
                      • There was an idea to support more than one metadata file in the global_collection directory in the future. Thus metafiles would be a more fitting name for this directory, and so this directory name is now also supported for storing a global metadata file.
                      • Pegasus will now print a warning if the regular expression of regex or ignore-regex is incorrect in the metadata file
                      • Minor performance improvements during loading
                    • Default theme: It is now possible again to filter by title
                    • ES2 theme: Fixed empty collection space in collection view when a collection has no short name. Also fixed some image loading warnings in such cases.
                    • RetroPie
                      • The installer will now download the Pi 3 optimized release on Pi 3
                      • It is now possible to launch X11 applications
                      • Update the Frontend Chooser to match these changes
                    • Steam: "Steamworks Common Redistributables" will no longer appear among the games
                    • Arch Linux: A community-maintaned package is now available in AUR (thanks @severinkaderli). See the installation instructions here.

                    Special thanks to @iwubcode for a number of bug reports and testing.

                    hooperreH DarksaviorD 2 條回覆 最後回覆 回覆 引用 3
                    • hooperreH
                      hooperre @fluffypillow
                      最後由 hooperre 編輯

                      @fluffypillow I may be stupid here, but I've always wanted my Gameboy and Gameboy Color collections to be merged and use the appropriate RetroArch settings from whichever menu they were selected from. Is there a simple way to do this?

                      Also, thanks for adding the ability to ignore certain files. That's awesome! I'm going to make my full move over to Pegasus now! :)

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

                      fluffypillowF 1 條回覆 最後回覆 回覆 引用 0
                      • DarksaviorD
                        Darksavior @fluffypillow
                        最後由 Darksavior 編輯

                        @fluffypillow I can't load any games with the new version. I used to press A to play a game. Not sure if Enter ever worked on a kb but it doesn't work either. I've tried to delete settings.txt and when that didn't fix anything, I tried to uninstall and reinstall Pegasus. No change. All other buttons work perfectly fine. The settings.txt seems to be fine too. keys.accept: Enter,GamepadA,GamepadStart . So A or start on my pad and enter on my kb doesn't work. I reverted to the last working version I had for now.

                        Also, the art reverted to the old style where if even one of them is not the exact size, it resizes them all like art overlapping over each other or making the art really small.
                        IMG_0116.JPG

                        A new bug as well. Sometimes when scrolling through different systems, the side menu will display a game from another system.
                        IMG_0115.JPG

                        1 條回覆 最後回覆 回覆 引用 0
                        • fluffypillowF
                          fluffypillow @hooperre
                          最後由 編輯

                          @hooperre You can create two collections with the same name but different extension filter and launch command, eg.:

                          collection: Game Boy
                          extension: gb
                          launch: gbemu "{file.path}"
                          
                          collection: Game Boy
                          extension: gba
                          launch: gbaemu "{file.path}"
                          

                          @Darksavior thanks, fixed the launching issue and likely the game from different system too. Will take a look on the art size the afternoon.

                          DarksaviorD 1 條回覆 最後回覆 回覆 引用 2
                          • DarksaviorD
                            Darksavior @fluffypillow
                            最後由 編輯

                            @fluffypillow Thanks. I can launch games again. The steamlink app still doesn't work, though.

                            fluffypillowF 1 條回覆 最後回覆 回覆 引用 0
                            • fluffypillowF
                              fluffypillow @Darksavior
                              最後由 fluffypillow 編輯

                              @Darksavior It's done on the RetroPie side: after updating RetroPie, a launcher script will be created when installing Pegasus, like with ES. It can be launched as /usr/bin/pegasus-fe (or simply pegasus-fe).

                              EDIT: script location

                              DarksaviorD 1 條回覆 最後回覆 回覆 引用 1
                              • DarksaviorD
                                Darksavior @fluffypillow
                                最後由 Darksavior 編輯

                                @fluffypillow Ah ok. I was using the one from supplementary. Didn't know pegasus got updated to just use "pegasus-fe" from the autostart menu. Works now.

                                fluffypillowF 1 條回覆 最後回覆 回覆 引用 0
                                • fluffypillowF
                                  fluffypillow @Darksavior
                                  最後由 編輯

                                  @Darksavior I have a possible fix but I couldn't properly test it yet; could you try out this as a theme, whether it fixes the resizing issue?

                                  DarksaviorD 1 條回覆 最後回覆 回覆 引用 0
                                  • DarksaviorD
                                    Darksavior @fluffypillow
                                    最後由 Darksavior 編輯

                                    @fluffypillow Yep, that fixed the resizing. Thanks. The overlapping issue still exists but that's been around for a long time. If I go back and forth from systems then it fixes itself.

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • DarksaviorD
                                      Darksavior
                                      最後由 Darksavior 編輯

                                      @fluffypillow Oh yea, thanks for finally providing a theme I can fool around with. I can now add custom system logos, yay. Though, I do need to resize them a bit. The system logos from ES really slows down Pegasus when scrolling. I'm still testing out what resampling method works best but so far I can't get them to look as good as the Pegasus logos.
                                      IMG_0001(1).JPG

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • J
                                        jerzeeloon
                                        最後由 編輯

                                        @fluffypillow Hey I just wanted to say thanks for making your frontend natively compatible with shield/Android TV. I greatly appreciate it. It eliminated having to launch with sideload launcher but unfortunately I'm still plagued by the other two issues I had which were the app not seeing external storage as an option for ROM collections which I can live without but the other being that I'm sent back to my home screen when exiting an emulator as opposed to returning to frontend. Not sure if I can add a parimeter to the collection text file to make it return to frontend or if it's crashing on return due to memory limitations? Other than that through all the changes while in the frontend navigation is fluid and it works very seamlessly with all collections and assets showing and I the revamped grid theme looks really nice and clean. I just wish I could figure out how to return to the front end when I'm done a game. Anyway sorry for the burden and lack of knowledge but keep up the great work imo even in alpha astetica it's my favorite frontend for shield TV aesthetically.

                                        fluffypillowF 1 條回覆 最後回覆 回覆 引用 0
                                        • fluffypillowF
                                          fluffypillow @jerzeeloon
                                          最後由 編輯

                                          @jerzeeloon Thanks!

                                          app not seeing external storage

                                          Yeah someone mentioned that with the Shield TV, but not sure I can fix/reproduce that without an actual device :(

                                          I'm sent back to my home screen when exiting an emulator as opposed to returning to frontend

                                          That seems to be a bug on Android in general, I do plan fixing it.

                                          J 1 條回覆 最後回覆 回覆 引用 0
                                          • J
                                            jerzeeloon @fluffypillow
                                            最後由 編輯

                                            @fluffypillow thank you very much I'm leaning more towards it being a memory crash because for some reason even though the shield has three gigs of RAM it seems like 2 are constantly in use by the system and it does seem to go back to the front end for a split second and shows it loading the games and I think it crashes when it tries to load the assets I've had the same issue with other frontends like retroarch when trying to use custom artwork or launching a memory intensive game. But it seems to initially run the a frontend fine it just seems to be a crash when leaving a emulator game. Maybe if there was a way to cache the assets during the intial load so it has them in memory when returning to frontend as opposed to loading them again. I'm not sure if thats even feasible I'm just pissing in the wind here like I said I'm not dev savvy at all I probably like retro gaming and I really like your frontend.

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 第一個貼文
                                              最後的貼文

                                            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.