Diff two images for config differences
-
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.
-
@jigidyjim If you're talking about a Raspberry Pi and you have two micro sd cards, you're already done.
-
A verbose log will identify any remaps or config overrides that are in use. That will likely identify your controller woes.
-
@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…
-
@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
? -
@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.
-
@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.
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.