Controls not saving in RGUI menu
-
Hi there. Merry Christmas to you all.
I have an issue with my controls in the RGUI menu. This to me seems the best way to change the controls and hotkeys for my ROMs (if I can get it to work).
I am building an arcade machine and I am using an IPAC to setup my buttons and joysticks. I have found that using the in game RGUI menu the easiest way to do this. It works perfectly until I exit the ROM and restart the ROM.
For example, I have set up the buttons on my 2 player arcade machine in the RGUI menu and set up the hot keys. I exit the menu and they all work perfectly enabling me to play the game. When exit the game to the sega mega drive gameslist and restart the ROM, all control settings have gone and every time I press start button, this seems to be set as the reset button so cant get past the "sega" intro.
Any help would be much appreciated.
Thank you in advance.
-
You need to save the input remapping before exiting RetroArch. See this section from the Docs for how to change game/core input changes.
If you'd like to modify the Hotkeys, then you can edit the.cfg
file corresponding to your gamepad from\\retropie\configs\all\retroarch-joypads
and modify them. -
@mitu hey mitu. Not spoke to you in a while. I hope you are well. When you refer to "gamepad", does this apply to aracade buttons and joysticks? I will have a read from through the documents and see what happens. Im pretty certain that I have tried this and gave me an error message regarding the saving. I will retry using the steps in the documents and see what happens.
-
@mitu another thing I have noticed is that on the document above they asked to follow doesn't work for me, as in the controls section, it is difficult to set up the controls for player 2 as the options required are not listed. But, if I go to the input section of the RGUI menu, this allows me to set up the controls for both player 1 and player 2 along with the ability to change the hotkeys. Same again though, once I exit the ROM, all settings are wiped even after saving the changes. Im slightly confused.
-
Hotkeys and gamepad mapping are saved differently:
- gamepad mapping can be saved with the core input remapping - this should be persistent if you're starting the same core (emulator). You can do it once per Core (emulated system).
- hotkeys are set in a different file - I indicated the filename in my previous post.
How are you saving your modifications ?
-
@mitu I save the input remapping in the RGUI menu. I think the option is save core changes or worded similarly. They don't seem to save though.
-
@Lugzyboy82 Do you get a 'Remap saved' message when you save ?
Can you show me a screenshot of the menu you're using to save ? -
@mitu ok
I enter the RGUI menu by pressing select and x on a USB controller connected to the pi unit
As soon as I am in the menu, I remove the USB controller as this throws up various errors whilst programming my buttons.
I then go to settings, input and the change the keys using the binds option
I then exit this and then click on save core overrides
I get a confirmation message saying overrides save successfulI can then play the game with no issues on with the controls or buttons what so ever.
But, when I exit the ROM, and start the game again, all of my changes are lost and I lose my player 1 start button so I cant physically start a game.
Hope this makes sense
-
@Lugzyboy82 said in Controls not saving in RGUI menu:
I then go to settings, input and the change the keys using the binds option
I then exit this and then click on save core overridesThat's not how it's explained in the page I indicated. You need to go to Controls from the Quick menu that opens when you press
Hotkey + X
, not toSettings -> Input
. -
@mitu you are correct. But in the instructions in the document provided the up, down, left right etc are not correct for player 2 for some reason. Up, down, left and right are already assigned to player 1 joystick. Remember I am using an IPAC. So my player 2 up, down, left and right should be assigned to r, f, d and g buttons.
-
@Lugzyboy82 The Controls section of the menu has entries for all Players - P1, P2, P3, etc. Doesn't it work to re-assign those from the RGUI ?
Maybe it's easier to follow @caver's instructions for an IPAC - https://retropie.org.uk/docs/Keyboard-Controllers/#ipac-features.
-
@mitu I will have a read and give it a try. Thank you as always.
-
@mitu hey there. I have used the guide with no joy. Something must be wrong with my .config file. I have just been browsing through to see if I can make any sense of it and I have noticed that in the controls section there are no # before the entry.
For example, my config file shows:
input_player1_a = "x"
Should it read as:
input_player1_a = "x"
I have attached an image of my config file so you can see what I mean.
-
@Lugzyboy82 said in Controls not saving in RGUI menu:
input_player1_a = "x"
Should it read as:# input_player1_a = "x"
The
#
is a comment sign, any line that has it at the beginning will be ignored. So looking at your config, theA
button on the RetroPad is assigned to thex
key on your keyboard and so on. -
@mitu correct. Bu its still not working. This is so frustrating. I looked through retroarch last night and it seems that the RGUI menu still thinks my controls are a retropad. I went to the joypad config file and the only thing there is USB controller config. Im really confused with this now.
-
The keyboard input is automatically added by RetroArch by default. Can you check if you have
menu_unified_controls = true
in yourretroarch.cfg
? -
@mitu I can confirm that it is there, yes.
-
@mitu as mentioned earlier in the thread, I can set the buttons up perfectly for both players including the hotkeys in the input section of the RGUI menu. After exiting the ROM and re entering, all the controls I previously set up disappear.
Im not sure if this is due to having the USB gamepad plugged in at the same time so that I can access the RGUI menu. As soon as the RGUI menu appears I unplug the USB gamepad and use the joystick and buttons to create the binds in the input section.
-
@Lugzyboy82 said in Controls not saving in RGUI menu:
as mentioned earlier in the thread, I can set the buttons up perfectly for both players including the hotkeys in the input section of the RGUI menu.
This is the same as editing the
.cfg
file. I just tested a 2P game and the bindings added toretroarch.cfg
are the same as the ones in the Input menu.After exiting the ROM and re entering, all the controls I previously set up disappear.
These mappings are not saved, you need to save the configuration - but I advise you to do so without any game started, by starting RetroArch from the RetroPie system in EmulationStation - this way the input mappings are available in any system/game.
-
@mitu ok hopefully this will work. I will try it this evening. You say start retroarch from the retropie system in emulationstation. How would I do this? I want to do this correctly first time so any guidance or steps would be much appreciated.
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.