Location of joystick configuration files?
-
Hi all,
I’m trying to document my build in code, but am being thrown off by the (seemingly) necessary configuration in the on screen menus
Build:
Raspberry Pi 4 w/ latest Retropie
Primarily MAME games
Libretro-mame
Dragonrise USB hubs (2) with arcade buttons and joystickIt seems like they buttons are configured in
Emulationstation setup
But also in retroarch configuration menu
AND the menu when playing a game & hit Tab/home/pi/.emulationstation/es_input.cfg
/opt/retropie/configs/all/retroarch.cfg
/opt/retropie/configs/all/retroarch/autoconfig/DragonRise Inc. Generic USB Joystick .cfg
My set up works, but It’s still not clear to me why?!
Can someone describe where each on screen menu saves the data? Thanks!
-
@sturbek said in Location of joystick configuration files?:
It seems like they buttons are configured in
Emulationstation setup
But also in retroarch configuration menu
AND the menu when playing a game & hit Tab
/home/pi/.emulationstation/es_input.cfg
/opt/retropie/configs/all/retroarch.cfg
/opt/retropie/configs/all/retroarch/autoconfig/DragonRise Inc. Generic USB Joystick .cfgThe EmulationStation input configuration is saved in
/home/pi/.emulationstation/es_input.cfg
. Based on the values chosen there, a controller auto-configuration file is automatically written in the/opt/retropie/configs/all/retroarch/autoconfig/
folder (DragonRise Inc. Generic USB Joystick .cfg
), to be loaded by RetroArch each time you start a libretro core.The
/opt/retropie/configs/all/retroarch.cfg
file contains mostly the default settings, and it's not used by RetroPie to configure your gamepad - it's the autoconfig profile(s) (mentioned above) that hold this information.The MAME cores have also their own - specific - configuration, separated from the RetroArch input configuration, which can be configured using the MAME UI (accessed through
TAB
). This should be stored inmame-libretro/mame2003/cfg
. It's not edited or maintained by RetroPie's scripts. -
@mitu thank you so much!
-
@mitu said in Location of joystick configuration files?:
/home/pi/.emulationstation/es_input.cfg
What do you mean by "Based on the values chosen there"?
I'm having issues with my controller and found that the contents of /home/pi/.emulationstation/es_input.cfg for the controller in question are correct, whilst the contents of the corresponding .cfg file in /opt/retropie/configs/all/retroarch/autoconfig/ are completely different (and as a result means the controller doesnt work properly when playing a game). Should the 2 files be the same?
-
@grimdanfango said in Location of joystick configuration files?:
Should the 2 files be the same?
No, they have a different syntax. But instead of bumping an old topic, please open a new topic and explain your problem, adding some info about your setup - as requested in https://retropie.org.uk/forum/topic/3/read-this-first.
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.