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

    Show Control Panel Layout before game starts in RetroPie, just like Arcade1UP does.

    Scheduled Pinned Locked Moved Projects and Themes
    arcade1upcontrolruncommandjoy2key
    92 Posts 20 Posters 24.6k 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.
    • paffleyP
      paffley
      last edited by

      Interesting read this! thanks!

      Just a quick question...

      Is there anyway to edit runcommand so it freezes and then you have an option of 'A to load game' and 'B to cancel and return to gamelist' please?

      1 Reply Last reply Reply Quote 0
      • T
        TheRealSmilebit @Texacate
        last edited by

        @Texacate Thanks...I kinda hit a brick wall and walked away for this particular project for a while. Just overthinking and making it too complicated.

        I did, however, use your code to make LCD Marquee. Found a 14.9" stretched monitor and added to my Arcade1up mod.

        But I will get back to the original idea in the New Year. Have some other projects I need to finish up and will revisit this one.

        1 Reply Last reply Reply Quote 0
        • F
          fishman @Kjarkur
          last edited by fishman

          @Kjarkur
          Did ever complete it?

          1 Reply Last reply Reply Quote 0
          • F
            fishman @Kjarkur
            last edited by

            @Kjarkur said in Show Control Panel Layout before game starts in RetroPie, just like Arcade1UP does.:

            @BJRetro the video shows my own regamebox distribution. I can make a fork on github.com. Of course it can be done with retropie easily. General steps are this

            • create the button mapping pictures in advance
            • put a picture viewer in runcommand-onstart.sh

            I have used here a own picture viewer based on SDL. Reason was that I wanted to use something like quit on all keys and quit after 10 seconds.

            Sorry I meant to quote. Did you ever make a fork of this on gethub? And how do you set this up? And have been looking for something like this for my raspberry pi retropie.

            1 Reply Last reply Reply Quote 0
            • M
              MISTERHOLLYW00D
              last edited by

              I had to edit the Joy2Key.py file to allow the user of the Start button so the player could exit the screen using the Player 1 button.

              What line would you have to edit

              1 Reply Last reply Reply Quote 0
              • johnodonJ
                johnodon
                last edited by

                Apologies for digging up an old topic...

                @TheRealSmilebit If you are still around, can you detail what changes you made to joy2key.py that allowed you to map a single button to close the launch image and start the game? There are a few of us that would love to have this functionality!

                TIA!

                John

                1 Reply Last reply Reply Quote 0
                • johnodonJ
                  johnodon @BJRetro
                  last edited by

                  @BJRetro said in Show Control Panel Layout before game starts in RetroPie, just like Arcade1UP does.:

                  https://retropie.org.uk/forum/topic/20030/controller-info-overlay-in-the-game

                  @BJRetro I actually went this route and it works. I use 2 copies of my game specific bezels...one with a transparent background (gameplay) and one with the black background with controls. This makes the transition seamless. However, there are 2 things that make it non-optimal:

                  1: Requires the use of a hotkey combination to change overlays. A single button solution would be preferred.
                  2. The game is not paused when you display the controls bezel. I was thinking of adding a 'pause_toggle' command before the 'overlay_next' command but haven't found any instances of success. See this thread as an example: https://forums.libretro.com/t/overlay-format-documentation/230

                  1 Reply Last reply Reply Quote 0
                  • R
                    ronbo85 @mitu
                    last edited by

                    @mitu Any progress on this? I'm in the process of generating all my channel screens (per @Texacate ). His work is great, but I want joysticks, and spinners, and... ;)

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @ronbo85
                      last edited by

                      @ronbo85 Not sure what you mean ?

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        ronbo85 @mitu
                        last edited by

                        @mitu Sorry for being so vague :)
                        I'm trying to use @Texacate 's work to generate snaps of control panels based on each rom. Unfortunately, his work stops at "buttons". I'd like to extend that to also include joysticks, etc., and I thought if I use the 'controllers.xml' file, that has the data but I'm not so well verse in either Bash or XMLStarlet. I was wondering if anyone else had written any bash scripts to query the controllers.xml file for the controller data. I've got @Texacate 's script generating images for the buttons. Looking to 'complete' the package. (much akin to .. was it CPWizard? .. which I think is outdated at this point. )
                        Thanks for any pointers! Hope this explains my question better. Let me know if it needs further clarification :)

                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @ronbo85
                          last edited by

                          @ronbo85 To answer to your question - no. If you have any specific question about scripting though, just post a new topic with it and me or other forum members may be able to help you.

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            ronbo85 @mitu
                            last edited by

                            @mitu said in Show Control Panel Layout before game starts in RetroPie, just like Arcade1UP does.:

                            @ronbo85 To answer to your question - no. If you have any specific question about scripting though, just post a new topic with it and me or other forum members may be able to help you.

                            Thank you, will do!

                            1 Reply Last reply Reply Quote 0
                            • R
                              ronbo85 @Kjarkur
                              last edited by

                              @kjarkur said in Show Control Panel Layout before game starts in RetroPie, just like Arcade1UP does.:

                              @BJRetro the video shows my own regamebox distribution. I can make a fork on github.com. Of course it can be done with retropie easily. General steps are this

                              • create the button mapping pictures in advance
                              • put a picture viewer in runcommand-onstart.sh

                              I have used here a own picture viewer based on SDL. Reason was that I wanted to use something like quit on all keys and quit after 10 seconds.

                              @kjarkur , I'm looking for help on the runcommand_onstart.sh . Would like to check out your code that you have running beautifully. I've tried using fbi to display images, but can't seem to get it to show up on screen when running runcommand-onstartup script (screen just goes blank). I am able to run fbi on commandline and get it to display ok. Thanks for any help!

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                Texacate @ronbo85
                                last edited by

                                @ronbo85. Apologies. I haven't been on the forum in a long while. If you need any help with the ButtonMap work I did, post again. Agreed. I stopped at buttons, and never directly used controllers.xml...

                                Regarding FBI:
                                Take a look at the Python file: simpleServer.py on my github area.
                                These are the args I'm using to show the image.

                                sudo fbi -vt 1 -a --noverbose </path/to/image>

                                Hopefully one of these switches will help your scripting.
                                Cheers

                                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.