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 autoconfig file *partially* ignored by retroarch and snes9x when plugged in port 1

    Scheduled Pinned Locked Moved Help and Support
    autoconfig
    5 Posts 2 Posters 571 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.
    • I
      icecreamvertigo
      last edited by icecreamvertigo

      Hi,

      First thank you for all the great work on Retropie. I'm having a controller autoconfig issue in snes9x emulator. Here are my specs:

      Pi Model or other hardware: Raspberry Pi 3 Model B Plus Rev 1.3
      Power Supply used: Official
      Retropie version: 4.8.2
      Built From: Pre made SD Image on RetroPie website
      USB Devices connected: None
      Controller used: 8Bitdo M30 BT + 8Bitdo SN30 Pro BT
      Emulator: 1.12.0 - Snes9x 2010 (1.54.4 e86e546)
      Attachment of config files: https://pastebin.com/0k3zNAT8

      These four lines of my autoconfig M30 configuration are ignored when the controller is on port 1 (it's working fine if on port 2) - all the other lines are applied regardless of which port the controller is on:

      input_l_btn = "6"
      input_r_btn = "7"
      input_l_btn_label = "Z"
      input_r_btn_label = "C"

      and they are replaced by (as seen in retroarch menu):

      L Button (Shoulder) 4 (N/A)
      R Button (Shoulder) +2 (N/A)

      Whereas on port 2 they are successfully loaded as:

      Auto: Z (btn)
      Auto: C (btn)

      According to the menu, there is no active remap file. I have no idea where this is coming from and it's driving me crazy. Does anyone have an idea?

      Thank you in advance.

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

        @icecreamvertigo said in Controller autoconfig file *partially* ignored by retroarch and snes9x when plugged in port 1:

        RetroPie Version Used: I don't know how to get that info, I installed a while ago and I don't remember. I googled a bit but didn't find anything relevant besides github last commit value

        The version is displayed on the starting screen of RetroPie-Setup.

        ...
        These four lines of my autoconfig M30 configuration are ignored when the controller is on port 1 (it's working fine if on port 2) - all the other lines are applied regardless of which port the controller is on:

        What is the 'Device Type' for each of the ports ? Do you have any additional configuration options added in retroarch.cfg that may have caused this ?
        Try to get a verbose log from running the Snes9x 2010 core with the controller as P1, then post it on pastebin.com.

        I 1 Reply Last reply Reply Quote 0
        • I
          icecreamvertigo @mitu
          last edited by icecreamvertigo

          @mitu

          Thank you for your answer, I've updated Retropie version, it's 4.8.2.

          Here is the verbose log: https://pastebin.com/JNKHeTLg. It doesn't seem to contain any error.

          The device type is SNES Joypad in ports 1 and 2 (Both M30).

          I didn't change any retroarch.cfg besides menu switched from rgui to xmb.

          I just realised I have the same issue in Genesis Plus emulator, so it is probably linked to retroarch only.

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

            What mapping mode are you using on the controller - X-Input, Switch, Android ? I have no issues with Android mode - once the label is set for the input, it shows fine in RetroArch's menu.

            How did you create the auto-config file ? The input_driver = "dinput" is not valid on Linux, works only in Windows (DirectInput).

            When you configure the controller in EmulationStation, it should be automatically created based on your options. I suggest you do that, then open the file and fill out the missing input labels.

            I 1 Reply Last reply Reply Quote 0
            • I
              icecreamvertigo @mitu
              last edited by

              @mitu

              The issue was in retroarch.cfg. I replaced it by the rp-dist version and it solved the problem!

              Thank you for your help.

              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.