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

    Controller works in Emulation Station, MAME says it's configured, but it won't work (yes, I searched!)

    Scheduled Pinned Locked Moved Help and Support
    controllerconfiguration
    16 Posts 2 Posters 968 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.
    • mituM
      mitu Global Moderator
      last edited by

      There are no obvious errors in the logs, doesn't seem like a RetroArch config issue. The mame2003 sub-folder is where the configs and nvram/hiscores are kept - if it's not there, it will be created on the first run of the core.

      If there's not a issue with just the controller order (i.e. you're trying to use the P2 controller as P1 and it's not accepting the coin from P2, etc.), then I suggest you leave only the ROM files in the folder, to exclude any configurations you might have copied from your other systems. And also, run an update of the system/packages to get the latest versions of RetroArch/cores.

      TangoT 1 Reply Last reply Reply Quote 0
      • TangoT
        Tango @mitu
        last edited by

        @mitu

        @mitu said in Controller works in Emulation Station, MAME says it's configured, but it won't work (yes, I searched!):

        If there's not a issue with just the controller order (i.e. you're trying to use the P2 controller as P1 and it's not accepting the coin from P2, etc.)

        Wow! That's it - and I really am surprised. For reference, these are wireless controllers that have USB receivers that plug into the USB ports. I labelled the controllers and the receivers to keep them straight. When I set this up, I only set up the 1st controller. (Figured I'd get things going, then add other ROMs, setup the other controller, and so on.) Of course both controllers are the same, but I didn't think the other controller would work at all until I set it up as a 2nd controller.

        What's happening that Controller 1 works with ES and Mame uses Controller 2? I figure there's some easy way to change the device info in a config file somewhere?

        @mitu said in Controller works in Emulation Station, MAME says it's configured, but it won't work (yes, I searched!):

        And also, run an update of the system/packages to get the latest versions of RetroArch/cores.

        I'll be doing that. When I downloaded the latest image, I just jumped in and forgot to run an upgrade first. Then, while I was working on the issue, I wanted to restrict the variables I changed until I got it working.

        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @Tango
          last edited by

          @Tango said in Controller works in Emulation Station, MAME says it's configured, but it won't work (yes, I searched!):

          What's happening that Controller 1 works with ES and Mame uses Controller 2? I figure there's some easy way to change the device info in a config file somewhere?

          You can use the Configuration Editor to switch the joystick order.

          TangoT 1 Reply Last reply Reply Quote 0
          • TangoT
            Tango @mitu
            last edited by

            @mitu

            Any clue about why this is happening? It wasn't an issue with that earlier version I was using and it's weird to see it show up out of the blue. Also, after reading the page you link to, it looks like I might have to reconfigure for every emulator I use, which could be both confusing and a pain.

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @Tango
              last edited by mitu

              Not sure 'what' exactly is happening ? You have 2 controllers, one is P1 and one is P2, but not in the order you expected.

              Also, after reading the page you link to, it looks like I might have to reconfigure for every emulator I use, which could be both confusing and a pain.

              You can set options for all libretro cores, as well for each one in particular.

              TangoT 1 Reply Last reply Reply Quote 0
              • TangoT
                Tango @mitu
                last edited by

                @mitu

                @mitu said in Controller works in Emulation Station, MAME says it's configured, but it won't work (yes, I searched!):

                Not sure 'what' exactly is happening ? You have 2 controllers, one is P1 and one is P2, but not in the order you expected.

                What seems odd to me is that ES reads them in on order and the emulator reads them in another. (And I haven't even configured the 2nd one yet, but since it's identical, I can see why the same data works for the 2nd one when the emulator switches them.) Just on the curious side, I'm thinking that the two controllers look identical, no serial number or anything like that, so other than which USB port they're in, there's no way for anything to tell which one is which.

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @Tango
                  last edited by

                  @Tango said in Controller works in Emulation Station, MAME says it's configured, but it won't work (yes, I searched!):

                  What seems odd to me is that ES reads them in on order and the emulator reads them in another.

                  There's no 'order' of controllers in EmulationStation - every controller is treated the same, there's no P1 or P2 like in an emulator.

                  TangoT 1 Reply Last reply Reply Quote 0
                  • TangoT
                    Tango @mitu
                    last edited by

                    @mitu

                    @mitu said in Controller works in Emulation Station, MAME says it's configured, but it won't work (yes, I searched!):

                    There's no 'order' of controllers in EmulationStation - every controller is treated the same, there's no P1 or P2 like in an emulator.

                    Ah - never tried the 2nd controller in ES. As I mentioned, I had not configured it, so I figured it would be just "dead" until I did - but, again, A and B controllers are identical.

                    This sounds like there's no need, then, to ever configure the 2nd controller, since ES sees both of them and treats them the same and the emulators (at least MAME) already sees it.

                    Or is there some reason I need to configure the 2nd one anyway?

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @Tango
                      last edited by

                      @Tango said in Controller works in Emulation Station, MAME says it's configured, but it won't work (yes, I searched!):

                      Or is there some reason I need to configure the 2nd one anyway?

                      No, just like RetroArch, the configuration is tied to the name/vendor/product values, which are identical for both controllers.

                      TangoT 1 Reply Last reply Reply Quote 0
                      • TangoT
                        Tango @mitu
                        last edited by

                        I want to add one point on this, that might be helpful.

                        Once I got this all working, I made a new image on another USB stick. Since I did several trial-and-error rounds on this, I want to create an image for myself that I can copy and use in case one version breaks or there are problems - and to give to friends who want to make their own retro gaming systems.

                        When I booted the new image, and hit F4 to get to the shell from EmulationStation, I got the normal multi-colored ASCII art image of the joy stick logo and info that RetroPie normally displays when you start a shell. I saw that and realized the other system was not doing that, so maybe something went wrong with creating the image or there were some other issues with it.

                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @Tango
                          last edited by

                          @Tango The welcome logo is installed by default on any image, but can be un-installed afterwards. It's a separate package that doesn't affect everything else.

                          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.