RetroPie forum home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    1. Home
    2. Tags
    3. shutdown script
    Log in to post
    • All categories
    • ZackPlonk

      Shutdown retropie via CEC when TV goes into standby
      Help and Support • hdmi cec tvservice shutdown script shutdown • • ZackPlonk

      1
      0
      Votes
      1
      Posts
      78
      Views

      No one has replied

    • cnoto

      Power off fan
      Help and Support • fan control shutdown script powerswitch • • cnoto

      7
      0
      Votes
      7
      Posts
      292
      Views

      cyperghost

      @cnoto For the ONOFFSHIM I used the default setup, proposed by Pimoroni. For the complete powercut you either need a systemd file or you set a dtoverlay to /boot/config.txt

      You can take a look here to this tutorial

    • Dan3010

      Advice: Emulation Station Safe Shutdown via GPIO input
      Help and Support • gpio pin safe shutdown shutdown shutdown script • • Dan3010

      1
      0
      Votes
      1
      Posts
      152
      Views

      No one has replied

    • rtarroyo

      Help with Nespi4 shutdown script
      Help and Support • nespi4 shutdown script crashing • • rtarroyo

      2
      0
      Votes
      2
      Posts
      138
      Views

      rtarroyo

      @rtarroyo BTW

      The internal switch is turned on to safe shutdown and im running the latest version of Retropie, installed it today

    • cnoto

      Remove text from safe shutdown with Retroflag case
      Help and Support • shutdown script shutdown text • • cnoto

      17
      0
      Votes
      17
      Posts
      455
      Views

      theretroprince

      @cnoto Cool! Glad it worked for you. It's always nice when you can keep plugging away at those pesky little buggers.

    • Dinsdale

      Run shutdown script via Amazon Alexa?
      Help and Support • alexa retropie shutdown script • • Dinsdale

      6
      0
      Votes
      6
      Posts
      148
      Views

      BJRetro

      @Dinsdale ah got it! Well glad it works now sounds like a really neat set up. On the other hand I would have never thought to use an Alexa powered outlet so I guess teamwork!

    • robertybob

      Is there a definitive shutdown script for Mausberry switch?
      Help and Support • mausberry shutdown script • • robertybob

      2
      0
      Votes
      2
      Posts
      145
      Views

      mitu

      @robertybob Check out @cyperghost's shutdown script - https://retropie.org.uk/forum/topic/17415/ - it supports multiple switches and can be adapted to work like you want w.r.t the reset switch.

    • Pzrjager

      Issues with safe shutdown for Superpi UCase
      Help and Support • retroflag superpi shutdown script shutdown switch • • Pzrjager

      11
      0
      Votes
      11
      Posts
      626
      Views

      Pzrjager

      @mitu @cyperghost

      I sent an e-mail to RetroFlag the other day describing the issue and from looking at the photo of the wires I sent, they said the colored wires were in the wrong position. They apologized then gave some directions on how to take the wires out and what the proper color order is.

      I tried taking them out of the black plug but it seemed a bit of a hassle. Fortunately a replacement case arrived from Amazon today and the colored wires in the replacement case are in the correct position. I rebuilt my RetroPie and the shutdown and reset worked right away :). Thanks again for the help.

      tldr: Original case wires were messed up, replacement worked.

    • mikeyp043

      retropie shutting down after splash screen after installing a shut down script for nespi case +
      Help and Support • nespi case + shutdown script not working • • mikeyp043

      2
      0
      Votes
      2
      Posts
      201
      Views

      pneuman71

      I am having the exact same issue with my Kintaro Kuma 9000. I'm using a retropie image that I downloaded from arcade punks. I had originally used another image which did not have these power issues and booted up fine with the power buttons and showed the red LED light. But then I switched to another image and now have this exact same problem. It starts up and then right when the splash screen ends, it shuts down. Did you ever get a fix for this issue?

    • MisterMints

      Pi overheating and scripts not working
      Help and Support • overheating shutdown script shutdown switch heatsink • • MisterMints

      12
      0
      Votes
      12
      Posts
      778
      Views

      MisterMints

      @mitu said in Pi overheating and scripts not working:

      @MisterMints Most likely something hardware, try to return it and get another.

      Wish it was that simple! My Pi3 is over a year old and was a gift - I treated myself to a new 3B+ and was going to donate the broken one (obviously before it was broken!) to a retro gaming present for my little brother.

      At least now he gets the same present but with a brand new 3B+ instead

    • de_jean125

      Change/Disable F4 hotkey for terminal access
      Help and Support • terminal hotkey keyboard shutdown script triggerhappy • • de_jean125

      17
      0
      Votes
      17
      Posts
      1634
      Views

      Clyde

      @de_jean125 Something like that, yes. :)

      My first guess was that it was for your kid(s), by the way.

      You could even let it get nastier … "Stop or I'll hack into your bank account and send all of your money to homes for retired game programmers!"

    • leboucheralex

      Help on removing and reinstalling a shutdown script
      Help and Support • help command line shutdown script reinstall • • leboucheralex

      3
      0
      Votes
      3
      Posts
      451
      Views

      leboucheralex

      @mitu
      Ho right, 3rd party! Yes that sound fair.
      Ok thanks!

    • Brewskii

      Starting retropie stops with RuntimeWarning: A physical pull up resistor is fitted on this channel!
      Help and Support • shutdown script shutdown switch runtimewarning • • Brewskii

      3
      0
      Votes
      3
      Posts
      551
      Views

      Brewskii

      @sano Bingo!, just never saw the runtime error before. I went into raspi-config and set it to autologin to console and it boots normally into Retropie, thanks!

    • Roswell

      Gpio shutdown button will boot but won't shut down?
      Help and Support • shutdown script motion blue emulatiostation • • Roswell

      4
      0
      Votes
      4
      Posts
      404
      Views

      SnarfxxxSnarf

      I had the same issues using my Mausberry switch I had the blue and white cable mixed up.

    • cyperghost

      Multi Switch Shutdown Script!
      Ideas and Development • shutdown script shutdown switch cyperghost • • cyperghost

      256
      4
      Votes
      256
      Posts
      33367
      Views

      cnoto

      @cyperghost I just used this script for a generic button on a zero 2 with no luck. Would anything be different about the pi zero 2?

    • SixSpeedDeath

      Modify a safe shutdown script.
      Help and Support • shutdown script shutdown menu • • SixSpeedDeath

      20
      0
      Votes
      20
      Posts
      3937
      Views

      cyperghost

      @drakaen391 About your posted codings.... Does the wait command works in your case? @mediamogul and his while-loop by monitoring PID status is imho better ...

      wait can only be used on child processes out of the own subshell

    • Nachos

      Graceful GPIO reboot/shutdown (saves srm and metadata) Python functions
      Help and Support • emulationstaion metadata issues shutdown script retroarch gpio • • Nachos

      6
      3
      Votes
      6
      Posts
      721
      Views

      mitu

      @psb The poster hasn't been on this forum for 1 year and bumping old topics is bad forum etiquette. If you have a question, then open a new topic and ask away - don't re-open years old topics.

    • SmellyViking

      (BUILT+PICS!)Before i buy, will these parts all work together?
      Projects and Themes • retro pie shutdown script raspberry pi 3b nespi case usb drive • • SmellyViking

      6
      0
      Votes
      6
      Posts
      1508
      Views

      SmellyViking

      OK bought everything and built it and it works great. 2tb harddrive would not fit but the 1 tb one does : )
      whats words without pics. so here ya go.
      0_1523061807508_image9.jpg

      0_1523061725394_image10.jpg

      0_1523062119332_image5.jpg

      0_1523062151644_image3.jpg

      0_1523062182808_image4.jpg

      0_1523062209688_image6.jpg

      0_1523062237514_image8.jpg

      deleted case ethernet port,case door hinges came out for room, glued closed. had to put dedicated power to the hd to spin right so extra usb port grafted to the drives power wires while data wires go to pie. runs cool enough 50 degrees-ish so far. case closes tighter than pics when screwed together. just took some quick snaps to share. think it turned out pretty good.

    • Semper 5

      METADATA not saving - Favorites will never remain tagged
      Help and Support • nespi case metadata issues favorites shutdown script gameslist.xml • • Semper 5

      121
      0
      Votes
      121
      Posts
      9896
      Views

      Semper 5

      @cyperghost ok I figured it out :)
      it's a little bit of a bug but totally fixable.

      ES uses both gamelist.xml found at /opt/retropie/configs/all/emulationstation/gamelists/"console"/ and /home/pi/RetroPie/roms/"console"/

      so if there's no gamelist.xml in the console folder under roms, it will use the one found in configs. for some reason it doesn't remove entries, only adds them.

      it will also not untag favorites if you DO have a gamelist.xml in your roms but DON'T have an entry in your gamelist.xml for the tagged favorite game.

      Best word of advice: scrape like you've never scraped before lol

    • matalog

      Shutdown Button
      Help and Support • shutdown script • • matalog

      6
      0
      Votes
      6
      Posts
      1251
      Views

      cyperghost

      @matalog I'm not very firm in python.
      But take a look to this link
      https://raw.githubusercontent.com/LowPowerLab/ATX-Raspi/master/shutdownchecksetup.sh

      and to this link
      https://lowpowerlab.com/guide/atxraspi/assembly-install/

      shows how to use a timer to differ button event between shutdown and reboot in accordance of button press time. I think that is your demand....