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

    Start + Hotkey Will Not Exit the Game

    Scheduled Pinned Locked Moved Help and Support
    hotkeyexit gameexit retroarch
    14 Posts 6 Posters 1.4k 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.
    • M
      MyFartSoTart @doubleL5
      last edited by

      @doubleL5 I’ve tried resetting my button mapping and if I remember correctly, I think I’ve already reset retropie a few months ago as well.

      1 Reply Last reply Reply Quote 0
      • windgW
        windg
        last edited by windg

        It looks that retroarch.cfg file is broken. This can happen if you use the save button inside the Retroarch. It is preferable to use the Configuration Editor or modify the retroarch.cfg directly from the terminal

        In this path :

        /opt/retropie/configs/all
        

        you will find this file : retroarch.cfg.rp-dist . Rename it to retroarch.cfg and you will recover the damaged file.

        M 1 Reply Last reply Reply Quote 0
        • M
          MyFartSoTart @windg
          last edited by

          @windg I found the file but what do I press to rename it? If I press enter it just opens the file.

          windgW 1 Reply Last reply Reply Quote 0
          • windgW
            windg @MyFartSoTart
            last edited by windg

            @MyFartSoTart

            Then will rename the file with move command:

            mv /opt/retropie/configs/all/retroarch.cfg.rp-dist /opt/retropie/configs/all/retroarch.cfg
            
            S M 2 Replies Last reply Reply Quote 0
            • S
              sleve_mcdichael @windg
              last edited by sleve_mcdichael

              @windg said in Start + Hotkey Will Not Exit the Game:

              @MyFartSoTart

              First delete the old file :

              This is not necessary, mv will simply overwrite the old file if it exists.

              sudo mv
              

              Do not use sudo here; neither the command itself nor the location in which it's performed require it, and you will end up with an admin-owned file floating around in what is supposed to be user-space.

              windgW 1 Reply Last reply Reply Quote 1
              • windgW
                windg @sleve_mcdichael
                last edited by

                @sleve_mcdichael Thank you, I corrected the answer.

                1 Reply Last reply Reply Quote 1
                • M
                  MyFartSoTart @windg
                  last edited by

                  @windg Sorry, I don’t mean to sound like a noob but am I still supposed to be in the configuration editor? I’ve found the file but but the keyboard doesn’t do anything.

                  windgW 1 Reply Last reply Reply Quote 0
                  • windgW
                    windg @MyFartSoTart
                    last edited by windg

                    @MyFartSoTart Not in the Configuration editor. You have to run the commands from the terminal. To open the terminal press F4 button when you are in RetroPie. You can connect too through ssh from a second computer. Another option is to use the file manager from RetroPie menu.

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      MyFartSoTart @windg
                      last edited by MyFartSoTart

                      @windg I tried moving the file with the command you specified and I got this error message:
                      root@retropie:/opt/retropie/configs/all#/bin/sh/tmp/mc-root/mcusr07qIN1
                      mu: target
                      ‘retroarch.cfg.rp-dist' is not a directory
                      Press any key to continue…

                      Is there no way to just change the name of it?
                      Also in the /opt/retropie/configs/all, there is already a file named retroarch.cfg.

                      windgW Y 2 Replies Last reply Reply Quote 0
                      • windgW
                        windg @MyFartSoTart
                        last edited by windg

                        @MyFartSoTart

                        This error looks weird. I test the command two times on my systems and it was always successful. Please provide more info : https://retropie.org.uk/forum/topic/3/read-this-first

                        windgW 1 Reply Last reply Reply Quote 0
                        • windgW
                          windg @windg
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • Y
                            yserra @MyFartSoTart
                            last edited by yserra

                            @MyFartSoTart

                            "Also in the /opt/retropie/configs/all, there is already a file named retroarch.cfg." -> obviously. Windg told you that file is corrupted. He explained you should replace it with a non-corrupted copy.

                            "mu: target" -> the command is "mv" (with a v, like in "velocity", not with a "u" like "unknown").

                            "‘retroarch.cfg.rp-dist' is not a directory" -> that's because you forgot to type the space between the two names.

                            Here is in 3 steps something that could help you to make less typing errors (press return after each end of line):

                            cd /opt/retropie/configs/all
                            rm retroarch.cfg
                            cp retroarch.cfg.rp-dist retroarch.cfg
                            

                            The commands are :
                            cd, like Change Directory
                            rm; like ReMove
                            cp, like CoPy

                            Mind the fact there is, in the last line, a space between "retroarch.cfg.rp-dist" and "retroarch.cfg". Don't type "retroarch.cfg.rp-distretroarch.cfg" as if it was only one long word.

                            (as sleve_mcdichael said, it's not required to remove the file in step 2, because the cp command in step 3 will delete the original-corrupted file anyway. But I think it could help you to best understand what you are doing).

                            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.