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

    Hotkey immediately exits emulator

    Scheduled Pinned Locked Moved Help and Support
    raspberryhotkey exitmame 2003pimoronipicade
    6 Posts 2 Posters 941 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.
    • T
      T1nue
      last edited by T1nue

      Today I updated Retropie; Emulationstation shows the version "2.7.6RP".

      After the update, the hotkey button immediately exits the emulator (lr-mame2003 for example). Correct would be hotkey+Start to exit, as far as I remember.

      Since the hotkey is assigned by default to the "Select" button, and "Select" by default is the "Coin" button, I can't do anything in Mame anymore.

      To make sure that I dod not break anything, I uninstalled and reinstalled Retropie, without effect.

      When I grep for "input_exit" in "/opt/retropie", I only find one entry:

      configs/all/retroarch.cfg:input_exit_emulator = "i"
      

      The "i" key is indeed the "Start" button.

      Grepping for "hotkey" returns this:

      configs/all/retroarch.cfg:input_enable_hotkey = "o"
      

      This look ok, the "o" key is "Select".

      What is wrong here? Thanks for any insight.

      1 Reply Last reply Reply Quote 0
      • T
        T1nue
        last edited by T1nue

        Sorry, this might be a red herring. Pressing the "Coin" button does exit the game, but maybe not because it is acting as an "exit" button. The log file shows this, right after I press the "Coin" button:

        [INFO] [recording] Custom timing given: FPS: 60.6061, Sample rate: 48000.0000
        [INFO] [recording] Recording to frogger-190111-150300.mkv @ 224x256. (FB size: 256x256 pix_fmt: 0)
        [libx264rgb @ 0x1c71290] using SAR=6/7
        [libx264rgb @ 0x1c71290] using cpu capabilities: ARMv6 NEON
        [libx264rgb @ 0x1c71290] profile High 4:4:4 Predictive, level 2.1, 4:4:4 8-bit
        [libx264rgb @ 0x1c71290] 264 - core 148 r2748 97eaef2 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=6 deblock=1:1:1 analyse=0x1:0x111 me=hex subme=7 psy=0 mixed_ref=1 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc=cqp mbtree=0 qp=0
        [INFO] [FFmpeg]: Using sample format S16.
        [matroska @ 0x1c6c900] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
        [matroska @ 0x1c6c900] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
        [INFO] Starting movie record to "/home/pi/RetroPie/roms/arcade/frogger.srm.bsv".
        /opt/retropie/supplementary/runcommand/runcommand.sh: line 1007:  2915 Segmentation fault      /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg "/home/pi/RetroPie/roms/arcade/frogger.zip" --verbose --appendconfig /dev/shm/retroarch.cfg
        

        This happens with every rom. It worked fine before I updated Retropie today.
        It appears as if it tries to record the screen, but fails. Of course I did not configure anything related to screen recording.

        1 Reply Last reply Reply Quote 0
        • T
          T1nue
          last edited by

          Got it... This post guided me into the right direction: https://retropie.org.uk/forum/topic/18183/recording-gameplay-in-retropie-4-4-1

          It appears that the latest 4.4.1 version enabled screen recording. It's just bad luck that the default toggle button is "o", which is also the "Select" button on the Pimoroni Picade X HAT accessory.

          Further bad luck is that the screen recording causes a segmentation fault. I wonder why this was enabled in Retropie 4.4.1 if it does not work? At least for the Raspberry Pi it should not be active, I think.

          I could fix the problem by uncommenting "input_movie_record_toggle" and setting the key to a value that does not exist on the Pimoroni controller. I did this in "/opt/retropie/configs/all/retroarch.cfg".

          R 1 Reply Last reply Reply Quote 1
          • R
            Run the Jewels
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • R
              Run the Jewels @T1nue
              last edited by

              @T1nue Hi man, have the same problem!
              Can you help me about this? For me is not simple to proceed.
              I have the same problem... left button "screen recording". right button goes out from game.

              Please help me.
              Tnx!

              T 1 Reply Last reply Reply Quote 0
              • T
                T1nue @Run the Jewels
                last edited by

                @Run-the-Jewels If you have the Pimoroni controller (X Hat) then you should do what I did, see above. Some additional information is on the Pimoroni forums, see https://forums.pimoroni.com/t/x-hat-retropie-coin-button-exits-game/9633.

                If you have another controller, then this might not be the same problem. If this is the case, then I suggest you start a new thread, with detailed descriptions of your hardware, software versions, log file entries etc.

                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.