Removing hotkeys??
-
I've wondering if certain hotkeys can be removed per ROM?? The ones in particular (for snes controller) are Select+R and Select+L. I've saved game files in the actual game such as DK and when a level is saved via Select+R it erases the game file! Very frustrating. I know simply DON'T press that sequence of buttons but I'm trying to not allow other people playing to do this. Can this be done?
-
-
Open a new notepad document on windows and paste in this code:
input_save_state_btn = nul
input_load_state_btn = nul
-
Save the file as the name of the rom (with the extension) .cfg (make sure it does not have a .txt extension).
-
Upload this text file to your SNES roms directory. These per game files need to be in the same directory as the rom itself.
These should be the 2 files you see sidebyside in your roms folder (obviously if your rom is named different, both files should still match - retropie uses the file name to associate the cfg with the rom, so the names have to match perfectly and case sensitive):
Example files:
Donkey Kong Country.smc
Donkey Kong Country.smc.cfgThis will make that particular rom disable the bind for the save/load state inputs. You can add any other settings from RETROARCH.cfg into this per-game file to changes settings for just one game (like using shaders, etc.)
-
-
You can also duplicate and rename that same cfg file to apply those settings to other roms. Just make sure the names match and the original file extension is in the file name.
-
@Capeman said in Removing hotkeys??:
-
Open a new notepad document on windows and paste in this code:
input_save_state_btn = nul
input_load_state_btn = nul
-
Save the file as the name of the rom (with the extension) .cfg (make sure it does not have a .txt extension).
-
Upload this text file to your SNES roms directory. These per game files need to be in the same directory as the rom itself.
These should be the 2 files you see sidebyside in your roms folder (obviously if your rom is named different, both files should still match - retropie uses the file name to associate the cfg with the rom, so the names have to match perfectly and case sensitive):
Example files:
Donkey Kong Country.smc
Donkey Kong Country.smc.cfgThis will make that particular rom disable the bind for the save/load state inputs. You can add any other settings from RETROARCH.cfg into this per-game file to changes settings for just one game (like using shaders, etc.)
I can't get it to work. I am on Mac iOS so I'm not sure if script editor or text editor will work. The rom name is Donkey Kong Country (USA).zip then I added the .cfg like you said in Step 2. After saving it added a .rtf and I tried again but this time instead of .rtf it added .scpt
SO in the end it's DKC (USA).zip.cfg.rtf (or .srpt instead of .rtf -
-
I use Mac also. Download TextWrangler or Notepad from the Mac App Store and use one of those instead. TextEdit doesnt like plaintext.
-
@Capeman said in Removing hotkeys??:
I use Mac also. Download TextWrangler or Notepad from the Mac App Store and use one of those instead. TextEdit doesnt like plaintext.
Yeah still not luck. I still allows me to save and load. Oh well. Thanks for trying.
-
I think you're following my instructions all wrong. Here i put together a short screengrab video showing exactly what to do in textwrangler. It is literally the easiest process imaginable.
-
@Capeman said in Removing hotkeys??:
I think you're following my instructions all wrong. Here i put together a short screengrab video showing exactly what to do in textwrangler. It is literally the easiest process imaginable.
I believe I followed them exactly as you had described. Thanks for the video, when I watched it that was the sequence I had followed. I know some ROMs are .smc but MY rom has a .srm extension NOT .smc. So I tried BOTH anyway, .srm.cfg (nothing, deleted) THEN .smc.cfg even though that's not the extension mine has (nothing,deleted). I also tried .zip.cfg considering my file was still zipped when uploaded(ditto). Just to clarify the btn = nul is spaced out right? Also, some ROMs have whichever version it is within the title , so I assume that has to be added when typing out the title so they match?? All in all it still haven't worked for me as I guess it has for you. Maybe I'm putting the file in wrong folder...I put it in the snes ROMs folder. Restart ES, nothing.
-
Ok, last ditch effort. When you launch a game, the box pops up onscreen. That is the launchcommand box. When you press a button you go into the launchcommand dialog where you can set video modes, etc. If you go into there, one of the options is "EDIT CUSTOM RETROARCH CONFIG FOR THIS ROM" - try typing the code manually into that area and saving. That will create the config file in your roms folder that you can edit further if needed.
If the file is created, and the effect still doesnt work, try putting nul in quotes ("nul") OR put a random number in there that the controller cannot support "99" would pull a button that doesnt exist.
If that doesn't work, im not sure what to tell ya, i use this method all the time for my arcade roms because they dont have consistent controls. I would use remapping but my arcade is all keyboard controls so retroarch config file edits work fine.
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.