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

JRoad

Developer

OP

Developer

Level 9

Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,756
Country
NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci) (2)
  • Jul 31, 2019
  • #1,521

huma_dawii said:

Will re download the update and see what's up

No, i mean with nscb verify function, if it gives an exception you can do a raw extraction and verify the nca independently too. Though that seems to say that the nca header magic is "0000" instead of PFS0, if it's a messed up header it won't be able to verify either, you can see that in hex though:
A nsp begins like this:

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

With 50465330, that translates as PFS0

huma_dawii

Well-Known Member

Member

Level 14

Joined
Apr 3, 2014
Messages
3,881
Trophies
2
Age
33
Location
Planet Earth
XP
4,289
Country
NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci) (5)
  • Jul 31, 2019
  • #1,522

JRoad said:

No, i mean with nscb verify function, if it gives an exception you can do a raw extraction and verify the nca independently too. Though that seems to say that the nca header magic is "0000" instead of PFS0, if it's a messed up header it won't be able to verify either, you can see that in hex though:
A nsp begins like this:
View attachment 174757
With 50465330, that translates as PFS0

I opened the update.nsp in the HxD and it starts with a lot of 0000000 and not like you showed me.

JRoad

Developer

OP

Developer

Level 9

Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,756
Country
NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci) (7)
  • Jul 31, 2019
  • #1,523

huma_dawii said:

I opened the update.nsp in the HxD and it starts with a lot of 0000000 and not like you showed me.

Then it's a bad dump or bad download. The beginning needs to be PFS0.

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

Reactions:

huma_dawii

huma_dawii

Well-Known Member

Member

Level 14

Joined
Apr 3, 2014
Messages
3,881
Trophies
2
Age
33
Location
Planet Earth
XP
4,289
Country
NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci) (10)
  • Jul 31, 2019
  • #1,524

JRoad said:

Then it's a bad dump or bad download. The beginning needs to be PFS0.

I think is a bad dump. I did downloaded it 3 times.

EDIT: Indeed, it was a bad dump! Thanks a lot!

Last edited by huma_dawii,

pcwizard7

Well-Known Member

Member

Level 9

Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci) (12)
  • Aug 1, 2019
  • #1,525

Can someone give description of each special options when using the individual process?
also the wording of each option is very confusing on what it actually does if the next version might benefit from revised wording for each option

thanks

P

PsyKos

Active Member

Newcomer

Level 4

Joined
Dec 5, 2007
Messages
37
Trophies
1
Age
41
Location
France
Website
psykos77.free.fr
XP
486
Country
NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci) (13)
  • Aug 1, 2019
  • #1,526

Hello and thank you for your great program. However, since version 0.88, I am unable to create a multi-content NSP.

I have an error message with any NSP. If I convert to XCI, no problem :


*******************************************************
Processing list [0100FF500E668000].txt
*******************************************************
Calculating final content:
Filename: StandBy [0100FF500E668000] [v65536] (1G+1U)[rr].nsp
- Writing NSP header...
0%| | 0.00/162M [00:00<?, ?B/s]Traceback (most recent call last):
File "squirrel.py", line 3708, in <module>
NameError: name 'outf' is not defined
[708] Failed to execute script squirrel

Thanks for your help.

Attachments

  • NSC_Builder Error.png

    26.2 KB· Views: 253

JRoad

Developer

OP

Developer

Level 9

Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,756
Country
NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci) (16)
  • Aug 1, 2019
  • #1,527

PsyKos said:

Hello and thank you for your great program. However, since version 0.88, I am unable to create a multi-content NSP.

I have an error message with any NSP. If I convert to XCI, no problem :


*******************************************************
Processing list [0100FF500E668000].txt
*******************************************************
Calculating final content:
Filename: StandBy [0100FF500E668000] [v65536] (1G+1U)[rr].nsp
- Writing NSP header...
0%| | 0.00/162M [00:00<?, ?B/s]Traceback (most recent call last):
File "squirrel.py", line 3708, in <module>
NameError: name 'outf' is not defined
[708] Failed to execute script squirrel

