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

    Location of joystick configuration files?

    Scheduled Pinned Locked Moved Help and Support
    dragonrise mame
    5 Posts 3 Posters 9.5k 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.
    • sturbekS
      sturbek
      last edited by

      Hi all,

      I’m trying to document my build in code, but am being thrown off by the (seemingly) necessary configuration in the on screen menus

      Build:
      Raspberry Pi 4 w/ latest Retropie
      Primarily MAME games
      Libretro-mame
      Dragonrise USB hubs (2) with arcade buttons and joystick

      It seems like they buttons are configured in
      Emulationstation setup
      But also in retroarch configuration menu
      AND the menu when playing a game & hit Tab

      /home/pi/.emulationstation/es_input.cfg

      /opt/retropie/configs/all/retroarch.cfg

      /opt/retropie/configs/all/retroarch/autoconfig/DragonRise Inc. Generic USB Joystick .cfg

      My set up works, but It’s still not clear to me why?!

      Can someone describe where each on screen menu saves the data? Thanks!

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

        @sturbek said in Location of joystick configuration files?:

        It seems like they buttons are configured in
        Emulationstation setup
        But also in retroarch configuration menu
        AND the menu when playing a game & hit Tab
        /home/pi/.emulationstation/es_input.cfg
        /opt/retropie/configs/all/retroarch.cfg
        /opt/retropie/configs/all/retroarch/autoconfig/DragonRise Inc. Generic USB Joystick .cfg

        The EmulationStation input configuration is saved in /home/pi/.emulationstation/es_input.cfg. Based on the values chosen there, a controller auto-configuration file is automatically written in the /opt/retropie/configs/all/retroarch/autoconfig/ folder (DragonRise Inc. Generic USB Joystick .cfg), to be loaded by RetroArch each time you start a libretro core.

        The /opt/retropie/configs/all/retroarch.cfgfile contains mostly the default settings, and it's not used by RetroPie to configure your gamepad - it's the autoconfig profile(s) (mentioned above) that hold this information.

        The MAME cores have also their own - specific - configuration, separated from the RetroArch input configuration, which can be configured using the MAME UI (accessed through TAB). This should be stored in mame-libretro/mame2003/cfg. It's not edited or maintained by RetroPie's scripts.

        sturbekS G 2 Replies Last reply Reply Quote 2
        • sturbekS
          sturbek @mitu
          last edited by

          @mitu thank you so much!

          1 Reply Last reply Reply Quote 0
          • G
            GrimDanFango @mitu
            last edited by

            @mitu said in Location of joystick configuration files?:

            /home/pi/.emulationstation/es_input.cfg

            What do you mean by "Based on the values chosen there"?

            I'm having issues with my controller and found that the contents of /home/pi/.emulationstation/es_input.cfg for the controller in question are correct, whilst the contents of the corresponding .cfg file in /opt/retropie/configs/all/retroarch/autoconfig/ are completely different (and as a result means the controller doesnt work properly when playing a game). Should the 2 files be the same?

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

              @grimdanfango said in Location of joystick configuration files?:

              Should the 2 files be the same?

              No, they have a different syntax. But instead of bumping an old topic, please open a new topic and explain your problem, adding some info about your setup - as requested in https://retropie.org.uk/forum/topic/3/read-this-first.

              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.