Desperate! Controllers (retrolink, ibuffalo and xin mo) config
-
You need to edit the retroarch.cfg for each emulator, and add the button mappings to them. Check this folder on your Pi:
/opt/retropie/configs/
Or you can change them via networkshare which is easier and faster, just go to this folder on your computer:
\RETROPIE\configs
Make sure you add the button mappings above the #include line.
-
i did that for nes and have 1 controller working but how to include 2 controllers?
bot of them are the same. I configured both of them and have 2 .cfg files of nes
nes1.cfg
nes2.bak.cfg and they have the same buttons.
How to include 2 players if they are the same? -
@chan said in Desperate! Controllers (retrolink, ibuffalo and xin mo) config:
i did that for nes and have 1 controller working but how to include 2 controllers?
bot of them are the same. I configured both of them and have 2 .cfg files of nes
nes1.cfg
nes2.bak.cfg and they have the same buttons.
How to include 2 players if they are the same?That second file wont work. You can see the extention? It has two. Most likely the .BAK file is a backup file. Normally with these kind of files you just replace the .BAK extention with the extention of the original file (like .TXT in our case .CFG)
Those files get generated by RetroPie when you configure the controllers for the first time. I think if you change it will mess everything up (I could be wrong because I never tested it). Just configure them trough RetroPie and see if there is a new file generated into that dir. Do it for both controllers.
If the controllers are identical they should work on all ports.
-
@PetroRie
Yes. i configured both controllers trought retropie so at /opt/config/all/joypads... appeared 2 files.
nes.cfg and nes.bak.cfg.
I didn´t made that copy, was retropie when configured the controllers, as same as snes controllers and xin-mo
6 controllers works fine outside the emus.
The problem is to make them work inside a specific emulator.For example, i can make one controller work with retroarch.cfg simply copy the lines of nes.cfg into it, but i have the problem taht is only one player working.
Maybe i didnt explain myself in a correct way
-
@chan You need to use the data from your nes1.cfg. So normally you have:
input_a_btn = “0″
We need to add _player1 right after input, so it looks like this:
input_player1_a_btn = “0″
And for player 2 you do the same, but use player2 instead of player1. Also add this:
input_player1_joypad_index = “0″
input_player2_joypad_index = “1″So it looks like this:
input_player1_joypad_index = “0″ input_player1_a_btn = “0″ input_player1_b_btn = “1″ input_player1_y_btn = “3″ input_player1_x_btn = “2″ input_player2_joypad_index = “1″ input_player2_a_btn = “0″ input_player2_b_btn = “1″ input_player2_y_btn = “3″ input_player2_x_btn = “2″
You should should use the one from nes.cfg and add them to the retroarch.cfg of the emulator.
-
@PetroRie
Ok will try this afternoon. but how retropie knows that input_player is for specified controller???
Both cfgs have the same config (this question is for general understanding) -
@chan said in Desperate! Controllers (retrolink, ibuffalo and xin mo) config:
@PetroRie
Ok will try this afternoon. but how retropie knows that input_player is for specified controller???
Both cfgs have the same config (this question is for general understanding)You'll going to use the NES controller for the NES emu right? That is why you need to add these codes to the retroarch.cfg of the NES emulator. Just go to:
\RETROPIE\configs
Check the NES file there should be a retroarch.cfg. Add the codes like I showed you (with the playerX syntax) and it should work.
-
Just updated with that info for nes
call to
/opt/retropie/config/nes/retroarch.cfg
on nes emu on line 373, line who is called :
joypad_autoconfig_dir = “/opt/retropie/configs/all/retroarch-joypads/USB Gamepad .cfg"
Into that file i wrote the config
input_player1_device = "USB Gamepad " input_player1_driver = "udev" input_player1_start_btn = "9" input_player1_exit_emulator_btn = "9" input_player1_up_axis = "-1" input_player1_a_btn = "1" input_player1_b_btn = "2" input_player1_reset_btn = "2" input_player1_down_axis = "+1" input_player1_right_axis = "+0" input_player1_state_slot_increase_axis = "+0" input_player1_select_btn = "8" input_player1_enable_hotkey_btn = "8" input_player1_left_axis = "-0" input_player1_state_slot_decrease_axis = "-0" input_player2_device = "USB Gamepad " input_player2_driver = "udev" input_player2_start_btn = "9" input_player2_exit_emulator_btn = "9" input_player2_up_axis = "-1" input_player2_a_btn = "1" input_player2_b_btn = "2" input_player2_reset_btn = "2" input_player2_down_axis = "+1" input_player2_right_axis = "+0" input_player2_state_slot_increase_axis = "+0" input_player2_select_btn = "8" input_player2_enable_hotkey_btn = "8" input_player2_left_axis = "-0" input_player2_state_slot_decrease_axis = "-0"
that doesnt work..... :(
if one config only
input_device = "USB Gamepad " input_driver = "udev" input_start_btn = "9" input_exit_emulator_btn = "9" ...
Works perfect, but only one controller.
Maybe i am configuring something in a wrong way :p -
@chan tried with only retroarch on nes emu as u said like this
# Settings made here will only override settings in the global retroarch.cfg if placed above the #include line input_remapping_directory = "/opt/retropie/configs/nes/" input_player1_device = "USB Gamepad " input_player1_driver = "udev" input_player1_start_btn = "9" input_player1_exit_emulator_btn = "9" input_player1_up_axis = "-1" input_player1_a_btn = "1" input_player1_b_btn = "2" input_player1_reset_btn = "2" input_player1_down_axis = "+1" input_player1_right_axis = "+0" input_player1_state_slot_increase_axis = "+0" input_player1_select_btn = "8" input_player1_enable_hotkey_btn = "8" input_player1_left_axis = "-0" input_player1_state_slot_decrease_axis = "-0" input_player2_device = "USB Gamepad " input_player2_driver = "udev" input_player2_start_btn = "9" input_player2_exit_emulator_btn = "9" input_player2_up_axis = "-1" input_player2_a_btn = "1" input_player2_b_btn = "2" input_player2_reset_btn = "2" input_player2_down_axis = "+1" input_player2_right_axis = "+0" input_player2_state_slot_increase_axis = "+0" input_player2_select_btn = "8" input_player2_enable_hotkey_btn = "8" input_player2_left_axis = "-0" input_player2_state_slot_decrease_axis = "-0" #include "/opt/retropie/configs/all/retroarch.cfg"
No luck also
-
There is no solution to my problem?
-
UP!!!
Please help me.... :(
i have one controller collecting a lot of dust -
Tell me if I understand correctly: you want to remap the buttons of your controllers according to the emulator.
If this is your problem, maybe you can solve it reading this parte of the wiki: https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration#core-input-remapping
It's very easy and user-friendly.
-
Oh sorry... I think you want another thing...
The problem is that i dont know how to configure specific controller for specific emus.
Are you using bluetooth or USB-wired controllers?
-
usb wired controller.
Ibuffalo and retrolinkIm trying to get the 2 controllers working in their emu
Ibuffalo (snes controlleres) for snes. and retrolink for nes, but i only have luck with one controller
i tried to follow the github instructions but with no luck, or maybe, for sure, im doing something wrong
-
With USB controllers, you can configure it on the systems specific
retroarch.cfg
file, as described in the wiki, and allways take care to plug the controllers on specific ports.But if you want something more dynamic and user-friendly, you can try it:
https://github.com/meleu/RetroPie-joystick-selection -
i configured in retroarch.
one was sucesfully configured but when i tried to insert 2 controllers they failed.
See the putty i pasted.With that script it only needs to configure the controllers outside?
i mean to configure via config-input in retropie menu -
@chan said in Desperate! Controllers (retrolink, ibuffalo and xin mo) config:
i configured in retroarch.
one was sucesfully configured but when i tried to insert 2 controllers they failed.
See the putty i pasted.It seems that your problem is with the indexes. You need to know the indexes of your controllers and then configure it in
retroarch.cfg
, as mentioned by @PetroRie . If you don't know what I'm talking about, that script is for you. ;-)With that script it only needs to configure the controllers outside?
i mean to configure via config-input in retropie menuYes.
-
@meleu said in Desperate! Controllers (retrolink, ibuffalo and xin mo) config:
@chan said in Desperate! Controllers (retrolink, ibuffalo and xin mo) config:
i configured in retroarch.
one was sucesfully configured but when i tried to insert 2 controllers they failed.
See the putty i pasted.It seems that your problem is with the indexes. You need to know the indexes of your controllers and then configure it in
retroarch.cfg
, as mentioned by @PetroRie . If you don't know what I'm talking about, that script is for you. ;-)With that script it only needs to configure the controllers outside?
i mean to configure via config-input in retropie menuYes.
Hi meleu.
I installed that. but i dont know how it works.
I entered a game and i didnt know how to use.
Controllers still not responseMaybe need to presh f4 or f1 or something like that?
-
@chan
After install it, go to the RetroPie menu in emulationstation and execute the "joystick selection". -
Meleu.
Thanks for your help.!!
Now i can play with all the controllers.
Yesterday i tested it and it works with the sxript, he only "bad thing" is that the second usb gamepad is not good configured so button b exit the game :pI will burn the image again and make eerything again just to make ot run good.
Thanks for your help.
PD: I suppose that if this script mdify retroarch, then i can copy the lines and insert into the specific emulators.
Im correct?
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.