N64 Mapping problems
-
I have a pi2 trying for days to map the N64 controller. I have went through several videos and forums and cant find a set up for this with script version 3.6. I have went through the initial config. setting it up to run through the ES and that works fine. If you know anything about the N64 controller it doesn't have a "select" button, so exiting the game is a pain if you don't have a keyboard hooked up, and the " A " and " B " buttons seemed to be reversed. I am losing my mind and my wife is about to kill me. I need assistance ASAP if anyone has any input I would appreciate it.
Thanks
-
You can go into your JOYPADNAME.cfg file in /opt/retropie/configs/all/retroarch-joypads and change input_enable_hotkey_btn to something else, and you'll be able to use that button + start to exit.
https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration#default-joypad-hotkeysAre they swapped in game? Try a core input remap under quick menu in the RGUI. Just set A to B and B to A, save and you'll be good. RGUI opens with select+X(snes). If it's mupen64plus, you have to go into InputAutoCfg.ini and switch values manually in /opt/retropie/configs/n64.
https://github.com/RetroPie/RetroPie-Setup/wiki/Nintendo-64#mupen64plusIf they're swapped in emulationstation, but not in-game, go into /opt/retropie/configs/all/autoconf.cfg and set es_swap_a_b to 1. Reconfigure your controller like you did before. Restart emulationstation and you'll be good to go.
If it's swapped for both, reconfigure your controller configuration in emulationstation and set A to B and B to A.
-
@wetriner said:
If they're swapped in emulationstation, but not in-game, go into /opt/retropie/configs/all/autoconf.cfg and set es_swap_a_b to 1. Reconfigure your controller like you did before. Restart emulationstation and you'll be good to go.
Does this just swap the A & B buttons in Emulation Station but not the emulators? If so that's great. I would configure the A & B in reverse in ES and then go through each game swapping them back to the original buttons. To be able to do this with one quick tweak would save a great amount of time. Great tip, thanks! :)
-
Yep, that's how I do it. All it does is swap the values for A and B in es_input.cfg. My usual method if not just transfering old config files is to configure my SNES controller as expected, then enable es_swap and do my xbox360 and F310 mapping A to B and X to Y. Restart emulationstation, so A and B work properly in ES. All my controllers will also have the right controller layout for SNES, PSX, etc. So no real need for any remaps(except GBA which is awkward). The only one that is still usually mixed up is the retroarch GUI, so that will not be corrected by the A B swap using this method.
-
That's fantastic! A real time saver vs. what I was doing.
One quick question. Why do you configure your 360 and F310 controller after the es_swap_a_b change. Does that setting only change what is currently in the es_input.cfg and not future added input devices?
Do you also switch X and Y on your 360 controller? I was trying to think of a scenario where I needed to do those buttons too. Mainly being able to swap A and B for Select and Back in ES is great or I am always pressing the wrong two buttons on my 360 controller.
Also Retroarch GUI being select+X? Which isn't a big at all if this works I don't think I would really be doing any more emulator remappings.
-
es_swap_a_b only affects controllers that are configured after it is enabled. So my snes will not get affected, but my other controllers A and B in emulationstation will be swapped.
X and Y swap is only for in-game. Most controllers are intended to be mapped in retroarch to follow the snes layout. Which means, essentially you just ignore your button labels and follow the shape. This means that the way I configured it, the buttons will be laid out exactly like if I were playing the console version. Obviously for a new game I could learn and adjust to an altered layout, but ones you've played for years, it's really hard to not fix the controller to do what you want. Also for in-game button prompts and menus you can be confident that you're correct when you press square or triangle, like you're holding a PS controller.
Also this way the Retroarch GUI is always the select + top button. A little easier for people who aren't as comfortable switching between controllers.
Check out this page to kind of see what I'm talking about. Notice the mapping for the SNES and Xbox controller.
https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration#autoconfigurations -
Ah brilliant! I really appreciate the information and a huge time saver on future builds. I struggled a bit with understanding the Retroarch inputs/labels are fixed positions on the controllers that can be changed based on the selected inputs used when setting up your devices. I have it straight in my head but I still find it hard to explain. I appreciate this new information and it will be a huge time saver!
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.