@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.