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.1m 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.
    • J
      Jste84 @Jste84
      last edited by

      @jste84 @fluffypillow @tronkyfran happy to do DM log if either of you are on?

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

        @jste84 what problems are you experiencing? I'll be on IRC in about half an hour, but you can post a log here too.

        J 2 Replies Last reply Reply Quote 1
        • J
          Jste84 @fluffypillow
          last edited by

          @fluffypillow 0_1538596777014_Screenshot_20181003-185224.jpg )0_1538596783481_Screenshot_20181003-185214.jpg

          1 Reply Last reply Reply Quote 0
          • J
            Jste84 @fluffypillow
            last edited by

            @fluffypillow 0_1538596915262_Screenshot_20181003-185131.jpg

            I've done something wrong I just don't know what

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

              @jste84 so the games don't start, right? There seems be some typos the last line of your collections file; instead of

               e "file://{file.path}
              

              it should be

               -d "file://{file.path}"
              
              J 1 Reply Last reply Reply Quote 0
              • J
                Jste84 @fluffypillow
                last edited by

                @fluffypillow said in Announcing Pegasus Frontend:

                @jste84 so the games don't start, right? There seems be some typos the last line of your collections file; instead of

                 e "file://{file.path}
                

                it should be

                 -d "file://{file.path}"
                

                Ahh, ok I've tried updating this but still not having any joy... Issues is that games don't start..

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

                  @jste84 Could you post a new log? You should see a difference in the 'Executing command' part after your changes. Does this problem affect all games or there are some that do start up?

                  J 1 Reply Last reply Reply Quote 1
                  • S
                    SephirothX2004 @Jste84
                    last edited by SephirothX2004

                    @jste84

                    I have it running on my Snail i7 android phone perfectly.
                    I'll list some of my collection configs.

                    My nes collections file is:

                    collection: NES
                    extensions: nes
                    launch: am start --user 0
                    -n com.retroarch/.browser.retroactivity.RetroActivityFuture
                    -e ROM "{file.path}"
                    -e LIBRETRO /data/data/com.retroarch/cores/fceumm_libretro_android.so
                    -e CONFIGFILE /storage/emulated/0/Android/data/com.retroarch/files/retroarch.cfg
                    -e IME com.android.inputmethod.latin/.LatinIME
                    -e DATADIR /data/data/com.retroarch
                    -e APK /data/app/com.retroarch-1/base.apk
                    -e SDCARD /storage/emulated/0
                    -e DOWNLOADS /storage/emulated/0/Download
                    -e VIDEO /storage/emulated/0/Video/NES
                    -e SCREENSHOTS /storage/emulated/0/Art/NES
                    -e EXTERNAL /storage/emulated/0/Android/data/com.retroarch/files
                    --activity-clear-top

                    My n64 collections is:

                    collection: N64
                    extension: v64,z64,n64
                    launch: am start --user 0
                    -a android.intent.action.VIEW
                    -n org.mupen64plusae.v3.fzurita/paulscode.android.mupen64plusae.SplashActivity
                    -d "file://{file.path}"

                    My dreamcast collection is:

                    collection: Dreamcast
                    extension: cdi,chd,gdi
                    launch: am start --user 0
                    -a android.intent.action.VIEW
                    -n com.reicast.emulator/.MainActivity
                    -d "file://{file.path}"

                    I hope this helps you in some way.

                    J 1 Reply Last reply Reply Quote 1
                    • J
                      Jste84 @fluffypillow
                      last edited by

                      @fluffypillow 0_1538654629786_Screenshot_20181004-130016.jpg

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

                        @jste84 Hm, the command seems to be fine... Could you try with a different game, if you have one? Spaces in the file name shouldn't cause problem (I've tested that), but could you try renaming the game, just in case? Also does this emulator work fine on its own when you open the same game?

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          Jste84 @fluffypillow
                          last edited by

                          @fluffypillow games play fine on RetroArch, tried a different rom and same issue. Tried removing spaces and still not working unfortunately

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

                            @jste84 you're trying to open the game with Nostalgia.NES (according to the logs), does the game work in that emulator too? As for RetroArch, if it's working on its own, could you try opening the file with that (to see whether there are program communication issues or this issue is a bug in one of the apps)? For this setup I think you could use the same collections.txt that @SephirothX2004 mentioned above.

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              Jste84 @SephirothX2004
                              last edited by

                              @sephirothx2004 said in Announcing Pegasus Frontend:

                              @jste84

                              I have it running on my Snail i7 android phone perfectly.
                              I'll list some of my collection configs.

                              My nes collections file is:

                              collection: NES
                              extensions: nes
                              launch: am start --user 0
                              -n com.retroarch/.browser.retroactivity.RetroActivityFuture
                              -e ROM "{file.path}"
                              -e LIBRETRO /data/data/com.retroarch/cores/fceumm_libretro_android.so
                              -e CONFIGFILE /storage/emulated/0/Android/data/com.retroarch/files/retroarch.cfg
                              -e IME com.android.inputmethod.latin/.LatinIME
                              -e DATADIR /data/data/com.retroarch
                              -e APK /data/app/com.retroarch-1/base.apk
                              -e SDCARD /storage/emulated/0
                              -e DOWNLOADS /storage/emulated/0/Download
                              -e VIDEO /storage/emulated/0/Video/NES
                              -e SCREENSHOTS /storage/emulated/0/Art/NES
                              -e EXTERNAL /storage/emulated/0/Android/data/com.retroarch/files
                              --activity-clear-top

                              My n64 collections is:

                              collection: N64
                              extension: v64,z64,n64
                              launch: am start --user 0
                              -a android.intent.action.VIEW
                              -n org.mupen64plusae.v3.fzurita/paulscode.android.mupen64plusae.SplashActivity
                              -d "file://{file.path}"

                              My dreamcast collection is:

                              collection: Dreamcast
                              extension: cdi,chd,gdi
                              launch: am start --user 0
                              -a android.intent.action.VIEW
                              -n com.reicast.emulator/.MainActivity
                              -d "file://{file.path}"

                              I hope this helps you in some way.

                              Tried this and it didnt work for me but cheers

                              1 Reply Last reply Reply Quote 0
                              • J
                                Jste84 @fluffypillow
                                last edited by

                                @fluffypillow said in Announcing Pegasus Frontend:

                                @jste84 you're trying to open the game with Nostalgia.NES (according to the logs), does the game work in that emulator too? As for RetroArch, if it's working on its own, could you try opening the file with that (to see whether there are program communication issues or this issue is a bug in one of the apps)? For this setup I think you could use the same collections.txt that @SephirothX2004 mentioned above.

                                Ok so nostalgia works.
                                RetroArch works

                                Whenever I update collections.txt I just can't get any joy. Ive tried nostalgia and RetroArch configs. I've now gone back to nostalgia and it's doing something different, the screen changes but it doesn't load.

                                collection: NES
                                extensions: nes
                                launch: am start --user 0
                                -a android.intent.action.VIEW
                                -n com.nostalgiaemulators.neslite/com.nostalgiaemulators.nes.NesSlotImportActivity
                                -d "file://{file.path}"

                                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/RetroArch/downloads/Nes
                                Found /storage/emulated/0/RetroArch/downloads/Nes/collections.txt
                                Games found in 2ms
                                Assets and metadata found in 0ms
                                3 games found
                                Executing command: am start --user 0 -a android.intent.action.VIEW -n com.nostalgiaemulators.neslite/com.nostalgiaemulators.nes.NesSlotImportActivity -d "file:///storage/emulated/0/RetroArch/downloads/Nes/Super Mario Bros 3(E).nes"
                                Process 9220 started


                                The external program has finished cleanly, with exit code 0
                                QEGLPlatformContext: eglSwapBuffers failed: 300d
                                QEGLPlatformContext: eglSwapBuffers failed: 300d
                                QEGLPlatformContext: eglSwapBuffers failed: 300d

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

                                  @jste84 I've tried Nostalgia.NES on my device, and unfortunately it seems this program cannot open individual games, only save states (or whatever a "slot" is -- it produces an invisible "Slot import" screen when launching, then also closes instantly). I'll update the documentation with this info.

                                  On the other hand, RetroArch does work fine for me. It seems leading spaces are removed when you try to copy text from the forum, that might have caused the trouble. You can also copy the NES config from here, just change the extension to nes if needed.

                                  J 1 Reply Last reply Reply Quote 0
                                  • Purg.DerrenP
                                    Purg.Derren
                                    last edited by Purg.Derren

                                    1. is there a way to add media assets on android right now?
                                    i've added metadata.txt and collections.txt, so the roms can be found - but there is no option to add boxart or video in the txt files, or am i wrong?
                                    on windows i just use the gamelist.xml of emulationstation (but would also like to get rid of this "compromise" ^^) ... on android pegasus seems to ignore the gamelist.xml

                                    1. i noticed, that if a platform have just a few roms (in my case 3 titles) and i switch ONE TIME forward and ONE TIME back (shoulder buttons) , the boxart is "supersized" ... if i switch two times for and two times back it's ok. ...dunno how to describe it better.
                                    1 Reply Last reply Reply Quote 1
                                    • J
                                      Jste84 @fluffypillow
                                      last edited by

                                      @fluffypillow said in Announcing Pegasus Frontend:

                                      @jste84 I've tried Nostalgia.NES on my device, and unfortunately it seems this program cannot open individual games, only save states (or whatever a "slot" is -- it produces an invisible "Slot import" screen when launching, then also closes instantly). I'll update the documentation with this info.

                                      On the other hand, RetroArch does work fine for me. It seems leading spaces are removed when you try to copy text from the forum, that might have caused the trouble. You can also copy the NES config from here, just change the extension to nes if needed.

                                      I've copied the text and now it's working. I'm guessing I had another typo in there. Cheers for your help 👍

                                      Now my next task is box art/metadata... As per the post above... Not sure how easy this is...

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

                                        Meanwhile I've just made another theme, something I've wanted to create for quite some time:

                                        img

                                        You can get it HERE.

                                        Some points of interests for theme makers:

                                        • this is a fixed 4:3 theme and uses a custom scaling system
                                        • there are sprite sheets
                                        • there is a relatively large amount of JavaScript logic for the "Bird AI"
                                        1 Reply Last reply Reply Quote 4
                                        • T
                                          tronkyfran
                                          last edited by

                                          No words, thats awesome and show the possibilities of the frontend.

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

                                            A wild weekly update (+recap) appears!

                                            • Breaking Changes in the Theme API: renamed collectionList to collections and gameList to games
                                              • in practice, this means you'll need to update (ie. redownload) the themes; sorry for the inconvenience!
                                            • Opening the main menu now has its own key (other than just hitting Back until you reach it). Defaults to F1 and Gamepad Start.
                                            • Theme API: Arrow keys can now be queried like the rest of the keys with isLeft, left, isUp, etc.
                                            • Fixed themes appearing multiple times on the list in some cases
                                            • Updated the documentation
                                            • Created the ES2 Simple theme
                                            • Created the 9999999-in-1 theme
                                            C 1 Reply Last reply Reply Quote 4
                                            • 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.