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

    Diff two images for config differences

    Scheduled Pinned Locked Moved Help and Support
    config files
    7 Posts 3 Posters 584 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.
    • J
      jigidyjim
      last edited by

      Hi - this is probably not that realistic but I’m wondering if it is possible to diff two retropie images to see what configs are different in an easy way.

      Specifically, I have a controller that works fine on the nes emulator on one image, but not on another image, and I’m wondering if I’ve missed a config setup somewhere.

      For example, I’ve manually checked /opt/retropie/configs/nes/retroarch.cfg, but im wondering if there are many other config files I need to be checking too…

      Thanks for any pointers you have. I realize it might be a weird request.

      WeirdHW 1 Reply Last reply Reply Quote 0
      • WeirdHW
        WeirdH @jigidyjim
        last edited by

        @jigidyjim If you're talking about a Raspberry Pi and you have two micro sd cards, you're already done.

        J 1 Reply Last reply Reply Quote 0
        • S
          sleve_mcdichael
          last edited by

          A verbose log will identify any remaps or config overrides that are in use. That will likely identify your controller woes.

          J 1 Reply Last reply Reply Quote 1
          • J
            jigidyjim @sleve_mcdichael
            last edited by

            @sleve_mcdichael said in Diff two images for config differences:

            A verbose log will identify any remaps or config overrides that are in use. That will likely identify your controller woes.

            Cool - that worked great. I can clearly see the controller connecting in one verbose log file but not the other. Now I need to debug why it’s not connecting…

            S 1 Reply Last reply Reply Quote 0
            • S
              sleve_mcdichael @jigidyjim
              last edited by

              @jigidyjim is anything else different between the two logs? (You could post them on pastebin.com)

              The controller works fine in EmulationStation, and in other systems? Tried reconfiguring the controller through ES start menu > "configure input"?

              You are using the same emulator on both images? It's a libretro core?

              Have any remaps? (Would be listed in the log. Probably at /opt/retropie/configs/nes/[emulator name]/*.rmp.)

              Joypad config dir looks in order at /opt/retropie/configs/all/retroarch/autoconfig/*.cfg? Main RetroArch config at .../configs/all/retroarch.cfg?

              1 Reply Last reply Reply Quote 0
              • J
                jigidyjim @WeirdH
                last edited by

                @weirdh said in Diff two images for config differences:

                @jigidyjim If you're talking about a Raspberry Pi and you have two micro sd cards, you're already done.

                I am talking about a Pi and two cards. Is there an easy way to diff config files across cards?

                I have a feeling if I diff everything, then it will just be a huge amount of data to sift through.

                S 1 Reply Last reply Reply Quote 0
                • S
                  sleve_mcdichael @jigidyjim
                  last edited by sleve_mcdichael

                  @jigidyjim if you have a USB card-reader, you could boot one and mount the other and diff them on the pi.

                  Otherwise, you could copy the "configs" folder off the two cards over the network share and then diff them on your PC using Ubuntu for Windows.

                  In the PC's search bar (on same network as the Pi), type:

                  \\retropie
                  

                  (Use back-slashes.) This brings you to the network share on the Pi. Copy the "configs" folder to your PC. Repeat with "configs" on the other SD card.

                  Install Ubuntu for Windows through the Microsoft store. Right-click where your two "configs" folders are. Choose "Open Linux terminal window here." diff the two folders.

                  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.