Thanks for your help.

I see i don't normally do multi nsps i'll try to identify the error. does it happen with the mode that removes titlerights only or it also happens with the one that leaves the tickets in the nsp?

JRoad

Developer

OP

Developer

Level 9

Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,756
Country
NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci) (18)
  • Aug 1, 2019
  • #1,528

In aswer myself. Is only the ticketless one. The one with tickets work

JRoad

Developer

OP

Developer

Level 9

Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,756
Country
NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci) (20)
  • Aug 1, 2019
  • #1,529

@PsyKos It's fixed now https://github.com/julesontheroad/NSC_BUILDER/releases/tag/v0.89b

@markmcrobie Also for the issue with too many arguments in the command line attached to the release is a "more.com" binarie. I was told the reason is that your more.com binary in windows root is corrupted if you have the bugm the fix is to download the binary and put it next to NSCB.bat if you see the issue.
The binary is attached to the release.

Note: I'll be out this weekend so if any other fix is needed i'll try to look into that next week.

Last edited by JRoad,

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

Reactions:

markmcrobie and PsyKos

P

PsyKos

Active Member

Newcomer

Level 4

Joined
Dec 5, 2007
Messages
37
Trophies
1
Age
41
Location
France
Website
psykos77.free.fr
XP
486
Country
NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci) (22)
  • Aug 2, 2019
  • #1,530

JRoad

Developer

OP

Developer

Level 9

Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,756
Country
NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci) (24)
  • Aug 2, 2019
  • #1,531

Hmm i guess I had more bugs there then, i only saw the line that seemed wrong and thought that was it. I'm out for the weekend so I won't be able to fix it till monday\sunday though.

huma_dawii

Well-Known Member

Member

Level 14

Joined
Apr 3, 2014
Messages
3,881
Trophies
2
Age
33
Location
Planet Earth
XP
4,289
Country
NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci) (26)
  • Aug 2, 2019
  • #1,532

JRoad said:

Hmm i guess I had more bugs there then, i only saw the line that seemed wrong and thought that was it. I'm out for the weekend so I won't be able to fix it till monday\sunday though.

What version is it? I downloaded one yesterday I thought I worked fine!

JRoad

Developer

OP

Developer

Level 9

Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,756
Country
NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci) (28)
  • Aug 2, 2019
  • #1,533

huma_dawii said:

What version is it? I downloaded one yesterday I thought I worked fine!

Well it's probably the multi nsps without titlerights not fixed with the modification I did if he gets a file smaller than expected.
I just saw a evident error, saw that it was building and thought it was fixed. Since it was late and I knew i was going to be out for the weekend I didn't do the proper checks XD

M

markmcrobie

Well-Known Member

Member

Level 8

Joined
May 24, 2008
Messages
623
Trophies
0
XP
1,247
  • Aug 4, 2019
  • #1,534

@JRoad an error I haven't seen yet:

Code:

Calculating final content:Exception: Not a valid PFS0 partition b''Filename: Mortal Kombat 11 [0100F2200C984000] [v393216] (1G+1U+17D).xci

JRoad

Developer

OP

Developer

Level 9

Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,756
Country
NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci) (30)
  • Aug 4, 2019
  • #1,535

markmcrobie said:

@JRoad an error I haven't seen yet:

Code:

Calculating final content:Exception: Not a valid PFS0 partition b''Filename: Mortal Kombat 11 [0100F2200C984000] [v393216] (1G+1U+17D).xci

Did you check the files? Lately we're seeing some bad updates. Check this message:

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

JRoad said:

No, i mean with nscb verify function, if it gives an exception you can do a raw extraction and verify the nca independently too. Though that seems to say that the nca header magic is "0000" instead of PFS0, if it's a messed up header it won't be able to verify either, you can see that in hex though:
A nsp begins like this:
View attachment 174757
With 50465330, that translates as PFS0

