RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    [Theme] gpiOS (based on gameOS) Pegasus front end theme modified for Retroflag Gpi case

    Scheduled Pinned Locked Moved Projects and Themes
    retroflaggpipegasustheme
    20 Posts 7 Posters 5.1k 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.
    • AndersHPA
      AndersHP
      last edited by

      @SinisterSpatula
      Since I'm not owning a RetroFlag GPi but a Kite Curcuit Sword build, I cannot find the safe shutdown script you mention.

      However, I found the cs_shutdown.sh file in /opt/ folder, and it looks like this:

      #!/bin/bash
      
      # Get ES pid
      ES_PID=`pidof emulationstation`
      
      if [[ $ES_PID != "" ]] ; then
      
        echo "ES_PID: $ES_PID"
      
        # Touch the shutdown file
        touch /tmp/es-shutdown
        chown pi:pi /tmp/es-shutdown
      
        # Tell ES to terminate
        kill -s SIGTERM $ES_PID
      
        echo "ES has been asked to shutdown"
      
      else
      
        echo "Could not find ES PID ($ES_PID)"
        sudo shutdown -h now &
      
      fi
      

      Should I just replace the following line:

       kill -s SIGTERM $ES_PID
      

      with something else?
      You mention crcerror shutdown script, but I don't know if this would work with my build, or what it would do differently than the above...

      Can you help?

      My "Bubble Bobble" Themed Bartop Arcade
      My Gameboy

      cyperghostC 1 Reply Last reply Reply Quote 0
      • cyperghostC
        cyperghost @AndersHP
        last edited by cyperghost

        @AndersHP Well my script terminates the emulators before initiating a shutdown. So there is a chance that SRM saves and gamelist metadata is saved properly. That's the only difference. And yes it would work with your build ... if you want

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

          @cyperghost
          So you are crerror?

          I'm no coder so I cannot tell what the scripts does. Should I completely delete the cs_shutdown.sh script and add yours or? Can you see what the script on my build does?

          My "Bubble Bobble" Themed Bartop Arcade
          My Gameboy

          cyperghostC 1 Reply Last reply Reply Quote 0
          • S
            SinisterSpatula
            last edited by SinisterSpatula

            I was missing some modifications to multiswitch.sh, I updated the install and usage guide. (Before it would have just killed pegasus and stayed stuck on the terminal, sorry about that). Once Cypherghost updates the safeshutdown repo (to handle both ES & Pegasus) we would just use that instead.

            1 Reply Last reply Reply Quote 0
            • cyperghostC
              cyperghost @AndersHP
              last edited by cyperghost

              @AndersHP said in [Theme] gpiOS (based on gameOS) Pegasus front end theme modified for Retroflag Gpi case:

              So you are crerror?

              Yes that's me

              Can you see what the script on my build does?

              If you are still using ES than your script would be just

              /opt/cs_shutdown.sh

              #!/bin/bash
              ES_PID=$(pidof emulationstation)
              if [[ -n $ES_PID  ]]; then
                  bash /path/to/multi_switch.sh --es-poweroff
              else
                  sudo shutdown -h now &
              fi
              
              AndersHPA 1 Reply Last reply Reply Quote 0
              • AndersHPA
                AndersHP @cyperghost
                last edited by

                @cyperghost
                Not using ES, the point in this thread is to use Pegasus....?

                My "Bubble Bobble" Themed Bartop Arcade
                My Gameboy

                cyperghostC 1 Reply Last reply Reply Quote 0
                • cyperghostC
                  cyperghost @AndersHP
                  last edited by cyperghost

                  @AndersHP Ah then you need to change the code in multi_switch. Like @SinisterSpatula did. Instead of searching the PID of emulationstation you search for pegasus. His modifications are posted here ...
                  If I've time I will add this to multi_switch, too.

                  AndersHPA 1 Reply Last reply Reply Quote 0
                  • S
                    SinisterSpatula
                    last edited by SinisterSpatula

                    Updated some platform logos:
                    alt text

                    Also added alternate "Favourites", you'll need to rename favourites.svg to favorites.svg manually if you want to use it:
                    alt text

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

                      So, I finally got around to getting this up and running, and it looks pretty good!
                      I really like the easy tweaking of the settings menu. And the performance of the theme is really good!

                      However, if I could make a request...?
                      I would really like for the grid view to look like Pegasus does. Really close boxarts with no text, and automatic scaling between portrait and landscape. But maybe it's more a matter of tweaking the Pegasus original theme..

                      Edit: Oops.. There's no audio in games when this theme is activated. No problems when I switch back to Pegasus Grid theme...?

                      My "Bubble Bobble" Themed Bartop Arcade
                      My Gameboy

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

                        @SinisterSpatula
                        Any tips to get audio in games? :-O

                        My "Bubble Bobble" Themed Bartop Arcade
                        My Gameboy

                        1 Reply Last reply Reply Quote 0
                        • Z
                          ztggr311
                          last edited by

                          @SinisterSpatula
                          I am using this theme on my pc. I have made adjustments for it to work better for my screen size. I really like this theme, but I am having one issue. Some of my games are not showing the preview option (video) even though there is a video there and the video works in other themes. Most of the game videos are working fine. Please help.

                          1 Reply Last reply Reply Quote 0
                          • insaneplI
                            insanepl
                            last edited by

                            @SinisterSpatula said in [Theme] gpiOS (based on gameOS) Pegasus front end theme modified for Retroflag Gpi case:

                            https://github.com/SinisterSpatula/pegasus-theme-gpiOS

                            Anyone know where to download gameOS / Pegasus sd image for Retroflag GPi?

                            1 Reply Last reply Reply Quote 0
                            • J
                              joharibk
                              last edited by

                              @SinisterSpatula Hi I just saw this thread and I think Pegasus is awesome. But I do have some things to ask if you figure it out yet.

                              Can we change Pegasus boot loading? and making the boot to silent boot. And also when we launch games can we hide the command text?

                              X 1 Reply Last reply Reply Quote 0
                              • X
                                xFJSx @joharibk
                                last edited by

                                @joharibk hiding the boot text has nothing to do with Pegasus and this Pegasus Theme, even less.
                                Maybe you need to follow this tutorial of how to hide the boot text

                                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.