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 .cfg files

    Scheduled Pinned Locked Moved Help and Support
    configurationcontrollerlist
    24 Posts 3 Posters 3.4k 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.
    • P
      Peetem
      last edited by

      Is there a list somewhere, in one location, that details all the various controller configuration files used by Retroarch, Emulation Station and Mame (lr-mame2003)?

      For Example -

      /opt/retropie/configs/all/Retroarch.cfg

      /opt/retropie/configs/or-mame2003/config.cfg (example only, not legitimate file name)

      I’m going to go through each one line by line and try and understand what is mapping where and why.

      I still can’t get lr-Mame2003 to recognize the 2nd player....

      Thanks!

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

        RetroArch's joystick configuration files are in \\retropie\configs\all\retroarch-joypads.
        EmulationStation kees the input configuration in \\retropie\configs\all\emulationstation\es_input.cfg.
        Mame2003 saves a .cfg file in the cfg/default.cfg, under the ROMs folder, but it's not a text file and cannot be edited.

        1 Reply Last reply Reply Quote 0
        • P
          Peetem
          last edited by

          Thank you!

          1 Reply Last reply Reply Quote 0
          • P
            Peetem
            last edited by

            Here's the output as requested:

            IMG_1771.jpg

            How do I capture the verbose log and attach?

            My Pi is on the network, but I have no way to move files over as they are hidden. Sorry, I'm new to linux.

            Thanks!

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

              @peetem said in Controller .cfg files:

              Here's the output as requested:

              This shows only one controller present, not 2 controllers. Maybe the 1st portion of the output is cut ?

              How do I capture the verbose log and attach?

              My Pi is on the network, but I have no way to move files over as they are hidden. Sorry, I'm new to linux.

              You'll need to enable SSH and then you can use WinSCP to browse your Pi installation and see all files on it.

              P 1 Reply Last reply Reply Quote 0
              • P
                Peetem @mitu
                last edited by

                @mitu said in Controller .cfg files:

                @peetem said in Controller .cfg files:

                Here's the output as requested:

                This shows only one controller present, not 2 controllers. Maybe the 1st portion of the output is cut ?

                How do I capture the verbose log and attach?

                My Pi is on the network, but I have no way to move files over as they are hidden. Sorry, I'm new to linux.

                You'll need to enable SSH and then you can use WinSCP to browse your Pi installation and see all files on it.

                Out of pure luck I opened Retroarch and looked at the controllers bindings. For some reason both were bound to JS1, so I changed player to to JS2 and now it works. Nothing is mapped correctly, but at least its "talking" to Mame.

                Thanks!

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

                  @peetem Do you have any game/core input overrides other than the defaults ? Post the verbose log and we can determine that.

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    Peetem @mitu
                    last edited by Peetem

                    @mitu said in Controller .cfg files:

                    @peetem Do you have any game/core input overrides other than the defaults ? Post the verbose log and we can determine that.

                    I'm having the worst time finding the log. I enabled ssh and then when a game was booting, pressed a key and turned on verbose logging from the menu.

                    However, when I cd /dev/shm to review the .log file (using microsoft remote desktop), the command prompt responds with "shm" is not a directory. However, when I ls in the /dev directory, I can see the shm directory (although its not purple like more directories).

                    Is there some permission I need to allow so I can access?

                    I remote desktop to the Pi and can only see these directories from my mac:

                    /bios
                    /configs
                    /roms
                    /splashscreen

                    Using remote desktop I can access the command prompt and edit files (e.g., sudo nano), but cannot bring them over to my mac desktop.

                    I'm sorry that I'm being so thick-headed about this, but I'm getting into a area that is new to me.....

                    Thanks for your help!

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

                      I'm not sure how you are using RDP to browse the PI (?), but you shouldn't need it. If you have SSH enabled, then enable verbose logging when starting the game and after that just run

                      cp /dev/shm/runcommand.log $HOME/RetroPie/roms
                      

                      You can then browse the roms file share from your Mac and copy/open the log file.

                      P 1 Reply Last reply Reply Quote 0
                      • P
                        Peetem @mitu
                        last edited by

                        @mitu

                        OK, I have the log now. How do I post it?

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

                          @peetem Use the proper topic and pastebin.com.

                          P 1 Reply Last reply Reply Quote 0
                          • P
                            Peetem @mitu
                            last edited by

                            @mitu said in Controller .cfg files:

                            @peetem Use the proper topic and pastebin.com.

                            OK, just did it.

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

                              @peetem said in Controller .cfg files:

                              OK, just did it.

                              I don't see any link with the log (to pastebin.com) on your other post. You're supposed to post the link to pastebin.com where you copied the log.

                              P 1 Reply Last reply Reply Quote 0
                              • P
                                Peetem @mitu
                                last edited by Peetem

                                @mitu said in Controller .cfg files:

                                @peetem said in Controller .cfg files:

                                OK, just did it.

                                I don't see any link with the log (to pastebin.com) on your other post. You're supposed to post the link to pastebin.com where you copied the log.

                                Opps. Sorry. Try this....

                                https://pastebin.com/j1qV77na

                                dankcushionsD 1 Reply Last reply Reply Quote 0
                                • dankcushionsD
                                  dankcushions Global Moderator @Peetem
                                  last edited by

                                  @peetem

                                  /home/pi/RetroPie/roms/mame-libretro/mame-libretro/1941j.srm
                                  

                                  weird to have mame-libretro as a sub folder of mame-libretro. probably no harm in it but i guess it adds some busywork to your emulationstation menus.

                                  in any case, you have no overrides running, but i am presuming you've messed around in the mame menu so you'll want to get that back to defaults. see here for instructions on removing any changes you've made.

                                  P 1 Reply Last reply Reply Quote 0
                                  • P
                                    Peetem @dankcushions
                                    last edited by

                                    @dankcushions said in Controller .cfg files:

                                    @peetem

                                    /home/pi/RetroPie/roms/mame-libretro/mame-libretro/1941j.srm
                                    

                                    weird to have mame-libretro as a sub folder of mame-libretro. probably no harm in it but i guess it adds some busywork to your emulationstation menus.

                                    in any case, you have no overrides running, but i am presuming you've messed around in the mame menu so you'll want to get that back to defaults. see here for instructions on removing any changes you've made.

                                    Yeah, the folder within a folder happened when I moved over the Roms from my desktop. I planned on cleaning that up later.

                                    Still, for some reason Mame (lr-mame2003) continues to "see" button 10 on controller #2 as the "A" on the same controller. Its been mapped elsewhere in ES and Retroarch, but Mame continues to make it "Retropad2 A". Its actually doing something similar with other buttons as well, but for the most part I can now play most of my games.

                                    dankcushionsD 1 Reply Last reply Reply Quote 0
                                    • dankcushionsD
                                      dankcushions Global Moderator @Peetem
                                      last edited by

                                      @peetem said in Controller .cfg files:

                                      Its been mapped elsewhere in ES and Retroarch

                                      you've mapped it separately in retroarch? please explain exactly what you've done and how you saved the change.

                                      did you delete default.cfg etc as per my above link?

                                      P 2 Replies Last reply Reply Quote 0
                                      • P
                                        Peetem @dankcushions
                                        last edited by

                                        @dankcushions

                                        That file does not exist in that directory. So either its deleted, wasn't created or resides somewhere else.

                                        dankcushionsD 1 Reply Last reply Reply Quote 0
                                        • P
                                          Peetem @dankcushions
                                          last edited by Peetem

                                          @dankcushions said in Controller .cfg files:

                                          @peetem said in Controller .cfg files:

                                          Its been mapped elsewhere in ES and Retroarch

                                          you've mapped it separately in retroarch? please explain exactly what you've done and how you saved the change.

                                          did you delete default.cfg etc as per my above link?

                                          I mapped in Retroarch twice - once through ES and the other time through hotkey to bring up the RGUI menu. Both times the buttons were mapped correctly (as I had intended)..

                                          Mame (lr-mame2003) keeps calling different buttons all the same thing - "Retropad2 A".

                                          ES and Retroarch name them/map appropriately - i.e., Button 10, Button 7 and etc.

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

                                            @Peetem I'd say that's normal. Both RA and ES have direct access to the physical gamepad, while MAME2003 only sees them as RetroPad inputs, as RetroArch presents them. See https://docs.libretro.com/guides/input-and-controls/#retropad-concept.

                                            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.