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

    lr-mame2003 nvram/dipswitch settings not being saved, can't exit game once it starts

    Scheduled Pinned Locked Moved Help and Support
    mame2003lr-mame2003
    17 Posts 6 Posters 2.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.
    • G
      grant2258 Banned
      last edited by

      youll need to ask the retropie gurus how to do this on a keyboard. You need to exit mame properly to save your info

      1 Reply Last reply Reply Quote 1
      • dankcushionsD
        dankcushions Global Moderator
        last edited by

        your hotkey is separately configured from your select key - it's the last entry in initial contoller setup. you need to press hotkey + start to exit a game

        Y 1 Reply Last reply Reply Quote 1
        • Y
          yonkiman @dankcushions
          last edited by

          @dankcushions said in lr-mame2003 nvram/dipswitch settings not being saved, can't exit game once it starts:

          your hotkey is separately configured from your select key - it's the last entry in initial contoller setup. you need to press hotkey + start to exit a game

          Ah, that helps - I'd forgotten what the hotkey was assigned to. OK, so hotkey + X is taking me to a menu...progress!

          Here's a more fundamental question I've had for a while. EmulationStation has its key assignments, but MAME has different key assignments. How does MAME know to exit when I use a key combination from ES? It seems like ES has to be sending MAME a signal to shutdown - is that signal not a key or key combination?

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

            @yonkiman said in lr-mame2003 nvram/dipswitch settings not being saved, can't exit game once it starts:

            It seems like ES has to be sending MAME a signal to shutdown - is that signal not a key or key combination?

            No, Emulationstation goes into the background once the emulator (RetroArch or otherwise) gets started, it's entirely up to the emulator to process the user input and exit by itself.

            Y 1 Reply Last reply Reply Quote 1
            • Y
              yonkiman @mitu
              last edited by

              @mitu said in lr-mame2003 nvram/dipswitch settings not being saved, can't exit game once it starts:

              No, Emulationstation goes into the background once the emulator (RetroArch or otherwise) gets started, it's entirely up to the emulator to process the user input and exit by itself.

              That's what I originally thought. So why can't I find/change/set the key that makes the emulator (lr-make2003 in this case) exit?

              dankcushionsD 1 Reply Last reply Reply Quote 0
              • dankcushionsD
                dankcushions Global Moderator @yonkiman
                last edited by

                @yonkiman it’s hotkey + start to exit. it sounds like your hotkey is now working, so now i presume you just have to make sure start is bound correctly.

                1 Reply Last reply Reply Quote 1
                • stoney66S
                  stoney66
                  last edited by

                  @yonkiman It's in your main retroarch.cfg file located in /opt/retropie/configs/all

                  There will be two settings in that config file, one for the start and one for hotkey. In my case I use num1 and num5 keys.

                  pi@retropie:/opt/retropie/configs/all $ more retroarch.cfg | grep input_player1_start
                  input_player1_start = "num1"

                  pi@retropie:/opt/retropie/configs/all $ more retroarch.cfg | grep enable_hotkey
                  input_enable_hotkey = "num5"

                  Y 1 Reply Last reply Reply Quote 1
                  • Y
                    yonkiman @stoney66
                    last edited by

                    @stoney66 @dankcushions Thank you both! Can definitely exit now, and it does remember its settings, so I've basically got it working. But the crux of why I was confused is this:

                    How does lr-mame know it's time to exit when I press a key combination defined in EmulationStation?

                    dankcushionsD 1 Reply Last reply Reply Quote 0
                    • dankcushionsD
                      dankcushions Global Moderator @yonkiman
                      last edited by

                      @yonkiman the controller setup process in emulation station basically generates a bunch of config files for various things in retropie, such as: emulationstation, retroarch (the emulator 'front end' for almost every default emulator, including lr-mame2003), and some 'standalone' emulators such as mupen64plus.

                      Y 1 Reply Last reply Reply Quote 1
                      • Y
                        yonkiman @dankcushions
                        last edited by

                        @dankcushions Got it. Thanks for all your help!

                        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.