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

    N64: Select not available. How to exit game and save state?

    Scheduled Pinned Locked Moved Help and Support
    n64exit game
    5 Posts 3 Posters 20.5k 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.
    • A
      Andrew
      last edited by

      Pi Model: 3B
      RetroPie Version Used: 4.0.2
      Built From: Pre made SD Image on RetroPie website
      USB Devices connected: N64 Adaptoid
      Controller used: N64 controller
      Guide used: https://github.com/RetroPie/RetroPie-Setup/wiki/Nintendo-64
      Emulator: lr-Mupen64plus, lr-GLupeN64
      How to replicate the problem:

      Configure controller via above link for "lr-Mupen64plus, lr-GLupeN64".
      "Select" button is not configured on the N64 controller.
      Cannot do exit game due to not being able to input "Select+Start".

      How to exit the game without a "Select + Start" input and without rebooting the Pi?

      I would prefer something like Left Trigger (Z) + Start if I could configure it.

      edmaul69E 1 Reply Last reply Reply Quote 0
      • A
        Andrew
        last edited by

        One work around is to use ssh and kill the emulator.

        pkill mupen64plus

        Although if using a different emulator, you'll need to use "top" or "ps -ea" to find out the name or process ID.

        1 Reply Last reply Reply Quote 0
        • markyh444M
          markyh444
          last edited by markyh444

          You can easily set different hotkeys to do this in the mupen config files. I've got start and Z configured in mine. You just need to edit the file and add in which button you want to use as the enable hotkey button and the exit emulator button.

          Retropie in a NES - Pi 3 with Mausberry circuit shutdown switch wired to buttons and 8bitdo NesPro30 controller
          Retropie in a Saturn Controller - Pi Zero, GPIO controls using DB9 driver
          Retropie in a PSX - Pi3
          https://markyh444.wordpress.com

          1 Reply Last reply Reply Quote 0
          • edmaul69E
            edmaul69 @Andrew
            last edited by

            @Andrew for my n64 adapter i edited its cfg file in /opt/retropie/configs/all/retroarch-cfg and changed my hotkey to the start button and then set the trigger as exit. And no i dont use lr-mupen64. This works in all the n64 emulators.

            1 Reply Last reply Reply Quote 1
            • A
              Andrew
              last edited by Andrew

              While trying to be helpful, the above posts were not specific enough.

              Using hints from the config files here:
              /opt/retropie/configs/n64/InputAutoCfg.ini
              /opt/retropie/configs/all/retroarch-joypads/WishTechnologiesAdaptoid.cfg

              And the official documentation from both mupen64 and retroarch, I managed to create a configuration specific to the N64 controller with adaptoid USB<->N64.

              (EDIT: The below confusion caused by one simple issue. One cannot restart emulation station to reload the /opt/retropie/configs/all/retroarch-joypads/, one has to restart the entire RPi!!! What a bug D:)
              There is some confusion for me that I'm trying to work out. I set the save/load state, but somehow load state on button "12" and in the mupen config it's "DPad L = button(12)", yet start+C-left will load state... Weird stuff all around.

              In WishTechnologiesAdaptoid.cfg:
              #Start button
              input_start_btn = "8"
              #Start is now the "hotkey"
              input_enable_hotkey_btn = "8"
              #Left shoulder "L"
              input_l2_btn = "6"
              #Start (hotkey) + Left-Shoulder will exit the emulator
              input_exit_emulator_btn = "6"

              Full adaptoid config in /opt/retropie/configs/n64/InputAutoCfg.ini
              I was using this to reference what button is what for the above changes. By default from the previously linked config, it had some issues, such as A button was C-down, C-down didn't do anything.

              ; Wish Technologies Adaptoid_START
              [Wish Technologies Adaptoid]
              plugged = True
              plugin = 2
              mouse = False
              AnalogDeadzone = 4096,4096
              AnalogPeak = 32768,32768
              Mempak switch =
              Rumblepak switch =
              C Button D = button(1)
              C Button L = button(4)
              Z Trig = button(9)
              Start = button(8)
              Y Axis = axis(1-,1+)
              DPad U = button(10)
              C Button U = button(5)
              B Button = button(3)
              A Button = button(0)
              DPad D = button(11)
              X Axis = axis(0-,0+)
              R Trig = button(7)
              DPad R = button(13)
              DPad L = button(12)
              C Button R = button(2)
              L Trig = button(6)
              ; Wish Technologies Adaptoid_END

              Side note, I wanted to make sure keyboard and other controllers are disabled. I have some USB SNES style controllers, but I don't want them working with the N64 emulator.

              In /opt/retropie/configs/n64/InputAutoCfg.ini
              Find the "plugged" option for keyboard and other controllers you don't want to run in the N64 emulator, and change "plugged" from "True" to "False"
              ; Keyboard_START
              [Keyboard]
              plugged = False

              #My case has these other USB controllers configured:
              ; 2Axes 11Keys Game Pad_START
              [2Axes 11Keys Game Pad]
              plugged = False

              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.