Homebrew [Release] PowerPrevent SysModule

  • Thread starter Thread starter WerWolv
  • Start date Start date
  • Views Views 7,715
  • Replies Replies 15
  • Likes Likes 6

WerWolv

EdiZon and Tesla Developer
Developer
Joined
Mar 30, 2018
Messages
252
Reaction score
636
Trophies
0
Age
27
XP
2,396
Country
Switzerland
Thanks to the inconvenient placement of the power button on the N3DSXL and the N2DS I had to replay many many stages because I accidentally pressed it with my finger. This SysModule brings an end to this. Let me introduce you PowerPrevent. It constantly runs in the background and disables the functionality of the power button unless the START button is held down.

How it works

Due to a limitation in the SysModule loading of Luma3DS, this project is basically a fork of Rosalina and "replaces" it with a modified version of itself. Rosalina still works like before. In addition to Rosalina, there is now a check that enables or disables the interrupt caused by a short press of the power button. Long pressing the power button will still cause a hard shutdown, without the need for pressing the START button.

Installation
  1. Go to the Luma3DS config menu by holding the SELECT button during boot
  2. Enable the option Enable loading external FIRMs and modules
  3. Copy the downloaded rosalina.cxi into the SDHC:/luma/sysmodules folder on your SD card. Don't rename the file. If it isn't called rosalina.cxi, Luma won't load it.
  4. Restart your console. Everything should be working now

Download

Source code: https://github.com/WerWolv98/PowerPrevent_SysModule
Download: https://github.com/WerWolv98/PowerPrevent_SysModule/releases/latest


Credit:

Many thanks to AuroraWright for her Luma3DS project. This mod is highly based on her work
 
Last edited by WerWolv,
" I had to replay many many stages because I accidentally pressed it with my finger."

I have no idea how this can happen but nice to see new things nontheless :)
 
" I had to replay many many stages because I accidentally pressed it with my finger."

I have no idea how this can happen but nice to see new things nontheless :)

I have quite big hands and when pressing the shoulder buttons I usually hold the 3DS with my pinky finger in place. That finger happens to allign with the power button quite nicely ^^
 
May I suggest you this? It's a bit pricey but totally makes the N3DSXL so much better, especially for those with large hands. Makes the N3DSXL feel like holding XBOX360 controller.

Thank you for that! I don't like grips that much though because I think they destroy the slick look of the console. Plus my option is free and doesn't have a delivery delay :P
 
Grateful, I lost full 3 days of playtime in Majora's Mask as I rested my 3ds xl on my right pinky while gaming, apparently just applying enough pressure to insta-shutdown. Very frustrating. If at least it would warn you before shutting down the software. I will attempt to install this tonight, but before that is this working on the current release of Luma?
 
Last edited by tacticurn,
  • Like
Reactions: WerWolv
Hi, I enabled the feature in Rosalina (on Luma 9.0). I created the folder sdhc:/luma/sysmodules and copied rosalina.cxi into it. Save. Reboot.

If I hold the power button for several seconds, it still powers off. No splash screen at least. That is normal?
 
Side note, AuroraWright is a girl

Fixed that, thanks. I didn't know that at the time.

Hi, I enabled the feature in Rosalina (on Luma 9.0). I created the folder sdhc:/luma/sysmodules and copied rosalina.cxi into it. Save. Reboot.

If I hold the power button for several seconds, it still powers off. No splash screen at least. That is normal?

It only disables accidental short presses. If you long press the button it still shuts down the console and I don't think there's a way to prevent that since it's the power management controller who does that
 
Fixed that, thanks. I didn't know that at the time.



It only disables accidental short presses. If you long press the button it still shuts down the console and I don't think there's a way to prevent that since it's the power management controller who does that
Working as intended then :) I guess it is mostly the short accidental pushes that gave me a headache.
 
Now PLEASE make a different one that makes it that if you press the power button, the console shuts off without having to go through that “In sleep mode, the system can...” menu.
 
Now PLEASE make a different one that makes it that if you press the power button, the console shuts off without having to go through that “In sleep mode, the system can...” menu.
This rosalina modification does exactly that, you still have to hold the power button down for 3 seconds or so. But it turns off without any warnings first. I'd rather not have an insta-turn off button.
 
could you please release an updated version? with the sysmod installed the "cheats" option in the rosalina menu disappears, and I'd like to be able to use cheats :/
 

Site & Scene News

Popular threads in this forum