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

    FBA can't move up,down,left,right

    Scheduled Pinned Locked Moved Help and Support
    27 Posts 5 Posters 7.5k 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.
    • M
      megatron99
      last edited by Floob

      [Joystick]
      get codes from "jsterst /dev/input/js0
       from packaget "joystick"
       Defaults to XBOX 360 controller
      A_1=4
      B_1=5
      X_1=7
      Y_1=9
      L_1=8
      R_1=6
      Start_1=12
      select_1=10
      Joystick axis
      JA_LR=1
      JA_UD=0
      player 2 button configuration
      
      1 Reply Last reply Reply Quote 0
      • M
        megatron99
        last edited by

        this is the area I changed. All my punch and kick buttons work but I can't go forward or back and up or down. Not sure what to do with JA_LR=1 and JA_UD=0. This game has been a real challenge to get working. I have a rom for the psx but I'm having troubles getting it to run. I even put a bio folder. It runs but not correctly.

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

          @megatron99
          Use markdown to format your posts - see http://commonmark.org/help/

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

            put three backquotes before the fba2x.cfg content and other three backquotes after. The content you put here seems to have some missing characters and lines...

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

              Let me paste my own fba2x.cfg for capcom games (keep in mind that I'm using a PlayStation-like USB controller).

              My Joystick Axis configs is different from yours (JA_LR=0 and JA_UD=1).

              ### meleu: PiFBA for CAPCOM games ###
              #####################################
              [Keyboard]
              # Get codes from /usr/include/SDL/SDL_keysym.h
              A_1=306
              B_1=32
              X_1=308
              Y_1=304
              L_1=122
              R_1=120
              START_1=13
              SELECT_1=9
              LEFT_1=276
              RIGHT_1=275
              UP_1=273
              DOWN_1=274
              QUIT=27
              #player 2 keyboard controls, disabled by default
              A_2=999
              B_2=999
              X_2=999
              Y_2=999
              L_2=999
              R_2=999
              START_2=999
              SELECT_2=999
              LEFT_2=999
              RIGHT_2=999
              UP_2=999
              DOWN_2=999
              
              [Joystick]
              # Get codes from "jstest /dev/input/js0"
              # from package "joystick"
              ### meleu: I'm used to use a PlayStation-like control
              # A = weak punch = square
              A_1=3
              # B = strong punch = triangle
              B_1=0
              # X = medium punch = R1
              X_1=7
              
              # Y = weak kick = cross
              Y_1=2
              # L = medium kick = R2
              L_1=5
              # R = strong kick = circle
              R_1=1
              
              START_1=9
              SELECT_1=8
              #Joystick axis
              JA_LR=0
              JA_UD=1
              #player 2 button configuration
              A_2=3
              B_2=0
              X_2=7
              Y_2=2
              L_2=5
              R_2=1
              START_2=9
              SELECT_2=8
              #Joystick axis
              JA_LR_2=0
              JA_UD_2=1
              
              [Graphics]
              DisplaySmoothStretch=1
              # Display Effect: 0 none, 1 scanlines
              DisplayEffect=0
              DisplayBorder=0
              MaintainAspectRatio=1
              
              [Sound]
              ### End of File ###
              
              • Useful topics
              • joystick-selection tool
              • rpie-art tool
              • achievements I made
              1 Reply Last reply Reply Quote 0
              • edmaul69E
                edmaul69
                last edited by edmaul69

                I play marvel vs capcom on lr-fba or lr-fba-next. Im not sure which one im using. I will let you know which one when i get home. I have every single capcom game on lr-fba or lr-fba-next that it supports and i tested all of them. Had to download some new ones to replace ones that didnt work on it. I will let you know which one in about an hour. I also have my capcom games split into two rom folders. All 6 button games except street fighter 1 in one and all the rest in another. The reason why is the six button games have a different controller config then all the rest of them.

                1 Reply Last reply Reply Quote 1
                • M
                  megatron99
                  last edited by

                  I'm confused on the joystick axis. JA LR=0
                  I think that is where my problem is.

                  1 Reply Last reply Reply Quote 0
                  • edmaul69E
                    edmaul69
                    last edited by edmaul69

                    Means joystick axis for left and right is -/+ 0. If your joystick buttons are numbers or hats you need to change it from axis to a button

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

                      @edmaul69 ok I'll try that. I'm going to replace #joystick axis to #joystick button

                      edmaul69E meleuM 2 Replies Last reply Reply Quote 0
                      • edmaul69E
                        edmaul69 @megatron99
                        last edited by

                        @megatron99 said in FBA can't move up,down,left,right:

                        @edmaul69 ok I'll try that. I'm going to replace #joystick axis to #joystick button

                        So for compatibility i use lr-fba-next for all 6 button games and everything else uses lr-fba. I just tested and marvel vs capcom (euro 980123) works on lr-fba-next

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

                          @megatron99 said in FBA can't move up,down,left,right:

                          @edmaul69 ok I'll try that. I'm going to replace #joystick axis to #joystick button

                          It seems that you aren't familiar with the "linux way of life"... :-) The # character means that everything after it is a comment. It's only usefull for humans, the PiFBA ignores it.

                          Although I believe that finding a proper ROM to make it run on lr-fba is a good solution, I would like to be able to help you to make it run on PiFBA.

                          Can you try to use my fba2x.cfg to see what happens? Maybe the buttons aren't what you want, but let's see if the directional buttons will work.

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

                            @meleu thank you. Looks like I can't find a rom to work. I would love you hear if you have any suggestions on getting the rom to work.

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

                              trying to get Marvel vs Capcom to work on lr-fba or lr-fba-next. Does anybody have any suggestions on how to get the rom working. Went to https://github.com/RetroPie/RetroPie-Setup/wiki/Managing-ROMs with no luck.

                              1 Reply Last reply Reply Quote 0
                              • A
                                Akil313
                                last edited by

                                I have this problem but I'm stuck using PiFba when i want to change to lr-fba-next. The issue is when i start the game i see no menu to change the emulator I'm using.

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

                                  @Akil313 what do you see?

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

                                    @meleu it goes black, then i see a yellow bar loading up and at the top it says final brun alpha for Pi

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

                                      @Akil313 another user reported a similar problem:
                                      https://retropie.org.uk/forum/topic/2831/runcommand-dialog-before-game-sometimes-disappears

                                      Did you change something in runcommand options?
                                      That one in the RetroPie menu.
                                      Details here:
                                      https://github.com/retropie/retropie-setup/wiki/runcommand

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

                                        @meleu I have no recollection of changing anything but its possible i might have a long while back.
                                        EDIT
                                        Thanks a million man i got the runcommand menu back, i switched to lr-fba-next and that solved my problem with the joysticks.
                                        Thank you again so much lol ive been looking for hours.

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

                                          @Akil313 good to know it! :-)
                                          Did you get the right marvel vs capcom to play in lr-fba-next?

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

                                            @meleu Yea its working too all the games i added worked fine
                                            I used clrpro to compile everything already

                                            1 Reply Last reply Reply Quote 1
                                            • 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.