RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    pifba trick: custom button configs for different games)

    Scheduled Pinned Locked Moved Help and Support
    pifbaneo geo
    22 Posts 7 Posters 10.8k 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.
    • P
      Polezi @meleu
      last edited by

      @meleu Yes when I load with normal pifba the game works great

      meleuM 1 Reply Last reply Reply Quote 0
      • caver01C
        caver01 @meleu
        last edited by caver01

        @meleu This is clever. I don't think to use this capability as much as I should. I tend to drop per-rom configs into the corresponding ROMs directory (which is fine for lr cores), but when you simply need consistency, this is cleaner, and beats running scripts to to copy files around pre and post launch.

        My 4-player cocktail style cabinet built as a custom "roadcase"

        1 Reply Last reply Reply Quote 1
        • meleuM
          meleu @Polezi
          last edited by

          @Polezi could you tell me what game it is? Or any other way to reproduce your issue.

          • Useful topics
          • joystick-selection tool
          • rpie-art tool
          • achievements I made
          P 1 Reply Last reply Reply Quote 0
          • P
            Polezi @meleu
            last edited by

            @meleu I'm using joystick, a Dragon Rise USB Controller, I use the same configuration of fba2x.cfg and change the numbers, I make all steps, then I click to lauch the game, black screen, don't load the files like the original way. I try copy the file fba2x.cfg and just change your name, don't work too, same problem.

            meleuM 1 Reply Last reply Reply Quote 0
            • meleuM
              meleu @Polezi
              last edited by

              @Polezi I've tested here on my raspi1 and it seems to work fine. Please, paste the content of the following files in http://codepad.org/ (select the "Plain Text" at the left of text box)

              • /opt/retropie/configs/fba/emulators.cfg
              • /opt/retropie/configs/fba/fba2x.cfg
              • /opt/retropie/configs/fba/pifba-4btns.cfg

              footnote: You could paste those files in pastebin or something, but I'm behind a restrictive proxy now and it doesn't block codepad.org...

              • Useful topics
              • joystick-selection tool
              • rpie-art tool
              • achievements I made
              1 Reply Last reply Reply Quote 0
              • P
                Polezi
                last edited by Polezi

                I think that I found the problem, my folder in retropie/emulators/ is pifba not fba, so I will change this, and now I update the fba in retropie setup but now don't show the option for load the game with pifba-4btns, for update I have to remove and install again? I click in update for the source, I'm so close to make work, now back to zero

                meleuM 1 Reply Last reply Reply Quote 0
                • meleuM
                  meleu @Polezi
                  last edited by

                  @Polezi If you still need my help, please provide the info I asked above.

                  • Useful topics
                  • joystick-selection tool
                  • rpie-art tool
                  • achievements I made
                  P 1 Reply Last reply Reply Quote 0
                  • P
                    Polezi @meleu
                    last edited by

                    @meleu http://codepad.org/e7dFIg1p 4btns
                    http://codepad.org/ljt4VBkF emulators
                    http://codepad.org/vCCD1r8J fba

                    Don't show anymore the option to choose 4btns for load the game, whats happening?

                    meleuM 1 Reply Last reply Reply Quote 0
                    • meleuM
                      meleu @Polezi
                      last edited by meleu

                      @Polezi said in pifba trick: custom button configs for different games):

                      http://codepad.org/e7dFIg1p 4btns

                      Man, did you get this file from my old blog?! I think it's a bit outdated! I suggest you to use this file:
                      https://raw.githubusercontent.com/meleu/share/master/pifba-4btns.cfg

                      And for 6 buttons:
                      https://raw.githubusercontent.com/meleu/share/master/pifba-6btns.cfg

                      http://codepad.org/ljt4VBkF emulators

                      This file is lacking these lines (as explained in the first post of this topic):

                      pifba-4btns = "/opt/retropie/emulators/fba/pifba --config /opt/retropie/configs/fba/pifba-4btns.cfg %ROM%"
                      pifba-6btns = "/opt/retropie/emulators/fba/pifba --config /opt/retropie/configs/fba/pifba-6btns.cfg %ROM%"
                      

                      This is why the 4btns/6btns options are not being offered in runcommand menu.

                      EDIT: I noticed that the content of those lines are in only one line. Maybe you're editing the file in Notepad/Windows. If you are editing on a Windows environment, use Wordpad rather than notepad.

                      • Useful topics
                      • joystick-selection tool
                      • rpie-art tool
                      • achievements I made
                      P 1 Reply Last reply Reply Quote 0
                      • P
                        Polezi @meleu
                        last edited by

                        @meleu I donT have the folder fba inside emulators, Just pifba, shouldn't I change this LINE in emulators.cfg? And dont have pifba inside the folder pifba, only fba2x

                        meleuM 1 Reply Last reply Reply Quote 0
                        • meleuM
                          meleu @Polezi
                          last edited by

                          @Polezi said in pifba trick: custom button configs for different games):

                          @meleu I donT have the folder fba inside emulators, Just pifba, shouldn't I change this LINE in emulators.cfg?

                          You're right. The path has changed since I posted this trick. Please, fix it on your end.

                          • Useful topics
                          • joystick-selection tool
                          • rpie-art tool
                          • achievements I made
                          P 1 Reply Last reply Reply Quote 0
                          • P
                            Polezi @meleu
                            last edited by

                            @meleu I'm very happy here, the trick works, but I change the line in emulators to pifba-4btns = "/opt/retropie/emulators/pifba/fba2x --config /opt/retropie/configs/fba/pifba-4btns.cfg %ROM%" now let's play KOF

                            1 Reply Last reply Reply Quote 1
                            • SkinnyboyS
                              Skinnyboy
                              last edited by

                              Hi @Meleu

                              I've tried following the steps as set out by you above, but somehow still cant get my controller to work in a NeoGeo emulator. So far, I only have the one game in that particular emulator and it's because none of the other emulators seem to run it.

                              It's a pain because I'm in the process of building an arcade machine and I'd really like if my controller (joystick and buttons) could work on all the games.

                              Is there a possibility you could assist me please and I know nothing of programming?

                              I'm running a RPI 3 b+ with a Dragon Rise inc. controller board.

                              Thank you in advance.

                              dankcushionsD 1 Reply Last reply Reply Quote 0
                              • dankcushionsD
                                dankcushions Global Moderator @Skinnyboy
                                last edited by

                                @Skinnyboy if you have a pi3b+ there is no reason to run pifba. honestly, your best solution is to obtain the right romset for lr-fbalpha (FBA 0.97.2.43) and then use the game zip from that in lr-fbalpha. it will work and the controls will be all set up by default.

                                1 Reply Last reply Reply Quote 1
                                • Coin JunkieC
                                  Coin Junkie
                                  last edited by

                                  This emulator works perfectly for the PiZero but I couldn't sort out the controller settings until I found this old thread.This worked perfectly after using the update note from Polezi, thank you and huge thank you to Meleu!

                                  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.