Hotkeys Save/Load Game doesn't work.
-
@meleu so is it always nul or null? or a combination of both?
-
@rbaker
nul
. But I think RetroArch ignores any invalid option. So,null
has the same effect asnul
(but I'm not sure). -
@meleu
I will postpone the testing for the weekend as I don't have much time in the evenings.But an interesting thing happened to me yesterday, that I want to share.
I have done some fast configuring. I started the Pi and it turned out that my hotkey has stopped functioning.
Retropie detects the right key pressed, but it appeared that the function is nulled. I thought that I f*cked something up and restored my backup.
When I turned it on the hotkey still didn't work. I tested it several times with no result. I gave up and turned off the cabinet from the plug.This morning I turned it back on and everything worked just fine.
I can not explain this to myself. I'm completely baffled. Even as I write this I wonder if I had imagined it.From what I know the raspberry pie's only memory is located on the sd card, so I really have no idea how such a thing could be possible.
-
@theink keep in mind that despite being all RetroArch each core has its own config file. It can be related to your episode.
-
@meleu
I finally have some free time to do testing on the configuration.First question...
I just figured out that I can not have two sets of hotkeys for each player.
For example, if I write the following code the second two lines are canceled by the first two.
input_enable_hotkey = "y"
input_exit_emulator = "h"input_enable_hotkey = "u"
input_exit_emulator = "j"
What I tried to do is to list two sets of hotkeys for each player. It obviously doesn't work this way.
In short Is there a way to map two sets of hotkeys?Thanks in advance.
-
@theink no. in fact, only player 1 has access to hotkeys at all.
-
In short Is there a way to map two sets of hotkeys?
You can map different sets of hotkeys for each controller.
For keyboard the file is the
...all/retroarch.cfg
.For each joystick the files are those
...all/retroarch-joypads/JOYPAD_NAME.cfg
files.And, as @dankcushions said, only player 1 can use hotkeys. But RetroArch recently got a feature to let any player use hotkeys and control RGUI (implemented in this PR). You can use this feature if you update RetroArch from source, and I think it will be available in the next RetroPie release.
-
@meleu Ok, now I get it. Thank you for clearing this. I will stick to one player hotkey controls.
Another question please.While editing the main retroarch.cfg file I made a little test.
I switched the functionality of my SELECT button with another button on my control panel and noticed that after a restart the Select key has still has been mapped to its previous position, although that in the cfg file this key has been nulled.I concluded that the controls for the main menu are not written inside the all/retroarch.cfg.
Is that so? Where can I find them? -
@theink said in Hotkeys Save/Load Game doesn't work.:
While editing the main retroarch.cfg file I made a little test.
I switched the functionality of my SELECT button with another button on my control panelWhat do you mean with "control panel"?
I concluded that the controls for the main menu are not written inside the all/retroarch.cfg.
The control configs for the main menu (what we are used to call RGUI) are on those file I mentioned on my last post. It depends on what you are using to control the player1.
-
@meleu Sorry, by control panel I mean the physical joysticks and buttons installed on the arcade cabinet.
Basically what I did has I reassigned the functionality of the Select button of retroarch to a different keyboard key.
I did that inside the ...all/retroarch.cfg . After that, I restarted the Pi.What I found is that my newly assigned Select button didn't work.
Instead, the previous key I used continued functioning as Select. -
What I found is that my newly assigned Select button didn't work.
Instead, the previous key I used continued functioning as Select.Well, I don't know the details of your IPAC mappings. But the retroarch.cfg doesn't change by itself. :-)
You have to discover what key is bound to what button after your changing and then edit your
all/retroarch.cfg
.(P.S.: Is "bound" the past participle of "bind"? I almost wrote binded. :-) still learning English...)
-
@meleu
HERE is my exact mapping.
The thing is that I had mapped my select button as Y key from the keyboard.
I'm also using the select button as a hotkey.Then because of a bug that I described HERE, I tried to disable the select button entirely while in RGUI (main menu).
I restarted the P so that I can allow the system to load the config file anew.
As a result, it turned out that the select button is still active.
It still opens my Options menu while in RGui. And then on a second press, the bug takes effect.But anyway I suggest we move that discussion to the other post because the Hotkey problem has finally has been resolved.
A lot of text has been written, but basically, my mistake was that I was mapping the hotkeys to a controller instead to a keyboard. -
@theink
Just a tip to better describe you issues:
It would be better if you explicitly say what software you are using. ;-) Because GUI can be confused with RGUI (RetroArch GUI).When you say GUI in your previous post it seems that you refers to the emulationstation, anyway.
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.