Digital to analogue changes never save
-
Hi all
Pi model: 4 b 4g
Power source: official Pi supply
Image: Retropie
Controller: 8bitdo pro 2Just having an issue when I play some ps1 and want to use the analogue stick on a certain game (in this case MGS). When I change this option in Retroarch to analogue stick via input, port 1 etc and go back to the game it works fine. I always make sure to save Core Options too as heard this should make the changes for every game that using this core/emulator. Anyway if I return to the game again another day the analogue option always switches back so I have to change it again. There's even a "save controls options" under port 1 which I press but it doesn't seem to help. Are the controls for a game something you can't save? should I be saving the config file to make these changes stick ? thanks!
-
@hawkes_84 which menu are you using to make and save the changes? You should use quick menu > controls, not settings > input.
-
RetroArch doesn't store joystick settings in the core-options.
So that solution won't work.The joystick settings are stored in a /opt/retropie/configs/all/retroarch.cfg .
By default RetroArch will not save the settings until you set "save config on exit = on".
Doing so will still not fix the problem though because then all games will work with the same joystick settings, and that is something you don't want.What you can do is to make a game-specific retroarch.cfg file.
This solution is usually used for adding overlays to games.As example you can take a core specific retroarch.cfg file like this :
/opt/retropie/configs/psx/retroarch.cfg .
Then copy this file to the directory where the game is and convert it to a game-specific retroarch.cfg and add the joystick settings to that file.
Then rename the config to the game with .cfg added.
So if you useMGS.m3u
the config should be namedMGS.m3u.cfg
.
When the game is loaded this config is then automatically read.For finding your game-specific joystick configs you have to somehow save a retroarch.cfg and cut out the needed joystick settings and copy them into your created game-specific retroarch.cfg.
You have to make backups of your config files before you are doing this because once you have extracted your game-specific settings you will have to restore you config files.Perhaps there is an easier way, but I think this is the only way.
-
@folly said in Digital to analogue changes never save:
Perhaps there is an easier way, but I think this is the only way.
Easier way:
RGUI > Quick Menu > Controls > Port n Controls > Analog to Digital Type > Left Analog, then one level back and "save (core|game) remap file." -
The joystick settings are stored in a /opt/retropie/configs/all/retroarch.cfg .
Well they can be, but by default these are all commented out. Joystick settings for RetroArch in RetroPie are made by the autoconfig when you first set up your joystick in EmulationStation, and the files are saved as
/opt/retropie/configs/all/retroarch/autoconfig/[your_joypad_name].cfg
.You can override this in your global or system
retroarch.cfg
or in any config override, however, what's "button 4" on one joystick might not be the same as "button 4" on another joystick. If you make edits this way they will only apply correctly to the one joystick they were coded for and any others will be a scrambled mess.Better to use core input remapping which will save a
.rmp
file that applies consistently "on top of" any controller autoconfig(s) you have already set up. -
@sleve_mcdichael Yeah I was going down the settings and input route. I did see the other controls options too but couldn't see the Analogue option. I'll check again. Many thanks
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.