Try to do a verify on all the files, if some reaise that exception the nsp header from that one is messed up. Basically a nsp needs to begin always by the nsp magic (PFS0), the magic is what identifies the type of file.

Last edited by JRoad,

nowpearl

Member

Newcomer

Level 2

Joined
Aug 5, 2019
Messages
20
Trophies
0
Age
36
Location
Indaiatuba, Brasil
XP
122
Country
NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci) (32)
  • Aug 6, 2019
  • #1,536

can someone extract the new update from zelda.

The Legend of Zelda Breath of the Wild [01007EF00011E800] [v1.6.0] [v786432] .nsp

It is possible to use this tool to extract files to use LayeredFS

G

ganons

Well-Known Member

Member

Level 12

Joined
Jun 12, 2005
Messages
3,293
Trophies
1
XP
3,134
Country
NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci) (33)
  • Aug 8, 2019
  • #1,537

@JRoad just a thought but have you considered adding xci trimmer option when rebuilding to xci?

JRoad

Developer

OP

Developer

Level 9

Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,756
Country
NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci) (35)
  • Aug 8, 2019
  • #1,538

ganons said:

@JRoad just a thought but have you considered adding xci trimmer option when rebuilding to xci?

Do you mean normal trimmer? I made one the other day, trimmer and untrimmer, is just pending release with the fix for the multi-nsps, probably tomorrow. People are asking me for an option to make copy when you patch the link account stuff so i want to add that before i release the c version.
If you mean supertrimming is done automatically, same as deleting deltas if they exist. The only difference with the supertrimmer is that supertrimmer takes the game-info from the xci instead of generating it randomly and it also respects the certificate if it's present.
But there is currently no option added that keeps the padding on a xci and till I add the normal trimmer no option will keeps the firmware in the firmware partition either.
Currently the only thing that you can set to keep is deltas but they're useless inside of xci files.

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

nowpearl said:

can someone extract the new update from zelda.

The Legend of Zelda Breath of the Wild [01007EF00011E800] [v1.6.0] [v786432] .nsp

It is possible to use this tool to extract files to use LayeredFS

No, currently the extractor doesn't extract updates program nca. The program nca in updates needs the one in the base and uses a table to extract it, i'll make code to do that eventually but i may add an auto config for hactool in the meantime for those cases if there is interest.

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

Reactions:

huma_dawii and nowpearl

G

ganons

Well-Known Member

Member

Level 12

Joined
Jun 12, 2005
Messages
3,293
Trophies
1
XP
3,134
Country
NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci) (37)
  • Aug 8, 2019
  • #1,539

JRoad said:

Do you mean normal trimmer? I made one the other day, trimmer and untrimmer, is just pending release with the fix for the multi-nsps, probably tomorrow. People are asking me for an option to make copy when you patch the link account stuff so i want to add that before i release the c version.
If you mean supertrimming is done automatically, same as deleting deltas if they exist. The only difference with the supertrimmer is that supertrimmer takes the game-info from the xci instead of generating it randomly and it also respects the certificate if it's present.
But there is currently no option added that keeps the padding on a xci and till I add the normal trimmer no option will keeps the firmware in the firmware partition either.
Currently the only thing that you can set to keep is deltas but they're useless inside of xci files.

Didnt know there was a super trimmer already. Does trim the same stuff XCI trimmer does? Having said just rebuilt MK8 (personal dump, not trimmed) Deluxe with 1.7.1 as xci and the output is smaller yhan the base game. Is that right?

G

ganons

Well-Known Member

Member

Level 12

Joined
Jun 12, 2005
Messages
3,293
Trophies
1
XP
3,134
Country
NSC_Builder. Nintendo Switch Cleaner and Builder. (Game+updates+dlc in a single xci) (38)
  • Aug 8, 2019
  • #1,540

