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

  • Thread starter JRoad
  • Start date
  • Views 730,603
  • Replies 2,826
  • Likes 74

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
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:
nspbe.PNG

With 50465330, that translates as PFS0
 

huma_dawii

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
3,880
Trophies
2
Age
33
Location
Planet Earth
XP
4,268
Country
United States
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.
 

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
Australia
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
 

PsyKos

Active Member
Newcomer
Joined
Dec 5, 2007
Messages
37
Trophies
1
Age
41
Location
France
Website
psykos77.free.fr
XP
486
Country
France
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
    NSC_Builder Error.png
    26.2 KB · Views: 248

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
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
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
@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,

PsyKos

Active Member
Newcomer
Joined
Dec 5, 2007
Messages
37
Trophies
1
Age
41
Location
France
Website
psykos77.free.fr
XP
486
Country
France

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
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.
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
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
 

markmcrobie

Well-Known Member
Member
Joined
May 24, 2008
Messages
623
Trophies
0
XP
1,247
@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
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
@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 ---------------------------

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
Joined
Aug 5, 2019
Messages
20
Trophies
0
Age
36
Location
Indaiatuba, Brasil
XP
122
Country
Brazil
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
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
@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 ---------------------------

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.
 

ganons

Well-Known Member
Member
Joined
Jun 12, 2005
Messages
3,290
Trophies
1
XP
3,101
Country
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?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    ubisoft should #stopkillinggames ngl
  • Badcatalex @ Badcatalex:
    sony should #stopkillinggames
  • Badcatalex @ Badcatalex:
    they killed LittleBigPlanet online, which was the main core of every LBP game
  • BakerMan @ BakerMan:
    for real
  • BakerMan @ BakerMan:
    at least with them, it was because of the DDOS attacks, ubisoft was just scummy
  • BakerMan @ BakerMan:
    fuck ubisoft, and fuck activision
    +1
  • realtimesave @ realtimesave:
    Nintendo needs to release a new console, switch is getting such shitty little games lately lol it's pathetic
  • Purple_Heart @ Purple_Heart:
    Lmao a new flashcart... The Unlock Switch... I knew it's not fake xD
    +1
  • NinStar @ NinStar:
    A new consoles won't solve that problem
  • NinStar @ NinStar:
    It will actually make it worse
  • The Real Jdbye @ The Real Jdbye:
    well actually
    a new console won't do anything right now, because the games are still in development, that's why there are few games being released
  • The Real Jdbye @ The Real Jdbye:
    it won't make the games finish any faster
  • Veho @ Veho:
    2/3rds of launch titles for the Switch 2 will just be lazy ports of Switch games anyway.
  • The Real Jdbye @ The Real Jdbye:
    probably
  • The Real Jdbye @ The Real Jdbye:
    maybe mario kart 9 will be a launch title
  • The Real Jdbye @ The Real Jdbye:
    i really want a new mario kart
  • Veho @ Veho:
    What, you mean the endless stream of DLCs doesn't count?
  • Veho @ Veho:
    Why develop a new game when you can just sell season passes forever?
  • Veho @ Veho:
    I'm still on MKDS so I'm not bothered :tpi:
  • The Real Jdbye @ The Real Jdbye:
    i like the dlc tbh, i'd like a new game more
  • ZeroT21 @ ZeroT21:
    but the current version is still selling fine at full price
  • SylverReZ @ SylverReZ:
    Hello
  • ZeroT21 @ ZeroT21:
    sup
    +1
  • SylverReZ @ SylverReZ:
    @realtimesave, You seen the Unlock Switch flashcart yet?
  • K3Nv2 @ K3Nv2:
    I'll see the 19.0 update that blocks use ability to it
    K3Nv2 @ K3Nv2: I'll see the 19.0 update that blocks use ability to it