reswitched / pegaswitch

PegaSwitch is an exploit toolkit for the Nintendo Switch
https://reswitched.team
ISC License
934 stars 107 forks source link

Add nspwn.js to usefulscripts #125

Closed ghost closed 5 years ago

ghost commented 6 years ago

nx-hbmenu can be used on firmwares lower than 3.0.0, provided you have a way of triggering nspwn. This script originally posted by TuxSH on RS' #switch-hacking-general provides a way to do so. This will look for "hbl.nsp" on the SD card; this NSP should be nx-hbloader if the goal is to boot nx-hbmenu, but it could also be something like reboot_to_rcm, etc.

misson20000 commented 6 years ago

Can we make this a command that takes a path to the file?

ghost commented 6 years ago

Just to clarify, do you mean have the script ask for the path to the NSP, or do you want to integrate it as a command into PS itself, a la nspwn @Sdcard:/hbl.nsp?

misson20000 commented 6 years ago

The latter, nspwn @Sdcard:/hbl.nsp

mariogamer2 commented 6 years ago

If you have the permissions on 4.x (with Atmosphere's sm), would it be possible to use it?

misson20000 commented 6 years ago

Should be, but at that point just use atmosphere loader too

mariogamer2 commented 6 years ago

Is it possible to unistall it?

I thought the 3.0.0 installer was more complex...

mariogamer2 commented 6 years ago

Can someone make an nro script of it?