• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Arcade controllers (Dragonrise) don't work in MAME

Scheduled Pinned Locked Moved Help and Support
dragonrise mamearcadecontrolsmame2010
16 Posts 4 Posters 2.7k 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.
  • S
    swofra @RIJOSROBERTO
    last edited by 5 Nov 2021, 08:40

    Thanks all for the response thus far. Ok, reset the controllers to default again to get a clean start and this is the situation:
    Controller 1: Dragonrise 10 button setup
    Controller 2: Dragonrise 10 button setup
    Controller 3: PS3 controller wired in via USB. Works

    Controller 1 and 2 are wired the same and configured the same within ES and function normally.
    Controllers 1& 2 are recognized and work fine within the Genesis

    MAME - when a ROM is selected an it first launches, a notification pops up and says their port assignments. Once within MAME and I pull up the configuration page to try and assign P2 buttons, none of them are recognized. However, even though the buttons aren't mapped, one button functions as the coin slot and another one works as button X. I don't know how this is possible as those buttons aren't mapped for P2.

    I've tried to get to retroarch to check mapping there but I get a grainy green screen that doesn't respond to anything I select.

    Hope this helps answer some of your questions about this situation. Any suggestions are greatly appreciated.

    Thanks!!

    M 1 Reply Last reply 5 Nov 2021, 13:07 Reply Quote 0
    • M
      mitu Global Moderator @swofra
      last edited by mitu 11 May 2021, 13:08 5 Nov 2021, 13:07

      @swofra said in Arcade controllers (Dragonrise) don't work in MAME:

      . Once within MAME and I pull up the configuration page to try and assign P2 buttons, none of them are recognized. However, even though the buttons aren't mapped, one button functions as the coin slot and another one works as button X. I don't know how this is possible as those buttons aren't mapped for P2.

      I don't know if MAME 2010 has a functional MAME menu. You have to remember that the input is processed by RetroArch (see here, MAME doesn't have direct access to the gamepads. For MAME 2003(-plus), the MAME menu is functional and you can change the mapping (the inputs will show as RetroPad xyz), but not sure about other versions.
      The mapping does happen, since the coin/start buttons are functional, but after you start a game, aren't the other buttons functional ?

      I've tried to get to retroarch to check mapping there but I get a grainy green screen that doesn't respond to anything I select.

      That's the RGUI menu, you can change the mapping there also, from the Controls section. Which gamepad are you using to navigate the menu ? It might not be accessible from the P2 gamepad, you can try with the gamepad that's detected as P1.

      S 1 Reply Last reply 5 Nov 2021, 14:08 Reply Quote 0
      • S
        swofra @mitu
        last edited by swofra 11 May 2021, 14:10 5 Nov 2021, 14:08

        MAME 2010 has mapping as it works as long as I don't have the second controller plugged in, meaning I can assign buttons from controller 1 to any of the the various tasks (buttons show up as Kbd P1 B5 for example)

        For the P2 arcade controller, none of the other buttons work othe than those two after the game starts.

        When I've tried remapping within the retroarch menu described above I can navigate up and down the first menu but can't select anything with any of the three controllers or USB keyboard so I haven't been successful doing anything there. I'll review the link you sent as that may give me some more insight. If that doesn't work, is there an .ini or .cfg file or something that i can mod and load that would be able to assign controllers?
        thanks again for the help!

        S 1 Reply Last reply 6 Nov 2021, 08:13 Reply Quote 0
        • S
          swofra @swofra
          last edited by swofra 11 Jun 2021, 08:14 6 Nov 2021, 08:13

          was able to navigate through the Retorarch RGUI (the keyboard wouldn't select anything but the P1 fire button would), mapped all the controls for both players, load up MAME, and still nothing. It's like for two player games it doesn't recognize there is another set of controls instead of using the P1 controls. I thought there might be a setting in retroarch or MAME that might distinguish that but I couldn't find one regardless if it was in upright or cocktail mode.

          I'm at a loss for how to proceed, Any other ideas?
          Thanks in advance!

          1 Reply Last reply Reply Quote 0
          • M
            mitu Global Moderator
            last edited by 6 Nov 2021, 08:49

            Did you save your controller configuration with a remap ? Otherwise the settings will not stick between restarts of the emulator - see https://retropie.org.uk/docs/RetroArch-Configuration/#core-input-remapping.

            S 1 Reply Last reply 6 Nov 2021, 16:23 Reply Quote 0
            • S
              swofra @mitu
              last edited by swofra 11 Jun 2021, 17:30 6 Nov 2021, 16:23

              Yes I enabled save configuration upon exit. I also tried just configuring the controllers by plugging one in and after configuring it, plugging the other one in and configuring it and that did not have any effect.

              If I unplug the first controller and start MAME the second one assumes the P1 role just fine. In addition, I downloaded MAME 2010 to a PC and both controllers map perfectly in that manner so I know the controller can work within MAME its just not recognized or functioning in the P2 role via Pi/retroarch for some frustrating reason.

              Is there a log file or something where we can take a peek behind the curtain?

              1 Reply Last reply Reply Quote 0
              • M
                mitu Global Moderator
                last edited by 6 Nov 2021, 20:12

                @swofra said in Arcade controllers (Dragonrise) don't work in MAME:

                Is there a log file or something where we can take a peek behind the curtain?

                The runcommand verbose log file will show RetroArch's log when starting and running the game.

                S 1 Reply Last reply 10 Nov 2021, 11:35 Reply Quote 0
                • S
                  swofra @mitu
                  last edited by 10 Nov 2021, 11:35

                  the verbose effort resulted in a 300mb file runcommand.log. In it, both controls are listed once, but that's the only mention of the Dragonrise by name (shown below). In game, I still could not map within MAME for controller 2 (aka player 2). Not sure what else I should be looking at with this file. Thanks!!

                  [INFO] [udev]: Keyboard #0 (/dev/input/event0).
                  [INFO] [udev]: Plugged pad: DragonRise Inc. Generic USB Joystick (121:6) on port #0.
                  [INFO] [udev]: Pad #0 (/dev/input/event2) supports 0 force feedback effects.
                  [INFO] [udev]: Plugged pad: DragonRise Inc. Generic USB Joystick (121:6) on port #1.
                  [INFO] [udev]: Pad #1 (/dev/input/event1) supports 0 force feedback effects.
                  [INFO] [Joypad]: Found joypad driver: "udev".

                  1 Reply Last reply Reply Quote 0
                  • M
                    mitu Global Moderator
                    last edited by 10 Nov 2021, 15:09

                    The verbose log file shouldn't not be that large, even 100kb would be too large. The log would show if a remap has been loaded, but I can't see that from the messages you posted. However, P1 is using /dev/input/event2 while P2 is using /dev/input/event1, that makes me think you may have a remap active.

                    Can you check if at the beginning of the load you have some messages about an input remap being applied/loaded ?

                    S 1 Reply Last reply 10 Nov 2021, 16:51 Reply Quote 0
                    • S
                      swofra @mitu
                      last edited by swofra 11 Oct 2021, 16:54 10 Nov 2021, 16:51

                      The only remap I saw was for saves. Here is my runcommand.log file:
                      https://pastebin.com/7v67SJe0

                      the last line of the file (shown below) repeats well over a thousand times but I cut almost all of them out of the log file i put on pastebin for sanity's sake.
                      [libretro INFO] [MAME 2010] 'maincpu' (FFA649F0)[libretro INFO] [MAME 2010] (no context): unmapped program memory word write to 01D01070 = 0000 & FFFF

                      Thanks!

                      1 Reply Last reply Reply Quote 0
                      16 out of 16
                      • First post
                        16/16
                        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.

                        This community forum collects and processes your personal information.
                        consent.not_received