Homebrew [Release] PowerPrevent SysModule

WerWolv

EdiZon and Tesla Developer
OP
Developer
Joined
Mar 30, 2018
Messages
252
Trophies
0
Age
25
XP
1,864
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,

Xen0

Well-Known Member
Member
Joined
Oct 8, 2015
Messages
532
Trophies
0
Age
25
XP
1,951
Country
Germany
" 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 :)
 

WerWolv

EdiZon and Tesla Developer
OP
Developer
Joined
Mar 30, 2018
Messages
252
Trophies
0
Age
25
XP
1,864
Country
Switzerland
" 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 ^^
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,946
Country
United States

WerWolv

EdiZon and Tesla Developer
OP
Developer
Joined
Mar 30, 2018
Messages
252
Trophies
0
Age
25
XP
1,864
Country
Switzerland
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
 

tacticurn

Active Member
Newcomer
Joined
Aug 6, 2018
Messages
37
Trophies
0
XP
109
Country
Germany
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

tacticurn

Active Member
Newcomer
Joined
Aug 6, 2018
Messages
37
Trophies
0
XP
109
Country
Germany
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?
 

WerWolv

EdiZon and Tesla Developer
OP
Developer
Joined
Mar 30, 2018
Messages
252
Trophies
0
Age
25
XP
1,864
Country
Switzerland
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
 

tacticurn

Active Member
Newcomer
Joined
Aug 6, 2018
Messages
37
Trophies
0
XP
109
Country
Germany
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.
 

SirNapkin1334

Renound Aritst
Member
Joined
Aug 20, 2017
Messages
1,665
Trophies
1
XP
975
Country
United States
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.
 

tacticurn

Active Member
Newcomer
Joined
Aug 6, 2018
Messages
37
Trophies
0
XP
109
Country
Germany
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.
 

Imanaru-Chu

New Member
Newbie
Joined
Apr 18, 2019
Messages
1
Trophies
0
Age
34
XP
42
Country
United States
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

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-