RELEASE NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci)

Discussion in 'Switch - ROM Hacking, Saves, Translations & Tools' started by JRoad, Nov 4, 2018.

Loading...
  1. wakabayashy

    wakabayashy GBAtemp Advanced Fan

    Member
    6
    Dec 25, 2014
    France
    France
  2. JRoad
    OP

    JRoad GBAtemp Advanced Fan

    Member
    7
    May 18, 2018
    Spain
    I'm going to release some fixes later though. Basically the exe versions routes aren't identified properly and the nut json files for dlc names don't download to the correct place.
     
    wakabayashy likes this.
  3. EmulateLife

    EmulateLife GBAtemp Psycho!

    Member
    7
    May 30, 2016
    United States
    Ok I was using an older version of NSB .83 and it worked perfectly. Now I updated to .90 and I'm having problems. Still same game Smash Bros Ultimate with 5.0 update. I don't know how to get a header_key, never had to before. The keys are verified to show master_key_08 now.

    Calculating final content:
    Exception: 'header_key'
    Exception: 'header_key'
    Filename: UNKNOWN.xci
    Exception: 'header_key'
    Exception: 'header_key'
    - Writing XCI header...
    - Writing XCI game info...
    - Generating padding...
    - Writing XCI certificate...
    - Writing ROOT HFS0 header...
    - Writing UPDATE partition header...
    Calculated multiplier: 1
    - Writing NORMAL partition header...
    Calculated multiplier: 1
    - Writing SECURE partition header...
    Calculated multiplier: 1
    99%|█████████████████████████████████████████████████████████████████████████████▎| 63.0k/63.5k [00:00<00:00, 913kB/s]Exception: 'header_key'
    Exception: 'header_key'
    Items to process: 0
    ...................................................
    STILL 0 FILES TO PROCESS
    ...................................................
    ---------------------------------------------------
    *********** ALL FILES WERE PROCESSED! *************
    ---------------------------------------------------
    Input "0" to go back to the mode selection
    Input "1" to exit the program
    Enter your choice:

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

    Edit: I figured out the header key is with the other guys, but how do I get a XCI header key?

    I'm also finding 90 to just run terribly where I had no issues with 83. It just freezes like when you're trying to add files.
     
    Last edited by EmulateLife, Sep 5, 2019
  4. JRoad
    OP

    JRoad GBAtemp Advanced Fan

    Member
    7
    May 18, 2018
    Spain
    Is one of the key lockpick gives you. Did you rename directly the lockpick file? It outputs it on linux format so it won't work fine with NSCB on windows. It can be solved by pasting the keys on the template or by using Notepad++ to change the end of lines to windows format.

    It's at the right bottom corner, if it says UNIX (LF), press with the right mouse button and change it to windows.
    unix.PNG

    botton.PNG

    Now if you use the template and don't have the xci_header_key you can delete that field, that one is optional. The alternative is to search it on google since it was derived from a cartridge.

    BTW: The header key is probably in your old file.
     
    EmulateLife likes this.
  5. JRoad
    OP

    JRoad GBAtemp Advanced Fan

    Member
    7
    May 18, 2018
    Spain
  6. EmulateLife

    EmulateLife GBAtemp Psycho!

    Member
    7
    May 30, 2016
    United States
    So I updated to 90 verified the keys have master_key_08, fixed the header_key and Smash Bros + update 5.0 still didn't work when trying to load it. Has anyone been able to make an XCI with Smash Bros Ultimate + 5.0 update?
     
  7. JRoad
    OP

    JRoad GBAtemp Advanced Fan

    Member
    7
    May 18, 2018
    Spain
    I'll check myself. Just game + Update or you included dlcs?
    Also do a verify on the final xci. Enter in mode 4, drag the file and choose option 8.
     
  8. EmulateLife

    EmulateLife GBAtemp Psycho!

    Member
    7
    May 30, 2016
    United States
    Just game plus update.
     
  9. Light9384

    Light9384 Member

    Newcomer
    1
    Mar 19, 2018
    United States
    All my cxci come out as ''unknown.xci'' with the latest release. Does anyone know what is causing this ? I am also getting the same error with previous versions (0.89 and 0.83).
     
  10. JRoad
    OP

    JRoad GBAtemp Advanced Fan

    Member
    7
    May 18, 2018
    Spain
    Works fine for me.

    You sure your keys are correct? If they come as unknown is because the program can't read the name from the nacp, the nacp is standard crypto so it seems masterkey related.
    Did you verify your keys with the function in "MODE 0 - CONFIGURATION"? Also did you try to read any file with the info functions?
     
    Light9384 likes this.
  11. Light9384

    Light9384 Member

    Newcomer
    1
    Mar 19, 2018
    United States
    I found what the problem was! Turn out I was missing the last two keys. Thanks. It seems to work well now.
     
  12. markmcrobie

    markmcrobie GBAtemp Advanced Fan

    Member
    5
    May 24, 2008
    I see NBA2K20 is out, and the usual of 7GB game file and 30GB update. Do we still have the limitation of custom XCIs over 32GB not working in SX OS?
     
  13. JRoad
    OP

    JRoad GBAtemp Advanced Fan

    Member
    7
    May 18, 2018
    Spain
    Since i'm around one thing. The nutdb repo changed urls, I thought the program wouldn't write the json if it doesn't find it but it writes one with `400 request error`. I'm working in a future solution but for now i updated the urls and database zip from the release in github.
    So if you ran into issues with game info or renames download the db zip or redownload the x86\x64 or python pack.
    https://github.com/julesontheroad/NSC_BUILDER/releases/tag/v0.90b
    Yep, that one is on SX OS side. They say they would need a 64GB cartridge to give support to that, so maybe at the end of switch live when the chips get cheaper.
    The update for that game is almost 32GB so i don't think it'll work even merging update + base using hactool.
     
    Last edited by JRoad, Sep 7, 2019
  14. markmcrobie

    markmcrobie GBAtemp Advanced Fan

    Member
    5
    May 24, 2008
    Would it be possible to merge into an NSP and install that way?
     
  15. JRoad
    OP

    JRoad GBAtemp Advanced Fan

    Member
    7
    May 18, 2018
    Spain
    Yes, that press no issue. You could install the xci too, what you can't is load it.
    Just remember multi-nsp installs only work with sx rommenu, sx installer, tinfoil.io or lithium. Goldleaf and old Addubz's tinfoil don't support them.
     
  16. markmcrobie

    markmcrobie GBAtemp Advanced Fan

    Member
    5
    May 24, 2008
    Very minor issue: in the text for option 8 of Global Config it says:

    Code:
    This option affects the speed of the process. The ideal buffer depends on
    your system. Deffault is set at 64kB
    "Deffault" is misspelled. Sorry! :D
     
  17. markmcrobie

    markmcrobie GBAtemp Advanced Fan

    Member
    5
    May 24, 2008
    What's a "ticketless" nsp?
     
  18. pokemonlog

    pokemonlog Newbie

    Newcomer
    1
    Sep 7, 2019
    Bulgaria
    City Center
    when I reboot the console it shows me the 1.0.0
     
  19. JRoad
    OP

    JRoad GBAtemp Advanced Fan

    Member
    7
    May 18, 2018
    Spain
    I'll change it later. Funny how it probably has been missed for a long time.
    Ticketless nsp or titlerights-removes are nsps which tickets have been removed. They were useful to avoid some Nintendo telemetry but nowadays if you use one of the 2 emunand systems and block Nintendo servers you don't have to worry about that.

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

    Yeah that happens with some games I think it's the way the loader works. It must install one of the control nca files randomly. Probably can be avoided adding the control nca from the update to the normal partition but didn't have time to test that yet.
     
  20. Puppydogpals

    Puppydogpals GBAtemp Regular

    Member
    5
    Feb 19, 2018
    United Kingdom
    @JRoad

    I tried to turn spyro base and update into a single split xci (4gb sxos option) but switch says cant read cart error.

    Tried it unsplit and work like a charm from external drive. Split this xci using another xci splitter that works.

    The split xci I created using your tool, the 3rd split file is a few bytes short of what it should be for some reason.

    I can show you the files in a screenshot when I get home if that helps.

    Tried using 0.89 and 0.90

    Sent from my SM-G965F using Tapatalk
     
Quick Reply
Draft saved Draft deleted
Loading...