Recalbox Forum

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

    Recalbox 4.1 - AdvanceMame key mapping

    Emulator Arcade/PC/Console
    recalbox 4.1 advancemame key mapping
    2
    14
    6984
    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.
    • Garden Dwarf
      Garden Dwarf last edited by

      @Substring

      Previously I have set the xarcade2jstick stuff, but if I'm right they are made to handle gamepads from various platforms, and not my arcade cabinet configuration.

      I explain. Controls you setup in emulationstation are propagated to Mame. But if in your arcade cabinet you have more buttons than the amount you can setup in emulationstation, they are not available in Mame. That's the point. I cannot setup all my buttons in emulationstation, so I have chosen to setup a keyboard to emulate all buttons I need.

      Sorry but I'm on this since weeks and I may be wrong, but from what I've experienced it is not a good idea for me to go for the xarcade2jstick.

      Here is my configuration:

      • 1 shift-button (iPac2 shift I mean, which extends twice the buttons).
      • 1 game-button.
      • 2 volume buttons (that's why I have re-built Recalbox, in order to map these buttons to control the system volume - with happykeys by the way).
      • 1 player1 button.
      • 1 player2 button.
      • 2 joysticks.
      • 16 "play button" (8 for player 1, 8 for player 2).
      • 2 coin doors

      PS: I have tried to launch advmame through ssh, and I still cannot get the advmame.rc file written with more information (input map "auto" stays to "auto" and does not provide more information, nothing written back to the file even if I change something through the interface). So I have modified a complete advmame.rc to change all "auto" to different keys. And the result is that it seems that I've found the key I was looking for. But when I change it, the change is applied to other keys too. Weird. If you want, I can provide you more information such as the "game" name. You can try it by yourself. Not easy.

      Substring 1 Reply Last reply Reply Quote 0
      • Substring
        Substring @Garden Dwarf last edited by

        @garden-dwarf what was your command line to launch advmame ? Do you know how to find how recalbox launches advmame ? either in the code, either in the logs ?

        Former dev - Please reply with @substring so that i am notified when you answer me
        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

        1 Reply Last reply Reply Quote 0
        • Garden Dwarf
          Garden Dwarf last edited by

          @Substring

          I login from my computer to recalbox using ssh root@recalbox (name on my network).
          Then cd /recalbox/share
          Then advmame -log -cfg /recalbox/share/temp.rc my_game (my_game replaced by the rom name without extension of course)

          Garden Dwarf 1 Reply Last reply Reply Quote 0
          • Garden Dwarf
            Garden Dwarf @Garden Dwarf last edited by Garden Dwarf

            @Substring

            I downloaded & compiled the latest version of AdvanceMame (something like the 3.1 is provided along with Recalbox 4.1, and the latest AdvMame is 3.5).
            Running fine but problem still not solved.

            Substring 1 Reply Last reply Reply Quote 0
            • Substring
              Substring @Garden Dwarf last edited by

              @garden-dwarf I guess it means it can't save to a custom file, which is an advancemame problem

              Former dev - Please reply with @substring so that i am notified when you answer me
              Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

              1 Reply Last reply Reply Quote 0
              • Garden Dwarf
                Garden Dwarf last edited by

                @Substring I assume you are right, maybe some file/folder missing or so. I'll check further. Thanks.

                Substring 1 Reply Last reply Reply Quote 0
                • Substring
                  Substring @Garden Dwarf last edited by

                  @garden-dwarf You could eventually copy the .rc file from recalbox to the default one of advmame, make your mappings, compare changes and push them back to recalbox' .rc

                  Former dev - Please reply with @substring so that i am notified when you answer me
                  Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                  Garden Dwarf 1 Reply Last reply Reply Quote 0
                  • Garden Dwarf
                    Garden Dwarf @Substring last edited by

                    @substring
                    If you have some time, could you please install sltblgpo.zip (belgian slot game, maybe not very interesting for you but representative of my issue).
                    In the game "input (this game)" you can configure the "select" and "stake" keys. If you leave mame and get back to it, you will see that the configuration is lost.
                    I tried with advancemame on RecalBox as well as on Windows, same results.
                    Maybe I have to address this to the advancemame team.

                    Substring 1 Reply Last reply Reply Quote 0
                    • Substring
                      Substring @Garden Dwarf last edited by

                      @garden-dwarf Several people reported that custom inputs are not saved when not using the default advmame.rc file. What I do in such cass is launch advancemame from commandline, make all the edits I need, and read the syntax from the default config file (somwhere in ~/.advancemame I think)

                      Former dev - Please reply with @substring so that i am notified when you answer me
                      Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                      1 Reply Last reply Reply Quote 0
                      • Garden Dwarf
                        Garden Dwarf last edited by

                        @Substring
                        Thanks for the tips, I tried and it does not solve my issue.
                        If someone wants to spend time on it, trying the game I mentioned, he will understand what the problem is.

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

                        Want to support us ?

                        78
                        Online

                        99.6k
                        Users

                        28.1k
                        Topics

                        187.1k
                        Posts

                        Copyright © 2021 recalbox.com