RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    1. Home
    2. Tags
    3. exit emulator
    Log in to post
    • All categories
    • M

      Hatari: Exit with joypad button

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support hatari exit button exit emulator exit hotkey
      5
      0 Votes
      5 Posts
      522 Views
      M

      I still don't know how to do it. I have tried but it doesn't work

    • M

      Adapting RetroFlag Shutdown/Reset Script for use without retroflag case

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support retroflag exit emulator power button
      2
      0 Votes
      2 Posts
      513 Views
      jamrom2J

      @mkp132 have you looked into running a mausberry switch? I have a Pi3b+ setup and running in and old Sears Super Video Arcade shell as the case. I installed the mausberry circuit and used the original console switch as the on/off. All you need to do is install the script and that should work.

      You can even wire the mausberry off of the original cabinet power switch.

      It might be easier and save you time to do it that way

    • S

      Can not exit emulator

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support exit button exit emulator
      5
      0 Votes
      5 Posts
      530 Views
      lostlessL

      @iandaemon yes, that’s pretty much it. Emulation station writes a configure file for retro arch and other emulators. If you change a button in retro arch, say you like to use y and b as your a and b in Nes per say, and reconfigure, it doesn’t effect the hot keys. Those are still mapped to the original emulation station setup. So let’s say you move start to say, R1 in retro arch, start for the hot key will still be the original start you chose in emulation station.

    • D

      Exiting the PCSX2 emulator with gamepad buttons combo instead of keyboard 'ESC' key

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support pcsx2 exit emulator gamepad config script
      12
      0 Votes
      12 Posts
      6k Views
      H

      I found this can be done with the -nogui parameter using the nightly build of pcsx2. Not sure if this applies to the version Retropie uses. I had a hard time finding this solution when searching the web.

      In pcsx2 I set a hotkey for Shut Down Virtual Machine. With the -nogui parameter pcsx2 will exit when you press the shutdown hotkey.

      See also:
      https://wiki.pcsx2.net/Command-line_support

    • P

      Display looks weird after exiting pcsx-rearmed

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support pcsx-rearmed exit emulator
      2
      0 Votes
      2 Posts
      311 Views
      P

      after poking around a little more online i think what i want to do is set the console/terminal resolution and colors after exiting pcsx-rearmed to how they were before launching pcsx-rearmed.

      these are the framebuffer lines in my /boot/config.txt:

      framebuffer_width=320 framebuffer_height=240

      (not sure how colors are set - i don't see any lines about that.)

      but i don't think i can just add these lines to my quit.sh script mentioned in my original post, can i? because those aren't commands. (i just tried and it had no effect.)

    • W

      Linux Joystick Mapper not working for the CoCo emulator (XRoar). Any clues?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion and Gaming xroar exit emulator joymap exit coco
      8
      0 Votes
      8 Posts
      849 Views
      W

      @Halvhjearne it needs a window in order to configure the mappings.

    • W

      Exit Xroar with joypad keys?

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support hotkey exit xroar exit emulator
      1
      1 Votes
      1 Posts
      314 Views
      No one has replied
    • M

      [Resolved] Select+Start not exiting games, if I change it to Select+X it works fine. Any ideas?

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support exit emulator start + select retroarch
      4
      0 Votes
      4 Posts
      1k Views
      M

      Retried using Android mode on the controllers instead of Switch mode and everything seems to work fine. I'm going to go with that. Thanks!

    • G

      Need some help exiting retropie.

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support exit emulator
      4
      0 Votes
      4 Posts
      2k Views
      mituM

      @guiguiberto Follow the docs on how to install it first, the RetroPie image does not have it included

      Install the Pixel desktop environment - https://retropie.org.uk/docs/FAQ/#where-did-the-desktop-go How to configure which one is started first - https://retropie.org.uk/docs/FAQ/#how-do-i-boot-to-the-desktop-or-kodi
    • J

      Can't exit (just) XROAR games using Keyboard or Gamepad default Hotkeys

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support xroar hotkey exit dragon exit emulator
      5
      0 Votes
      5 Posts
      2k Views
      J

      @jonnykesh Thanks for the advice. I'm all sorted now. Thanks for helping out and have a great Christmas!

    • lostlessL

      GPIO button to exit emulator

      Watching Ignoring Scheduled Pinned Locked Moved Ideas and Development gpio exit emulator button
      27
      0 Votes
      27 Posts
      8k Views
      J

      Here is how to set Long press and Short press function. I added on my reset ROM button a long press feature that resets the entire system:

      Create a script that will be executed at long press
      nano /home/pi/switch.sh

      Paste the below code and save using CTRL + X, Y

      #!/bin/bash sudo reboot

      Make it executable:
      chmod +x /home/pi/switch.sh

      Edit the code in the first mentioned post resetbutton.py:

      nano /home/pi/scripts/resetbutton.py

      Replace all text with the below code, save using CTRL + X, Y: #!/usr/bin/python import RPi.GPIO as GPIO import time import os # we will use the pin numbering to match the pins on the Pi, instead of the # GPIO pin outs (makes it easier to keep track of things) GPIO.setmode(GPIO.BOARD) GPIO.setup(16, GPIO.IN) seq_cust = 0 tim_cust = 0 # check to see if button has been pushed try: while True: if GPIO.input(16)==0: tim_cust = 0 if seq_cust > 0: os.system("sudo /home/pi/exit.sh") # Short press action seq_cust = 0 time.sleep(1) else: seq_cust = 0 else: tim_cust = tim_cust + 1 time.sleep(.01) if tim_cust >= 200: # Time for long press >= x os.system("sudo /home/pi/switch.sh") # Long press action tim_cust = 0 time.sleep(1) else: seq_cust = 1 finally: GPIO.cleanup()

      I used 0.01 seconds to eliminate delay in button press.
      At 200 should result in ~2 seconds.

      You can put your own script in switch.sh
      Also the script supports more than 2 actions per button with a bit of tweak.

      Enjoy ;)

    • V

      Problems exiting games with RetroArch

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support retroarch attract mode exit hotkey exit emulator
      1
      0 Votes
      1 Posts
      775 Views
      No one has replied
    • soggypeteS

      Reset GPIO button

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support retropie reset button exit emulator
      4
      0 Votes
      4 Posts
      3k Views
      caver01C

      @sphirst I dunno. I don't know python, but it is not like you will break anything trying it.

      I just thought you should know that there are several discussions active right now on the topic of shutdown scripts. Most of my work recently has been related to the Mausberry circuit, a little PCB that goes on the USB port and hooks into GPIO to trigger safe shutdown. You can do something similar without the circuit, but the Mausberry adds the ability to truly cut power.

      I did not look at the video you linked above, but you might also find a little software package called GPIOnext interesting. This is the evolution of GPIOneer, a GPIO button handler/driver created by mholgatem. I use GPIOneer, but I will be replacing/upgrading. My buttons that use it include volume control as well as safe shutdown.

    • natemacN

      PS3 Wireless Controller won't EXIT Emulators

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support ps3 wireless ps3 controller exit emulator bluetooth
      5
      0 Votes
      5 Posts
      5k Views
      natemacN

      So, hotkey(PlayStation button) + start, seemed to actually worked.
      Maybe this got changed and the info not updated.

    • R

      Ipac 2 Mamelibretro Exit Emulator button

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support ipac2 mamelibretro exit emulator
      5
      0 Votes
      5 Posts
      2k Views
      edmaul69E

      @ruxton_bruce the controllers use "input_enable hotkey_btn ="and you can assign the keyboard key to "input_enable hotkey =" then set both the exit key and hotkey on your keyboard to the same button. You will need to use the controller to get into the retroarch gui though since the hotkey and exit key are now on the same button.

    • T

      X-Arcade Stick & Wii U Pro Controller Issue

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support wii u pro x-arcade xarcade exit emulator
      1
      0 Votes
      1 Posts
      790 Views
      No one has replied
    • M

      make one button to exit mame emulator instead of start+select?

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support one button button mapping exit emulator start + select
      1
      0 Votes
      1 Posts
      1k Views
      No one has replied
    • pommeP

      Daphne exit with wireless XBOX 360 Controller?

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support daphne config xbox wireless exit emulator
      1
      0 Votes
      1 Posts
      982 Views
      No one has replied
    • J

      Exit Emulator Issue

      Watching Ignoring Scheduled Pinned Locked Moved Help and Support exit game exit exit emulator
      1
      0 Votes
      1 Posts
      874 Views
      No one has replied