Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Solved [Résolu] Quitter dans FBA

    Recalbox Général
    quitter fba
    3
    14
    3298
    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.
    • nejizzz
      nejizzz last edited by

      Jai le meme probleme egalement Mais quand je fait "L1 1R STAR SELECT" je reviens a la qelection des jeux

      1 Reply Last reply Reply Quote 0
      • digitaLumberjack
        digitaLumberjack Staff last edited by

        Hello, attends je regarde cela. Tu peux me filer le contenu du fichier /recalbox/configs/fba/fba2x.cfg ?

        1 Reply Last reply Reply Quote 0
        • stunko
          stunko last edited by

          voici le contenu :

          [Graphics]
          DisplaySmoothStretch=1
          # Display Effect: 0 none, 1 scanlines
          DisplayEffect=0
          DisplayBorder=0
          MaintainAspectRatio=1
          RotateScreen=0
          
          [Sound]
          
          [Joystick]
          
          1 Reply Last reply Reply Quote 0
          • digitaLumberjack
            digitaLumberjack Staff last edited by

            C'est le contenu après avoir lancé un jeu ? Il doit y avoir un bug parceque normalement tu as beaucoup plus d'info dedans, qui sont crées par createFBAConfig.sh

            1 Reply Last reply Reply Quote 0
            • stunko
              stunko last edited by

              Non, c'était au démarrage de recalbox. Voici le jeu en cours :

              [Graphics]
              DisplaySmoothStretch=1
              # Display Effect: 0 none, 1 scanlines
              DisplayEffect=0
              DisplayBorder=0
              MaintainAspectRatio=1
              RotateScreen=0
              
              [Sound]
              
              [Joystick]
              Y_1=0
              X_1=1
              JA_UD_1=1
              JA_LR_1=0
              R_1=5
              L_1=4
              JA_LR_1=0
              SELECT_1=6
              START_1=7
              QUIT=7
              JA_UD_1=1
              B_1=2
              A_1=3
              Y_2=0
              X_2=1
              JA_UD_2=1
              JA_LR_2=0
              R_2=5
              L_2=4
              JA_LR_2=0
              START_2=7
              JA_UD_2=1
              B_2=2
              A_2=6
              SDLID_1=0
              SDLID_2=1
              
              1 Reply Last reply Reply Quote 0
              • stunko
                stunko last edited by

                Du coup tu sais d'où ca peut venir ?

                1 Reply Last reply Reply Quote 0
                • digitaLumberjack
                  digitaLumberjack Staff last edited by

                  Oui il t'as pas mis la hotkey je regarde ça demain

                  1 Reply Last reply Reply Quote 0
                  • digitaLumberjack
                    digitaLumberjack Staff last edited by

                    Il faudrait que tu me file le mapping de ta manette dans /root/.emulationstation/es_input.cfg et /root/generateConfig.log après avoir lancé un jeu.

                    1 Reply Last reply Reply Quote 0
                    • stunko
                      stunko last edited by

                      Aï, c'est à ne plus rien y comprendre ! Ce soir pour refaire les tests, FBA marche sans problème !!! Par contre la mauvaise nouvelle c'est que maintenant c'est MAME qui merde, je peux jouer, mais select + start ne quitte plus et pire, le bouton échappe du clavier ne fait rien, donc obligé de rebooter en ssh à chaque nouveau jeu... voici /root/.emulationstation/es_input.cfg au moment d'un jeu mame

                      <?xml version="1.0"?>
                      <inputList>
                              <inputConfig type="keyboard" deviceName="Keyboard" deviceGUID="-1">
                                      <input name="a" type="key" id="115" value="1" />
                                      <input name="b" type="key" id="97" value="1" />
                                      <input name="down" type="key" id="1073741905" value="1" />
                                      <input name="left" type="key" id="1073741904" value="1" />
                                      <input name="pagedown" type="key" id="1073741902" value="1" />
                                      <input name="pageup" type="key" id="1073741899" value="1" />
                                      <input name="right" type="key" id="1073741903" value="1" />
                                      <input name="select" type="key" id="32" value="1" />
                                      <input name="start" type="key" id="13" value="1" />
                                      <input name="up" type="key" id="1073741906" value="1" />
                              </inputConfig>
                              <inputConfig type="joystick" deviceName="PLAYSTATION(R)3 Controller (00:8B:F0:FA:63:25)" deviceGUID="060000004c0500006802000000010000">
                                      <input name="a" type="button" id="13" value="1" />
                                      <input name="b" type="button" id="14" value="1" />
                                      <input name="down" type="button" id="6" value="1" />
                                      <input name="hotkey" type="button" id="16" value="1" />
                                      <input name="joystickleft" type="axis" id="0" value="-1" />
                                      <input name="joystickup" type="axis" id="1" value="-1" />
                                      <input name="l2" type="button" id="8" value="1" />
                                      <input name="left" type="button" id="7" value="1" />
                                      <input name="pagedown" type="button" id="11" value="1" />
                                      <input name="pageup" type="button" id="10" value="1" />
                                      <input name="r2" type="button" id="9" value="1" />
                                      <input name="right" type="button" id="5" value="1" />
                                      <input name="select" type="button" id="0" value="1" />
                                      <input name="start" type="button" id="3" value="1" />
                                      <input name="up" type="button" id="4" value="1" />
                                      <input name="x" type="button" id="12" value="1" />
                                      <input name="y" type="button" id="15" value="1" />
                              </inputConfig>
                              <inputConfig type="joystick" deviceName="Microsoft X-Box 360 pad" deviceGUID="030000005e0400008e02000010010000">
                                      <input name="a" type="button" id="0" value="1" />
                                      <input name="b" type="button" id="1" value="1" />
                                      <input name="down" type="hat" id="0" value="4" />
                                      <input name="hotkey" type="button" id="8" value="1" />
                                      <input name="left" type="hat" id="0" value="8" />
                                      <input name="pagedown" type="button" id="5" value="1" />
                                      <input name="pageup" type="button" id="4" value="1" />
                                      <input name="right" type="hat" id="0" value="2" />
                                      <input name="select" type="button" id="6" value="1" />
                                      <input name="start" type="button" id="7" value="1" />
                                      <input name="up" type="hat" id="0" value="1" />
                                      <input name="x" type="button" id="2" value="1" />
                                      <input name="y" type="button" id="3" value="1" />
                              </inputConfig>
                              <inputConfig type="joystick" deviceName="GPIO Controller 1" deviceGUID="15000000010000000100000000010000">
                                      <input name="a" type="button" id="0" value="1" />
                                      <input name="b" type="button" id="1" value="1" />
                                      <input name="down" type="axis" id="1" value="1" />
                                      <input name="hotkey" type="button" id="6" value="1" />
                                      <input name="left" type="axis" id="0" value="-1" />
                                      <input name="pagedown" type="button" id="5" value="1" />
                                      <input name="pageup" type="button" id="4" value="1" />
                                      <input name="right" type="axis" id="0" value="1" />
                                      <input name="select" type="button" id="6" value="1" />
                                      <input name="start" type="button" id="7" value="1" />
                                      <input name="up" type="axis" id="1" value="-1" />
                                      <input name="x" type="button" id="2" value="1" />
                                      <input name="y" type="button" id="3" value="1" />
                              </inputConfig>
                              <inputConfig type="joystick" deviceName="GPIO Controller 2" deviceGUID="15000000010000000200000000010000">
                                      <input name="a" type="button" id="0" value="1" />
                                      <input name="b" type="button" id="1" value="1" />
                                      <input name="down" type="axis" id="1" value="1" />
                                      <input name="left" type="axis" id="0" value="-1" />
                                      <input name="pagedown" type="button" id="5" value="1" />
                                      <input name="pageup" type="button" id="4" value="1" />
                                      <input name="right" type="axis" id="0" value="1" />
                                      <input name="start" type="button" id="7" value="1" />
                                      <input name="up" type="axis" id="1" value="-1" />
                                      <input name="x" type="button" id="2" value="1" />
                                      <input name="y" type="button" id="6" value="1" />
                              </inputConfig>
                      </inputList>
                      

                      et pour /root/generateConfig.log, il est vide.

                      1 Reply Last reply Reply Quote 0
                      • stunko
                        stunko last edited by

                        En fait, ma touche 'esc' ne marche plus, ni dans emulstation, ni dans les emulateurs. (ca correspondait bien à la touche 'B' pour faire retour dans emulstation ?)

                        1 Reply Last reply Reply Quote 0
                        • stunko
                          stunko last edited by

                          Je viens de trouver d'où venais de problème 😉 Dans MAME, ma hotkey n'est pas mon bouton select mais mon bouton R2 !!!! De meme que dans MAME et FBA, les boutons pour jouer ne sont pas placé au meme endroit. J'avais oublié que depuis que FBA fonctionne, je suis passé à la 3.2.8 entre temps, je ne sais pas si ca vient de là. Pour aider, voici /root/generateconfig.log pendant un jeu FBA :

                          will generate FBA config for uid 15000000010000000100000000010000 and player 1
                          will generate FBA config for uid 15000000010000000200000000010000 and player 2
                          will generate FBA config for uid DEFAULT and player 3
                          will generate FBA config for uid DEFAULT and player 4
                          setJoypadIndex for FBA ----------------------------
                                  I have for player 1 : index=0 for joystick GPIO Controller 1
                                  I have for player 2 : index=1 for joystick GPIO Controller 2
                                  I have for player 3 : index=-1 for joystick DEFAULTDONOTFINDMEINCOMMAND
                                  I have for player 4 : index=-1 for joystick DEFAULTDONOTFINDMEINCOMMAND
                          writing given config for player 1
                          writing given config for player 2
                          

                          /root/generateconfig.log après un jeu MAME

                          setJoypadIndex Retroarch ----------------------------
                                  I have for player 1 : index=0 for joystick GPIO Controller 1
                                  I have for player 2 : index=1 for joystick GPIO Controller 2
                                  I have for player 3 : index=-1 for joystick DEFAULTDONOTFINDMEINCOMMAND
                                  I have for player 4 : index=-1 for joystick DEFAULTDONOTFINDMEINCOMMAND
                          writing given config for player 1
                          writing given config for player 2
                          Finishing config
                          So it will be default configuration for player 3
                          pad 2 is free , writing in config
                          So it will be default configuration for player 4
                          pad 3 is free , writing in config
                          

                          /root/.emulationstation/es_input.cfg :

                          <?xml version="1.0"?>
                          <inputList>
                                  <inputConfig type="keyboard" deviceName="Keyboard" deviceGUID="-1">
                                          <input name="a" type="key" id="115" value="1" />
                                          <input name="b" type="key" id="97" value="1" />
                                          <input name="down" type="key" id="1073741905" value="1" />
                                          <input name="left" type="key" id="1073741904" value="1" />
                                          <input name="pagedown" type="key" id="1073741902" value="1" />
                                          <input name="pageup" type="key" id="1073741899" value="1" />
                                          <input name="right" type="key" id="1073741903" value="1" />
                                          <input name="select" type="key" id="32" value="1" />
                                          <input name="start" type="key" id="13" value="1" />
                                          <input name="up" type="key" id="1073741906" value="1" />
                                  </inputConfig>
                                  <inputConfig type="joystick" deviceName="PLAYSTATION(R)3 Controller (00:8B:F0:FA:63:25)" deviceGUID="060000004c0500006802000000010000">
                                          <input name="a" type="button" id="13" value="1" />
                                          <input name="b" type="button" id="14" value="1" />
                                          <input name="down" type="button" id="6" value="1" />
                                          <input name="hotkey" type="button" id="16" value="1" />
                                          <input name="joystickleft" type="axis" id="0" value="-1" />
                                          <input name="joystickup" type="axis" id="1" value="-1" />
                                          <input name="l2" type="button" id="8" value="1" />
                                          <input name="left" type="button" id="7" value="1" />
                                          <input name="pagedown" type="button" id="11" value="1" />
                                          <input name="pageup" type="button" id="10" value="1" />
                                          <input name="r2" type="button" id="9" value="1" />
                                          <input name="right" type="button" id="5" value="1" />
                                          <input name="select" type="button" id="0" value="1" />
                                          <input name="start" type="button" id="3" value="1" />
                                          <input name="up" type="button" id="4" value="1" />
                                          <input name="x" type="button" id="12" value="1" />
                                          <input name="y" type="button" id="15" value="1" />
                                  </inputConfig>
                                  <inputConfig type="joystick" deviceName="Microsoft X-Box 360 pad" deviceGUID="030000005e0400008e02000010010000">
                                          <input name="a" type="button" id="0" value="1" />
                                          <input name="b" type="button" id="1" value="1" />
                                          <input name="down" type="hat" id="0" value="4" />
                                          <input name="hotkey" type="button" id="8" value="1" />
                                          <input name="left" type="hat" id="0" value="8" />
                                          <input name="pagedown" type="button" id="5" value="1" />
                                          <input name="pageup" type="button" id="4" value="1" />
                                          <input name="right" type="hat" id="0" value="2" />
                                          <input name="select" type="button" id="6" value="1" />
                                          <input name="start" type="button" id="7" value="1" />
                                          <input name="up" type="hat" id="0" value="1" />
                                          <input name="x" type="button" id="2" value="1" />
                                          <input name="y" type="button" id="3" value="1" />
                                  </inputConfig>
                                  <inputConfig type="joystick" deviceName="GPIO Controller 1" deviceGUID="15000000010000000100000000010000">
                                          <input name="a" type="button" id="0" value="1" />
                                          <input name="b" type="button" id="1" value="1" />
                                          <input name="down" type="axis" id="1" value="1" />
                                          <input name="hotkey" type="button" id="6" value="1" />
                                          <input name="left" type="axis" id="0" value="-1" />
                                          <input name="pagedown" type="button" id="5" value="1" />
                                          <input name="pageup" type="button" id="4" value="1" />
                                          <input name="right" type="axis" id="0" value="1" />
                                          <input name="select" type="button" id="6" value="1" />
                                          <input name="start" type="button" id="7" value="1" />
                                          <input name="up" type="axis" id="1" value="-1" />
                                          <input name="x" type="button" id="2" value="1" />
                                          <input name="y" type="button" id="3" value="1" />
                                  </inputConfig>
                                  <inputConfig type="joystick" deviceName="GPIO Controller 2" deviceGUID="15000000010000000200000000010000">
                                          <input name="a" type="button" id="0" value="1" />
                                          <input name="b" type="button" id="1" value="1" />
                                          <input name="down" type="axis" id="1" value="1" />
                                          <input name="left" type="axis" id="0" value="-1" />
                                          <input name="pagedown" type="button" id="5" value="1" />
                                          <input name="pageup" type="button" id="4" value="1" />
                                          <input name="right" type="axis" id="0" value="1" />
                                          <input name="start" type="button" id="7" value="1" />
                                          <input name="up" type="axis" id="1" value="-1" />
                                          <input name="x" type="button" id="2" value="1" />
                                          <input name="y" type="button" id="6" value="1" />
                                  </inputConfig>
                          </inputList>
                          

                          /recalbox/configs/fba/fba2x.cfg :

                          [Graphics]
                          DisplaySmoothStretch=1
                          # Display Effect: 0 none, 1 scanlines
                          DisplayEffect=0
                          DisplayBorder=0
                          MaintainAspectRatio=1
                          RotateScreen=0
                          
                          [Sound]
                          
                          [Joystick]
                          Y_1=0
                          X_1=1
                          JA_UD_1=1
                          HOTKEY=6
                          JA_LR_1=0
                          R_1=5
                          L_1=4
                          JA_LR_1=0
                          SELECT_1=6
                          START_1=7
                          QUIT=7
                          JA_UD_1=1
                          B_1=2
                          A_1=3
                          Y_2=0
                          X_2=1
                          JA_UD_2=1
                          JA_LR_2=0
                          R_2=5
                          L_2=4
                          JA_LR_2=0
                          START_2=7
                          JA_UD_2=1
                          B_2=2
                          A_2=6
                          SDLID_1=0
                          SDLID_2=1
                          

                          Pour la config de retroach, je ne sais pas quel fichier peut t'aider. [edit] voici /recalbox/configs/retroarch/retroarchcustom.cfg

                          core_options_path = /recalbox/configs/retroarch/cores/retroarch-core-options.cfg
                          
                          system_directory = /recalbox/share/bios/
                          
                          config_save_on_exit = false
                          
                          video_threaded = true
                          
                          #video_aspect_ratio = 1.33
                          aspect_ratio_index = 0
                          aspect_ratio_index = 0
                          #video_force_aspect = false
                          video_aspect_ratio_auto = true
                          #video_scale_integer = true
                          
                          rewind_enable = false
                          rewind_buffer_size = 10
                          rewind_granularity = 2
                          
                          video_gpu_screenshot = true
                          
                          video_shader_enable = false
                          video_smooth = true
                          
                          screenshot_directory = /recalbox/share/screenshots/
                          savestate_directory = /recalbox/share/saves/
                          savefile_directory = /recalbox/share/saves/
                          extraction_directory = /recalbox/share/extractions/
                          
                          fastforward_ratio = -1.0
                          input_autodetect_enable = true
                          
                          joypad_autoconfig_dir = /recalbox/configs/retroarch/inputs/
                          
                          input_player1_analog_dpad_mode = "0"
                          input_player2_analog_dpad_mode = "0"
                          input_player3_analog_dpad_mode = "1"
                          input_player4_analog_dpad_mode = "1"
                          
                          input_enable_hotkey_btn = 5
                          
                          input_enable_hotkey_btn = 5
                          input_exit_emulator = "escape"
                          input_player1_joypad_index = 0
                          input_player2_joypad_index = 1
                          input_player3_joypad_index = 2
                          input_player4_joypad_index = 3
                          

                          Dit moi si tu as besoin de voir d'autre fichier.

                          1 Reply Last reply Reply Quote 0
                          • digitaLumberjack
                            digitaLumberjack Staff last edited by

                            Dans MAME, ma hotkey n’est pas mon bouton select mais mon bouton R2 !!!!

                            Normalement c'est R1. C'est normal, et expliqué dans la notice (anglaise je crois). C'est parceque si tu laisse select, tu ne pourra pas mettre de credit sur certains jeux (pacman entres autres). J'ai été obligé de bouger le hotkey sur R1 en attendant d'avoir une solution dans le core.

                            De meme que dans MAME et FBA, les boutons pour jouer ne sont pas placé au meme endroit.

                            C'est normal aussi. Pour mame Libretro a placé les boutons dans l'ordre : 1=Y 2=B 3=A 4=X (noms snes) alors que dans piFBA les boutons sont placé comme 1=Y 2=B 3=X 4=A ce qui est mieux pour les jeux de bastons a 4 coups, ca les deux poings sont en haut et les deux pieds en bas. Je ferais sans doute un mapping different pour libretro Mame et FBA plus tard, pour avoir le meme que dans piFBA.

                            1 Reply Last reply Reply Quote 0
                            • stunko
                              stunko last edited by

                              Ok merci ! Donc c'est tout bon, de meme que je viens de voir dans la doc qu'avec le clavier ce n'est plus echap mais q.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Want to support us ?

                              84
                              Online

                              99.7k
                              Users

                              28.1k
                              Topics

                              187.1k
                              Posts

                              Copyright © 2021 recalbox.com