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

    Rom-specific Hotkey changes - LoZ: Link's Awakening

    Scheduled Pinned Locked Moved Help and Support
    zeldahotkey bindslinksawakeninggameboy
    2 Posts 1 Posters 939 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.
    • J
      JaymesRS
      last edited by JaymesRS

      Link's Awakening uses Start+Select+A+B to trigger the save and quit dialog, and with the hotkey for exit being Start+Select, the only way to save the game is to die (which actually eliminates a possible ending). I would like to change the hotkey for that game only to "Y" on the SNES controller I use to play for this game. I know Y is btn 3 on the controller, and I'm trying to change that to the hotkey for this game only.

      I know from Here that I can have a Per-ROM Override, but I'm not sure I'm understanding the instructions. Do I just create the config file for the game per the instructions and edit it as follows:

      input_enable_hotkey_btn = 3
      
      # Never save-on-exit after an override config
      # or the override will make into the core config.
      
      config_save_on_exit = false
      

      Also, if I want to disable hotkey functionality can I just remove the button line in that rom-specific config file like this?

      input_menu_toggle_btn =
      
      # Never save-on-exit after an override config
      # or the override will make into the core config.
      
      config_save_on_exit = false
      

      I wanted to clarify first as I don't want to accidentally mess up my main config.

      1 Reply Last reply Reply Quote 0
      • J
        JaymesRS
        last edited by JaymesRS

        I don't know if this is the best way, but I did figure out how to change it for this game and disable RetroArch saves to eliminate accidental overwriting. In case anyone else needs this in the future:

        Create config file based on instructions from here, name will be [ROM NAME with Extension].cfg

        In that file paste the following with the hotkey button of your choice:

        #Change Hotkey for this game only
        input_enable_hotkey_btn = 3
        #Disable RetroArch saves
        input_save_state_btn = null
        input_load_state_btn = null
        
        # Never save-on-exit after an override config
        # or the override will make into the core config.
        config_save_on_exit = false
        
        1 Reply Last reply Reply Quote 1
        • 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.