ANSWERED: Button remapping (general & specific questions)
-
Question 1
Here is my general understanding of the hierarchy remapping buttons. I'd love to know if others agree or if there is something I'm missing. I have been using the Retropi Github Wiki as my guide. I feel like this RetroPie Forum Post about Hokeys circles around it but I could use clarification.- Global settings = baseline of all controls
- Emulator settings = overwrites Global for each gaming system
- Game settings = overwrites global & emulator for specific game
- Emulator settings = overwrites Global for each gaming system
Question 2
I have wireless xbox 360 controllers and want to do a switch of the a & b buttons for NES. I've navigated to:/opt/retropie/configs/nes
and am editing the retroarch.cfg file to the following:
# Settings made here will only override settings in the global retroarch.cfg if$ input_remapping_directory = "/opt/retropie/configs/nes/" input_player1_a_btn = "1" input_player1_b_btn = "0" # repeat these two lines for players 2-4 #include "/opt/retropie/configs/all/retroarch.cfg"
Yet this doesn't work. Do I need to add this to make it work?
input_player1_joypad_index = 0 input_player2_joypad_index = 1 input_player3_joypad_index = 2 input_player4_joypad_index = 3
Once I put those in there then Emulationstation prompts to remap controls upon reboot.
Thanks for any input you can offer. - Global settings = baseline of all controls
-
Q1 - here is more info:
https://retropie.org.uk/forum/topic/2199/specific-retroarch-emulator-settings-are-being-over-written-after-i-quit-the-game/24
but yes, your hierarchy looks right (although when you say overwrite - it'll only overwrite the settings it has, so anything not specified will still be used.Q2 - Try this, Core Input Remapping:
https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration#core-input-remapping -
@Floob Your response was awesome. Thank you for taking the time to respond and hooking me up with the links.
That image of the control hierarchy was incredibly helpful. I wonder if it could be placed in the RetroArch-Configuration page you linked?
I enjoy working via the command line but you made me realize that I can follow the UI steps to remap the inputs and then just look to see what it changed in the config file.
-
@polishzeus Complementing the information: doing what you suggested in your Question 2 is a bad idea because it will mess the buttons used to navigate through RGUI. The core input remapping is a better approach. ;-)
-
@polishzeus when you set up your controller i think you set it up wrong. In emulationstation you arent supposed to set up a,b,x,y based on your controller. You are supposed to set it up based on a snes controller layout. You will find a lot of systems screwed up with it configured wrong. A and b are reversed on a snes controller and x and y are reversed.
-
@edmaul69 said in ANSWERED: Button remapping (general & specific questions):
@polishzeus when you set up your controller i think you set it up wrong. In emulationstation you arent supposed to set up a,b,x,y based on your controller. You are supposed to set it up based on a snes controller layout. You will find a lot of systems screwed up with it configured wrong. A and b are reversed on a snes controller and x and y are reversed.
That would also work but I wanted to reserve the option to put ps1 and/or psp games on the Retropie and I'd want the buttons to match the controller I'm using. But as I said, that's a good idea
@meleu Yeah, when I first experimented with putting that stuff in, I quickly realized that this was the wrong way to go and backed out (then came to these forums).
Thanks again to all for responding. I can't believe it took me this long to join these forums!
-
@polishzeus they wont match on psx and psp unless you set it up like a snes controller. Trust me it will come out right on the systems setting it up like a snes controller.
-
@polishzeus please look at this:
https://github.com/retropie/retropie-setup/wiki/retroarch-configuration -
@edmaul69 I definitely see what you're saying. Since I've already gone through the (not-so-much) trouble of mapping the cores, I'll keep that in the back pocket. I'm not even sure I'll get around to putting psp games in there. So much NES, Sega, and SNES to devour before then!
-
@polishzeus just so you know mapping the cores creates a headache when you want to add different types of controllers. The method i showed you makes using different controllers more universal
-
@edmaul69 Makes sense. Though I know I will only stick to the 360 wireless controllers indefinitely. Thanks again.
-
@polishzeus at least you chose a controller worthy of being "the one"
-
@edmaul69 said in ANSWERED: Button remapping (general & specific questions):
@polishzeus at least you chose a controller worthy of being "the one"
It was love at first sight 😀
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.