Also would when adding an update, can a US update work with PAL base game?

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

FAQs

What is nsc_builder? ›

Nintendo Switch Cleaner and Builder. A batchfile, python and html script based in hacbuild and Nut's python libraries.

What is NSP XCI? ›

Basically XCI is the format in which the game is stored on game cartridges and NSP is the format of games installed from the E-Shop but it will work exactly the same on a real switch.

Do Nintendo Switch games update? ›

When the Nintendo Switch console is connected to the internet, if a software update is available you will be prompted to download it upon starting the game or application. Software updates can be automatically downloaded and installed by enabling "Automatic Software Updates" from "System" in System Settings.

How to install nsp update or DLC? ›

How to Install NSP Update or DLC on Yuzu
  1. Open the Yuzu Emulator and click on “File,” then select “Install Files to NAND…“
  2. Navigate to the location where you have stored the NSP update or DLC file.
  3. A confirmation popup window will appear. Click “Install” to initiate the installation process.
Apr 13, 2024

What can you do with XCI files? ›

XCI files are specifically designed for use with Nintendo Switch gaming console; can be played on Nintendo Switch using custom firmware called SX OS which can be loaded onto console using Xecuter SX Pro tool. SX OS enables you to play Nintendo Switch homebrew applications and XCI backup files.

Which one is better, NSP or XCI? ›

Are you a cartridge purist, seeking the full experience (and a slightly larger download)? Go for the XCI. But if speed and convenience are your jam, the NSP is your digital download destiny. Remember, this is just the tip of the iceberg (or should we say, the Korok seed?).

What does NSP mean on Nintendo Switch? ›

What is a NSP file? NSP file format is primarily associated with Nintendo Switch console. NSP stands for “Nintendo Submission Package.” It is file format used by Nintendo for distributing and installing games, updates and DLC (Downloadable Content) on Nintendo Switch system.

How to check for corrupt data on Switch? ›

How to check for Corrupt Data
  1. From the HOME Menu, select "System Settings."
  2. Scroll down the options on the left and select “Data Management”
  3. On the right hand side select “Software”, then select the software title you would like to check.
  4. Select “Check for Corrupt Data”

Are Switch game updates stored on cartridge? ›

*Game-related data includes data stored for software updates, etc. (but excludes save data). *1Save data is never stored on game cards, even for games physically supplied on a game card.

Which is smaller, NSP or XCI? ›

So I've acquired an NSP & XCI of Oceanhorn. The XCI is ~2GB. The NSP+Update however, are only ~450MB in total..

What is an NSP? ›

A business entity that provides or sells services such as network access and bandwidth by allowing access into its backbone infrastructure or access to its network access points (NAP), which consequently also means access to the Internet.

What is NSP in Switch ROM? ›

In the red corner, we have the sleek and sophisticated NSP (standing for "Nintendo Switch Package"). Imagine it as a neatly wrapped gift containing all the files a game needs, from its shiny icon to its epic soundtrack. Think updates, DLC, and even eShop downloads – NSP's got your back (or should I say, cartridge?).

What is the difference between NSP and NSZ files? ›

NSP files are standard format for Nintendo Switch game files. They are essentially raw, uncompressed files. NSZ files are compressed versions of Nintendo Switch game files. They are essentially NSP files that have undergone compression to reduce their size.

References

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Ray Christiansen

Last Updated:

Views: 6167

Rating: 4.9 / 5 (69 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Ray Christiansen

Birthday: 1998-05-04

Address: Apt. 814 34339 Sauer Islands, Hirtheville, GA 02446-8771

Phone: +337636892828

Job: Lead Hospitality Designer

Hobby: Urban exploration, Tai chi, Lockpicking, Fashion, Gunsmithing, Pottery, Geocaching

Introduction: My name is Ray Christiansen, I am a fair, good, cute, gentle, vast, glamorous, excited person who loves writing and wants to share my knowledge and understanding with you.