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

Discussion in 'Switch - Backup Loaders & Modchips' started by mvfsullivan, Sep 24, 2018.

  1. mvfsullivan
    OP

    mvfsullivan Member

    Newcomer
    1
    Aug 26, 2018
    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?
     
  2. mvfsullivan
    OP

    mvfsullivan Member

    Newcomer
    1
    Aug 26, 2018
    Canada
    bump - anyone?
     
  3. jakkal

    jakkal GBAtemp Addict

    Member
    12
    Apr 27, 2018
    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
     
  4. mvfsullivan
    OP

    mvfsullivan Member

    Newcomer
    1
    Aug 26, 2018
    Canada
    5.1.0 using SX 2.0
     
  5. json

    json MUSCLEMAN

    Member
    9
    Aug 9, 2013
    Burkina Faso
    Try install it with Tinfoil, does that make it work?
     
  6. mvfsullivan
    OP

    mvfsullivan Member

    Newcomer
    1
    Aug 26, 2018
    Canada
    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
     
  7. Jonna

    Jonna Some sort of musician.

    Member
    7
    May 15, 2015
    Canada
    Canada
    Same thing here, and I'm also running on 5.1.0 firmware.
     
  8. WiiuGold

    WiiuGold GBAtemp Advanced Fan

    Member
    7
    Jan 5, 2015
    United States
    Homemade NSP files work on 6.0.0 and SX 2.0
     
  9. mvfsullivan
    OP

    mvfsullivan Member

    Newcomer
    1
    Aug 26, 2018
    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!

    — Posts automatically merged - Please don't double post! —

    How did you make your NSP's?
     
    Last edited by mvfsullivan, Sep 24, 2018
  10. Kubas_inko

    Kubas_inko "Something funny goes here."

    Member
    13
    Feb 3, 2017
    Czech Republic
    I gues on earth.
    You can get them from that discord server
     
  11. mvfsullivan
    OP

    mvfsullivan Member

    Newcomer
    1
    Aug 26, 2018
    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?
     
Loading...