RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Removing hotkeys??

    Scheduled Pinned Locked Moved Help and Support
    hotkeys
    9 Posts 2 Posters 3.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SegaGenesis1
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • CapemanC
        Capeman
        last edited by Capeman

        1. Open a new notepad document on windows and paste in this code:
          input_save_state_btn = nul
          input_load_state_btn = nul

        2. Save the file as the name of the rom (with the extension) .cfg (make sure it does not have a .txt extension).

        3. 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.cfg

        This 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.)

        Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

        S 1 Reply Last reply Reply Quote 0
        • CapemanC
          Capeman
          last edited by

          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.

          Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

          1 Reply Last reply Reply Quote 0
          • S
            SegaGenesis1 @Capeman
            last edited by

            @Capeman said in Removing hotkeys??:

            1. Open a new notepad document on windows and paste in this code:
              input_save_state_btn = nul
              input_load_state_btn = nul

            2. Save the file as the name of the rom (with the extension) .cfg (make sure it does not have a .txt extension).

            3. 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.cfg

            This 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

            CapemanC 1 Reply Last reply Reply Quote 0
            • CapemanC
              Capeman
              last edited by

              I use Mac also. Download TextWrangler or Notepad from the Mac App Store and use one of those instead. TextEdit doesnt like plaintext.

              Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

              S 1 Reply Last reply Reply Quote 0
              • S
                SegaGenesis1 @Capeman
                last edited by

                @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.

                1 Reply Last reply Reply Quote 0
                • CapemanC
                  Capeman @SegaGenesis1
                  last edited by

                  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.

                  Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    SegaGenesis1 @Capeman
                    last edited by SegaGenesis1

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • CapemanC
                      Capeman
                      last edited by

                      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.

                      Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      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.