Hacking SX OS 2.0 Homebrew NSP installs but "Software closed because error occured"

mvfsullivan

Member
OP
Newcomer
Joined
Aug 26, 2018
Messages
21
Trophies
0
Age
32
XP
131
Country
Canada
I managed to use nspbuild to compile and build a Checkpoint NSP successfully, loaded it on the microSD, installed it fine in SX OS (2), but upon opening it, it immediately closes and shows the black error screen.

Also noteworthy, opening Checkpoint like normal from the homebrew menu (both in SX and in hbmenu) causes the switch to crash.

Is this specific with SX OS not being truly compatible?
 

jakkal

Well-Known Member
Member
Joined
Apr 27, 2018
Messages
2,303
Trophies
1
Age
44
XP
3,982
Country
United States
Which system update is your switch currently on?
If it's 6.0 then there have been reports of Homebrew not working for some people on that firmware
 

mvfsullivan

Member
OP
Newcomer
Joined
Aug 26, 2018
Messages
21
Trophies
0
Age
32
XP
131
Country
Canada
Try install it with Tinfoil, does that make it work?

Just tried, no it results in the same thing, black screen error.

Also new, I cant seem to open Checkpoint at all without the switch crashing, even after deleting the Checkpoint NSP via the manage software screen from the home menu.

Hmm
 

mvfsullivan

Member
OP
Newcomer
Joined
Aug 26, 2018
Messages
21
Trophies
0
Age
32
XP
131
Country
Canada
For those getting the "The software closed because an error occured" black screen and Checkpoint crashing their switch when using the .nro, just delete the Checkpoint tile from the home menu and also delete the config file in the Checkpoint folder.

Seems I'm stuck on the last stage of the guide here, and the issue is related to NACPTool not properly associating the TitleID. Anyone able to get it working?

1. compile a homebrew! it can be anything!! no, really!
2. grab the latest release of hacBrewPack: https://github.com/The-4n/hacBrewPack/releases/latest
3. create a folder called exefs, and a folder called control in the hacBrewPack directory
4. copy the json from https://raw.githubusercontent.com/switchbrew/nx-hbloader/master/hbl.json and save it to a file somewhere
5. change where it says hbloader to your application's name
6. set title_id, title_id_range_min, and title_id_range_max to a sixteen character hex string starting with 0100
7. run C:\devkitPro\tools\npdmtool.exe <name of the json file> main.npdm and copy the generated file to the exefs folder we created earlier
8. create an icon for your app! it must be a 256x256 jpg, but make sure it has no exif data! to make sure that you don't, open your jpeg in paint.net or something, save it as a bmp, open the bmp, then save that as a jpg
9. rename the jpg (extension and all) to icon_AmericanEnglish.dat and place it in the control folder we created
10. run C:\devkitPro\tools\bin\nacptool.exe --create --titleid=<title id> "<name>" "<author>" <version> control.nacp
11. copy the generated control.nacp to the control folder
12. in the hacBrewPack folder, run hacbrewpack.exe --noromfs --nologo
13. copy the nsp in hacbrewpack_nsp to tinfoil/nsp and install it!

--------------------- MERGED ---------------------------

Homemade NSP files work on 6.0.0 and SX 2.0

How did you make your NSP's?
 
Last edited by mvfsullivan,

mvfsullivan

Member
OP
Newcomer
Joined
Aug 26, 2018
Messages
21
Trophies
0
Age
32
XP
131
Country
Canada
Thanks I've taken the next steps for already-made nsp's BUT. I'd also like to be able to make my own from existing homebrew apps.

Anyone else have any input, advice, suggestions etc?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: @OctoAori20, Cool. Same here.