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

    non-libretro emulator for 4.8 rpi4

    Scheduled Pinned Locked Moved Help and Support
    4.8 rpi4
    28 Posts 5 Posters 3.1k 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
      sshht @Floob
      last edited by

      @Floob

      Good idea. Yes, if I hit the hotkey on my USB gamepad and then hit ESC keyboard key / IPAC button that is mapped to ESC, then it exits the arcade game successfully.

      I guess I could program a combination of SELECT + ESC on my IPAC instead of just using ESC eh?

      FloobF 1 Reply Last reply Reply Quote 0
      • FloobF
        Floob @sshht
        last edited by

        @sshht
        It might help if you zip up or pastebin your retroarch.cfgs in case there is something obvious in one of them. I'm assuming you dont have a game specific one.

        Please read the Docs before asking a new question.
        RetroPie Help Guides: https://goo.gl/3gcNsT

        S 1 Reply Last reply Reply Quote 0
        • S
          sshht @Floob
          last edited by

          @Floob

          attached retroarch cfg below

          retroarch-arcade

          retroarch-all

          retroarch-mame-libretro

          FloobF 1 Reply Last reply Reply Quote 0
          • FloobF
            Floob @sshht
            last edited by

            @sshht
            And if you comment out the hotkey enable button line in your controller file, does your IPAC exit with the single esc press?
            I think you're right in the easiest way would be for you to use the hotkey on the IPAC unless you wrote a script to change the controller cfg based on the system that you loaded.

            Please read the Docs before asking a new question.
            RetroPie Help Guides: https://goo.gl/3gcNsT

            S 1 Reply Last reply Reply Quote 0
            • S
              sshht @Floob
              last edited by

              @Floob

              Are you saying to comment out the "input_enable_hotkey_btn = "6" found in my \config\all\retroarch-joypads\USB,2-axis 8-button gamepad .cfg ?

              1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @sshht
                last edited by

                @sshht said in non-libretro emulator for 4.8 rpi4:

                I bet if I disconnect the gamepads I could exit the game with 'esc' key on keyboard (or IPAC since that's mapped to esc).

                Have you tried that ? Disconnecting the gamepads will ensure no hotkey gets set in any input profile.

                S 1 Reply Last reply Reply Quote 0
                • S
                  sshht @mitu
                  last edited by

                  @mitu

                  Yes, when I disconnect the gamepads, then i can use ESC to get the arcade game.

                  So when I use LR-mame2003 or any LR based emulator with my gamepads connected I can't use the 'esc' key to exit an arcade game.
                  It's like I need to disable the gamepads and hot key when loading libretro emulators in arcade.

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @sshht
                    last edited by mitu

                    @sshht said in non-libretro emulator for 4.8 rpi4:

                    It's like I need to disable the gamepads and hot key when loading libretro emulators in arcade.

                    If you're sure you won't be using any gamepad for the Arcade games, you can try disabling the gamepads by adding to retroarch.cfg (for the arcade system):

                    input_player1_joypad_index=nul
                    input_player2_joypad_index=nul
                    input_player3_joypad_index=nul
                    input_player4_joypad_index=nul
                    
                    S 1 Reply Last reply Reply Quote 0
                    • S
                      sshht @mitu
                      last edited by

                      @mitu said in non-libretro emulator for 4.8 rpi4:

                      input_player1_joypad_index=nul
                      input_player2_joypad_index=nul
                      input_player3_joypad_index=nul
                      input_player4_joypad_index=nul

                      Weird, I added in those lines you said to my retroarch.cfg in the arcade folder and restarted emulationstation, but when loading lr-mame2003 arcade game it still detected the gamepads and of course ESC key wouldn't exit, but the gamepads still exited with select-start.
                      Any other ideas to disable the gamepads strictly in the arcade system?

                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @sshht
                        last edited by

                        @sshht Can you get a verbose log when running the arcade game and post it on pastebin.com ?

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          sshht @mitu
                          last edited by

                          @mitu

                          Here is the verbose log running asteroids. verbose log

                          Here is my arcade retroarch: arcade retroarch.cfg

                          mituM 1 Reply Last reply Reply Quote 0
                          • mituM
                            mitu Global Moderator @sshht
                            last edited by

                            @sshht Hm, I thought that would disable the gamepads.

                            Try adding just

                            input_autodetect_enable  = false
                            

                            and no gamepad detection would be performed, leaving only keyboard devices to work. Note - this might disable also any mice, so if you have a spinner, it could disable it too.

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              sshht @mitu
                              last edited by

                              @mitu

                              Sweet!!! that did the trick. It disabled my gamepads while playing arcade. I can now exit the arcade using the 'esc' key.
                              Thank you!!!!

                              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.