Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Need script help for Retroflag NESPi soft power switch hack

    GamePad/GPIO/USB encoder
    need script help retroflag nespi
    5
    6
    4411
    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.
    • Dan Zettinger
      Dan Zettinger last edited by

      I modified the retroflag NESPi case with the guide by James White to add a software shutdown switch however the script in the guide is for retropie and I have no experience converting this script to work with recalbox.

      Here is the guide for reference: https://drive.google.com/file/d/0B9AzTQWe_cTFem1JS01HVU1GMDg/view

      The main item I need to work is the power button with the reset button being less important. Has anyone been able to get this working and if so would you share the script you used?

      Alternatively, would I be able to modify the existing 'rpi-pin56-power' script to change the pins?

      Thanks in advance

      lainbebop rocordeiro 3 Replies Last reply Reply Quote 0
      • lainbebop
        lainbebop @Dan Zettinger last edited by lainbebop

        @dan-zettinger there is already a script posted on this forum, have a look in the search bar ! Only for 4.1 !

        Edit : idon't find anymore the post 😞
        It was a script with short press = emulator quit, long press = shutdown
        By @supernature2k i think ?

        Edit2 : i found it !!

        HERE

        Bartop Metal Slug Home Made :)
        https://forum.recalbox.com/topic/7656/my-mini-bartop-metal-slug/

        1 Reply Last reply Reply Quote 0
        • alvina35
          alvina35 last edited by

          I try to solve it so You have one GPIO set to high, that delivers 3,3V ... as long as this GPIO is setted high the mosfat delivers power. When does the GPIO not deliver power? Right... if the Pie is shut off!
          The cap will loose power and the mosfat output also closes.
          POWER cutoff
          press the power switch again
          the Cap colect power again = Switch should be as closed
          then Power to the Pi....

          1 Reply Last reply Reply Quote 0
          • rocordeiro
            rocordeiro @Dan Zettinger last edited by

            @dan-zettinger

            1 Reply Last reply Reply Quote 0
            • rocordeiro
              rocordeiro @Dan Zettinger last edited by

              @dan-zettinger Hello, have you managed to make the code changes to work as in the retropie?

              1 Reply Last reply Reply Quote 0
              • Rick Serrano
                Rick Serrano last edited by

                I know they released a new Nespi case + early April 2018 and has a working safe shutdown and safe reset buttons. They include instructions on how to setup the script. Wondering if anyone can port that over to recalbox, would be awesome.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Want to support us ?

                83
                Online

                98.7k
                Users

                28.1k
                Topics

                187.0k
                Posts

                Copyright © 2021 recalbox.com