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

    Announcing Pegasus Frontend

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

      I think everyone will have their own opinion on how to organise things. Personally I'm all for simplicity so if things can be consolidated the more the better. I've personally never cared for collections so it's not as much of a priority for me.

      If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

      Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

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

        @herb_fargus simplicity is king. But the concept of collections are necessary otherwise how would you know if you are selecting a snes game vs a mame game for example.

        herb_fargusH 1 條回覆 最後回覆 回覆 引用 0
        • herb_fargusH
          herb_fargus administrators @PlayingKarrde
          最後由 編輯

          @PlayingKarrde

          otherwise how would you know if you are selecting a snes game vs a mame game for example

          I sort by console. Not Mario games.

          If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

          Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

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

            @herb_fargus Right, and in this case that's what collections do.

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

              @PlayingKarrde I agree the workflow being less than optimal at the moment. However, the reason I prioritize format updates is exactly because it'd be more difficult to add changes after people start making tools, videos or guides that would depend on some stability. I can also start making, say, a metadata editor program more easily when the planned changes don't loom over my head.

              As for what Skraper does and supports, that's not something I can control. When I run on just ~600 NES games and said over 5 hours left, you bet that really made me want to write a scraper too. That said, support for its assets can be added, and will likely come this week. Also looks like it can export metadata in a frontend-independent way too, which might be usable. But if a use case requires you to convert between different file formats of incompatible programs, you'll always need some manual interaction.

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

                @fluffypillow Yep, totally understand. I think maybe my comment came off a bit more confrontational than I intended. I think I'm just trying to explain the potential I see but the main thing still holding it back. Long term if it was as easy to use as, say Plex, it could potentially be the most popular launcher out there.

                But it sounds like you are thinking long term so I'm on board with the changes you mentioned. I agree with everything else you say.

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

                  @PlayingKarrde No worries, I do appreciate your concerns about the future of Pegasus. Hope I can show its full potential eventually!


                  On another topic, for yesterday's theme Api changes, forgot to mention that the key handling will change too, after I finally implement the key modifier (Ctrl, Shift, etc.) support. When checking keys, instead of passing the key code (eg. api.keys.isAccept(event.key)) you'd pass the whole event as parameter. The returned array types of keys.accept()and co. will also change.

                  Other than themes, because the modifiers modify regular keys, setting Ctrl and such "alone" will no longer work. The change will also require a one-time reset of the key settings, due to changes in the way keys are stored in the settings file. This update will come in one of the weekly releases (maybe the next one?) so don't worry about randomly loosing settings.

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

                    @fluffypillow said in Announcing Pegasus Frontend:

                    after I finally implement the key modifier (Ctrl, Shift, etc.)

                    Just out of curiosity, what do you see the modifiers being used for? I'm assuming this was discussed/requested above but I didn't see it.

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

                      @PlayingKarrde It was initially requested as a workaround for C64 keyboard issues, around here. Other than that, it'd also allow setting possibly more intuitive bindings, like Ctrl+F for searching or Ctrl+Left/Right to change collections.

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

                        @fluffypillow Ah I see. So it's just for bindings then? (ie not giving new functions through modifiers).

                        I have a quick question that I can't seem to find the answer for: do you know of any way to properly format text from the metadata? I'm noticing that double line breaks (or paragraphs) aren't being accounted for at all.

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

                          @PlayingKarrde yup, just for bindings.

                          As for text, it's not well documented yet, but you may use \nor <br> for manual line breaks (but don't mix the two).

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

                            @fluffypillow hmm but that would require me to hand edit the metadata which isn't something im likely to do for 1000 games.

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

                              Just released v0.2 of gameOS

                              alt text

                              alt text

                              alt text

                              Lots of polish and cleanup as well as added the details page into the flow. Switching between favourites and all will be the next big feature with search rounding it out after that. By that time I expect the new changes to Pegasus will be out so I will then spend the time updating it for that and probably move it into beta status.

                              I'll post a video as I think it looks better in motion, but as always it can be downloaded here:

                              https://github.com/PlayingKarrde/gameOS

                              hooperreH S fluffypillowF 3 條回覆 最後回覆 回覆 引用 6
                              • hooperreH
                                hooperre @PlayingKarrde
                                最後由 編輯

                                @PlayingKarrde Great stuff.

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

                                1 條回覆 最後回覆 回覆 引用 0
                                • S
                                  Seya16 @PlayingKarrde
                                  最後由 編輯

                                  @PlayingKarrde looks top notch, can't wait to see how it will be on it's final state.

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

                                    @PlayingKarrde Nice! Will definitely try it out.

                                    hmm but that would require me to hand edit the metadata

                                    Ah so it'd be for a lots of games -- I should make the converter a bit smarter then (eventually). Though if I remember correctly, I did add support for empty lines when converting from ES files, but I'll review that part.

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

                                      Here's the video of the update:

                                      -edit-
                                      Just made some new additions (adding, favorites filter, video preview in details, some other things) so going to call this v0.3. Will probably hold off from any major new features now until the Pegasus changes come in.

                                      alt text

                                      1 條回覆 最後回覆 回覆 引用 1
                                      • Purg.DerrenP
                                        Purg.Derren
                                        最後由 Purg.Derren 編輯

                                        nvm

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

                                          Weekly update! So as mentioned previously, in the next weeks there will be several updates with breaking changes, and here's the first one:

                                          • Added key modifier (Ctrl, Alt, Shift) support. You can now register key combinations with them.
                                            • Note: Due to these changes the currently set key bindings will reset after the update. If you see issues like incorrect keys, you can also reset them manually.
                                          • Added Skraper asset support. In the directories set in the Settings menu, Pegasus will look for Skraper-style asset layouts in [gamedir]/media and [gamedir]/skraper (in case you don't want to mix it with Pegasus-style assets).
                                          • Updated all related documentation

                                          Breaking Theme API changes:

                                          • Changed the parameter of api.keys.is<Keytype>() calls from a single key to a QML KeyEvent. For example, instead of api.keys.isAccept(event.key) you'd write api.keys.isAccept(event).
                                          • Changed the returned type of api.keys.<Keytype>() calls. Previously they returned a list of single keys, now they return a list of objects, each having a key and a modifiers field, similarly to the QML KeyEvent.
                                          PlayingKarrdeP 1 條回覆 最後回覆 回覆 引用 3
                                          • PlayingKarrdeP
                                            PlayingKarrde @fluffypillow
                                            最後由 PlayingKarrde 編輯

                                            @fluffypillow said in Announcing Pegasus Frontend:

                                            Added Skraper asset support.

                                            So happy this is here! However, I just tried it out and it doesn't appear to be working. The media is organized into /media/box2dfront/<gamename>.png etc fwiw.

                                            Have updated the theme with the new input changes.

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