Diffrent controller map for select emulation?
-
I have been converting classic controllers to USB using a nice little circuit. Everything was going great until I configured my SNES controller.
I found out the hard way that the SNES and Sega setting use the same controller ID.
Obviously I can't change the controller ID, however is it possible to set the Sega systems to load up a different controller map? This would be ideal just because of how annoying it is to re-map the controller if I switch between a Sega game and then a Nintendo game.FYI, I will be out for a while, but I will be working on this later tonight.
-
I got it!
Person on Reddit had the solution. -
@nathan1031982 Looks like a case of https://xkcd.com/979/ - what was the solution ?
-
@mitu said in Diffrent controller map for select emulation?:
@nathan1031982 Looks like a case of https://xkcd.com/979/ - what was the solution ?
The original solution was provided by the reddit user delusion666. I modified it because he was using RetroPie 3 and I am running the latest version as of a week ago.
I configured my controller in EmulationStation. It created a controller config file in:
/opt/retropie/configs/all/retroarch-joypads/
In my case, it was raphnet.net (S)NESAtari_USB.cfg
Next, I created retroarch-joypads dir in the MegaDrive configs dir and copied the raphnet.net (S)NESAtari_USB.cfg to there:
/opt/retropie/configs/megadrive/retroarch-joypads/raphnet.net (S)NESAtari_USB.cfg
Finally, for retroarch to see the file, you need to add or change this line in /opt/retropie/configs/megadrive/retroarch.cfg :
joypad_autoconfig_dir = "/opt/retropie/configs/megadrive/retroarch-joypads/"
I commented out the original line and then added a new line above it for backup/troubleshooting purposes so my file like like this at the line :
joypad_autoconfig_dir = "/opt/retropie/configs/megadrive/retroarch-joypads/"
# Original line - joypad_autoconfig_dir = "/opt/retropie/configs/all/retroarch-joypads/"I had to do that for the MegaDrive, Sega 32X, and Sega CD. I don't think you need to make the file three times, probaly just need to make sure the path is correct. However the map file is real small so I made one for each system.
Finally, I re-configured the SNES controller so if I load up anything with the SNES controller, it's mapped out correctly.
Now if I load up either the MegaDrive, 32X, or Sega CD RetroArch uses the controller map for the Sega controller.
I was lucky as the buttons for the D-Pad, A, and B didn't change with the SNES mapping so the Sega controller works the exact same in EmulationStation.Good luck. If you still need help, just ask and I will try to assist.
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.