simple shutdown/reboot homebrew for Nintendo Switch using libnx.
It even has a scene-appropriate totally legit french name. Enjoy!
This is a slightly modified version of a libnx example that uses calls to the bpc service to shutdown/reboot your Switch.
Just download a release or compile it yourself. Use with hbmenu like any other homebrew and follow the onscreen instructions.
Shutdown mode is currently not recommended! The first boot after using it always fails. Don't panic if it happens to you, just press power and inject your RCM payload again.
DISCLAIMER: I am not responsible for bricked switches, corrupted Nands/SD cards or any otherwise f*ed up things that happen to you. Use at your own risk!
-
release version:
- Extract the provided .zip file.
- Copy the
BootMoix
folder to theswitch
folder on your SD card.
-
compiled version:
- Clone this repository.
- Compile using
make
. - Copy the
BootMoix
folder inside theout
folder to theswitch
folder on your SD card.
-
configuration:
- Create a file called
reboot
inside theBootMoix
folder on your SD card to skip straight to reboot. Create a file calledshutdown
inside theBootMoix
folder on your SD card to skip straight to shutdown.
- Create a file called
Shutdown mode is currently not recommended! The first boot after using it always fails. Don't panic if it happens to you, just press power and inject your RCM payload again.
- Set up your dev environment using this guide. I suggest using Docker.
- Clone XorTroll's fork of libnx.
cd libnx
make
(should finish without errors)make install
- find your devkitpro installation folder
- nano
*your devkitpro folder*/libnx/include/switch.h
- add the line
#include "switch/services/bpc.h"
and save cd ..
(assuming you're still inside the cloned libnx folder)- Clone this repository.
cd BootMoix
make
Thanks to all the people responsible for libnx and hbmenu!