Help with Joystick Config and Understanding Retropie Controllers
-
Thanks for the info. @AndersHP
I was wondering if there is a way to inject the Hori 4 buttons to a default so I don't have to map for every game. I assume I just edit the retroarch config file? Just wanted to be sure before I make any changes. Thanks in advance!
-
@mealto Did you discover if you are using a RetroArch core for arcade games?
If yes, the best way to configure joystick mappings specific to a core (and/or games) is using this method: https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration#core-input-remapping
-
@mealto
Yes, generally, the software looks these three places when a rom boots:- retroarch.cfg file in the all folder
- retroarch.cfg file in the emulator's folder
- [game name].cfg in the roms folder
So if you want the same controls for all retroarch based emulators, editing the first mentioned cfg file will influence all. If you then want specific emulators to have other options, you can edit the second mentioned with the options you want to override from the cfg file in the all folder, and lastly, if just one game should have other options, you can make a cfg file with the game's name, with these options in it, and then these will override the above mentioned.
Again, I haven't tried the specific controller you mention, so I don't know if this advice is better than what meleu talks about, this just did the trick for me with my ipac buttons and joysticks.
-
@AndersHP said in Help with Joystick Config and Understanding Retropie Controllers:
So if you want the same controls for all retroarch based emulators, editing the first mentioned cfg file will influence all.
I'm afraid this isn't the best approach, since it would hardcode the configs for every single joystick model you plug on your system (and not only the one he wants to configure). You've forgot to mention the RetroArch autoconfig feature and the files in
/opt/retropie/configs/all/retroarch-joypads/
. Where you can configure mappings to a specific joystick model.A reading at the docs should solve the issue here since the first day. I'm still not sure if @mealto is using a RetroArch core, but if so, the doc to read is https://retropie.org.uk/docs/RetroArch-Configuration/
-
@meleu im having a little hard work using FBA with your script. It works well with other, but with Fba i cannot choose the joysticks to play.
Should i use lr-fba instead of Fba?
I want only use joysticks here in fba cause mame roms.
I use mame4all and i´ve already configured it with "tab" but i want to change to FBA cause there are more supported roms.
Could you give me a clue? -
@chan the script works for libretro/retroarch emulators only. Then, yes, it works fine with lr-fba (and any of those that start with
lr-
). -
@meleu so if i change all the roms from fba to lr-fba i can update with your script. Correct?
i cannot wait to try!
i suppose that fba roms are valid for lr-fba...
-
@chan I'm not sure what "flavor" of fba you are talking when you say 'fba'. Do you mean pifba?
-
@meleu i think the folder was fba. and the emu too...
When i pressed a button i was asked about using fba or lr-fba...i´m not usre right now, but, anyway, i need to change my roms to lr-fba and the use that emu instead of fba,pifba or whatever in order to use your script.Did you include n64 too? just for testing in future!
-
Did you include n64 too?
Any RetroArch emulator is covered, but I think most people uses the standalone (non-libretro) Mupen64plus due to performance reasons.
-
@meleu not yet, but im thinking on it. Pitty to not have such great tool as yours to configure it.
Will dive on how to configure when i solve the FBa first. Step by step hehe -
@chan if you discover how to do it for Mupen64plus, please share with me. If it is as simple as editing a file, I can add it to my script.
Cheers.
-
@meleu i didn´t dive a lot but i discover that there is a lr-mupen64plus
https://github.com/retropie/retropie-setup/wiki/Nintendo-64
Could you add it easily?i saw this too:
"lr-Mupen64plus and lr-GLupeN64 utilise RetroArch configurations
Add custom retroarch controls to the retroarch.cfg file in
/opt/retropie/configs/n64/retroarch.cfg"For sure that i could be a kindergarden game for an expert like you :)
-
@chan did you read this post of mine above? :-)
-
@meleu lol forgive me xD
i will deep a little. hehe -
@meleu nice job. it works with roms in arcade folder and using your script.
The only thing is if u can say me how to econfigure buttons for all roms cause the buttons are really moved :p -
@chan this is the easiest way:
https://retropie.org.uk/docs/RetroArch-Configuration/#core-input-remapping -
@meleu impo men.
i´m into quick menu controls and i cannot change "user 1 burron A:" or anything
im only able to change controls in other menu. Under settings - INPUT - Input User 1 Bindsdo u know why i am not able to do it?
-
@chan what exactly do you mean with "I cannot change"?
You press left/right on the d-pad when the "user 1 button a" is active and nothing happens?
-
nope, it seems freeze.
And up in that menu, it appears the USB controller d PAd, but not the THT xxx (who is the joystick) so when i try to find it, im only able to see the Nintendo Retropad and the super nintendo buffalo retropad, but not the THT when i navigate with left and right (and none appears too).Im able to see the THT in the menu of input that i referred in the other post
Under settings - INPUT - Input User 1 BindsIs there a "manual" map in order to change it with a keyboard? where it supose to be that config file? only for fba
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.