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

  • Thread starter JRoad
  • Start date
  • Views 724,783
  • Replies 2,824
  • Likes 74

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
Australia
Dunno it crashes for me since I updated to 9.01. I can redownload I guess.
[

I don't think it works outside of sxos? were u in atmos?

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

Splitting with out apps work, so the fault is with NSCB.
So I formated my SD card for nothing.
More later, university is calling :)

I think his getting what happen to me but if i combine them first. then patch and split the combined file it work fine. so reset your auto mode and make a non-split version and then patch and split that
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
I don't think it works outside of sxos? were u in atmos?
No, in SX OS. And yes it won't work on Atmos.

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

Splitting with out apps work, so the fault is with NSCB.
So I formated my SD card for nothing.
More later, university is calling :)
Dunno it worked for me when I tried yesterday. Tell me later where the difference lies and I'll check. In NSCB case the splitter is embedded in the process of converting in direct modes, that's why it gave issues before and worked better in the legacy modes, being those nca processed already. Still the games I tested worked fine so no idea if I broke it again in some way.
Still if after joinint back the files they verify fine the splitting should've been ok and it should work, unless is a split size thing but it shouldn't.
 
Last edited by JRoad,

18Phoenix

Well-Known Member
Member
Joined
Nov 21, 2005
Messages
766
Trophies
1
XP
2,298
Country
Germany
For splitting I just set FAT32\EXFAT options (9) to FAT32 for SX OS (2), then I built a split XCI using MULTI-PACK mode (2).
Using the file-joiner (7) results in a bad XCI:
Checking it by verifying shows program and manual nca as modified, hash test says both are corrupt.
Instead of NSCB I tried to split with SAK (never used and heard of before), that has worked fine.
 
Last edited by 18Phoenix,

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Using the file joiner results in a bad XCI. Checking it by verifying shows program and manual nca as modified, hash test says both are corrupt.
OK, it splitted badly then. Tell me one of the games for me to check, is weird because it seems to be making them fine to me.
Also the fat32 splitter works differently in every mode, in legacy ones too. Tell me how you did it:
- Did you used the mode 1 to split a xci?
- Did you use mode 2?
- If you used mode 2 tell me the files you used as input.

Basically all the information you can give me will help me to find the issue at this point.
 

18Phoenix

Well-Known Member
Member
Joined
Nov 21, 2005
Messages
766
Trophies
1
XP
2,298
Country
Germany
OK, it splitted badly then. Tell me one of the games for me to check, is weird because it seems to be making them fine to me.
Also the fat32 splitter works differently in every mode, in legacy ones too. Tell me how you did it:
- Did you used the mode 1 to split a xci?
- Did you use mode 2?
- If you used mode 2 tell me the files you used as input.

Basically all the information you can give me will help me to find the issue at this point.

For splitting I just set FAT32\EXFAT options (9) to FAT32 for SX OS (2), then I built a split XCI using MULTI-PACK mode (2).
My source XCI was Luigi's M3 including the UPD, verified good, built with NSCB.
 
Last edited by 18Phoenix,

Puppydogpals

Well-Known Member
Member
Joined
Feb 19, 2018
Messages
193
Trophies
0
Age
43
XP
1,424
Country
United Kingdom
why would this not verify, is it something to be worried about maybe, could it be because it was a xci converted to an nsp. 3 different nsp from same source (safe source as far as I can tell) report like this


DECRIPTION TEST:

0100DDB00DB38000 - Content.PROGRAM eed3fb1d3d93d4afe28dd5adf9eae3a0.nca -> is CORRECT
0100DDB00DB38000 - Content.CONTROL 9e5d1d81c7ec2d7e5b6245ad0da12799.nca -> is CORRECT
0100DDB00DB38000 - Content.MANUAL 031b99936a3c3950c6d33c94126ba690.nca -> is CORRECT
0100DDB00DB38000 - Content.MANUAL e8ad4e468fa2f44e4ef39f38e542e3f3.nca -> is CORRECT
0100DDB00DB38000 - Content.META 4d7065cae83db4766c44fe6b71e01d13.cnmt.nca -> is CORRECT
VERDICT: NSP FILE IS CORRECT

SIGNATURE 1 TEST:

0100DDB00DB38000 - Content.PROGRAM > eed3fb1d3d93d4afe28dd5adf9eae3a0.nca -> was MODIFIED
* NOT VERIFIABLE!!!

0100DDB00DB38000 - Content.CONTROL > 9e5d1d81c7ec2d7e5b6245ad0da12799.nca -> is PROPER
* ISGAMECARD WAS CHANGED FROM 1 TO 0

0100DDB00DB38000 - Content.MANUAL > 031b99936a3c3950c6d33c94126ba690.nca -> is PROPER
* ISGAMECARD WAS CHANGED FROM 1 TO 0

0100DDB00DB38000 - Content.MANUAL > e8ad4e468fa2f44e4ef39f38e542e3f3.nca -> is PROPER
* ISGAMECARD WAS CHANGED FROM 1 TO 0

0100DDB00DB38000 - Content.META > 4d7065cae83db4766c44fe6b71e01d13.cnmt.nca -> needs RSV check
* CHECKING INTERNAL HASHES
- PFS0 hash is CORRECT -
HASH TABLE hash is CORRECT
- HEADER BLOCK hash is CORRECT
* INTERNAL HASHES MATCH > 4d7065cae83db4766c44fe6b71e01d13.cnmt.nca -> was MODIFIED

* NOT VERIFIABLE!!! VERDICT: NSP FILE COULD'VE BEEN TAMPERED WITH
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
why would this not verify, is it something to be worried about maybe, could it be because it was a xci converted to an nsp. 3 different nsp from same source (safe source as far as I can tell) report like this
4nxci and RenXpack files aren't verifiable\restorable, this is because they change signatures, which is something that was added so acid patches weren't needed. Right now hekate can patch it which was the only cfw payload\booter that didn't enable it, and kosmos recommended patches include that patch, so no need to keep modfying that onfile.
Currently it redoes the signature2 public and private pair. The issue here is you need to redo the internal hashes so the header changes and signature1 won't be able to match with the header.
Signature1 is really important because unlike signature2 that has the public rsa pair you use to verify it stored in the npdm section (which allow to create a new public key) has the ublic key on the switch itself. Also only program ncas has signature2.
Ok so all nca have the signature1. This is a rsa signature which is made with a public and private key pair. The public key is in the console and in NSCB code, this allow to verify the signature. The signature is made using the private key to sign the header, the private key is only known by Nintendo and since is a rsa key you'll need many years or compute power to figure it out.
This means it will tell you if the content is legit since only Nintendo can sign it and any modification will made the signature not to match.
Now how NSCB matches it against it's modifications? Basically i restore the header, i can figure out keygeneration changes, isgamecard changes, titlerights removval, and rsv changes because they're small changes so i can make some iterations to figure out the original state.
That's why it tells you titlerights were removed, keygeneration was changed from A to B, etc... So basically is a way to know your content is fully secure and a way to know is restorable. The restoration mode uses the same concept and restore back the ncas to it's original state.
It will happen the same with unlockers and hacpack ncas since they're files made by the community.
Now it does't mean those files are bricks, just that they can't be verified. If you make them yourself you don't have to worry, same as if you trust who made them but only the first test level will work with them.

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

For splitting I just set FAT32\EXFAT options (9) to FAT32 for SX OS (2), then I built a split XCI using MULTI-PACK mode (2).
My source XCI was Luigi's M3 including the UPD, verified good, built with NSCB.
Ok, i'll test and see what can be the issue. Truth be told multimode is the trickiest for this since it takes several inputs and goes nca by nca, is kinda the function that has more complex code. My guess is the file wasn't properly written at the split point which something that happened before with that function in particular but was supposedly fixed some versions ago. I thought you were splitting already made cxci with the mode 1.
 
Last edited by JRoad,
  • Like
Reactions: Puppydogpals

18Phoenix

Well-Known Member
Member
Joined
Nov 21, 2005
Messages
766
Trophies
1
XP
2,298
Country
Germany
Ok, i'll test and see what can be the issue. Truth be told multimode is the trickiest for this since it takes several inputs and goes nca by nca, is kinda the function that has more complex code. My guess is the file wasn't properly written at the split point which something that happened before with that function in particular but was supposedly fixed some versions ago. I thought you were splitting already made cxci with the mode 1.
No, I always use mode 2. I tried mode 1 now, that works for splitting, yes.
 

18Phoenix

Well-Known Member
Member
Joined
Nov 21, 2005
Messages
766
Trophies
1
XP
2,298
Country
Germany
Mode 1 is usless for me because it keeps UPD & DLCs seperate, that's never wanted for me.
I want to have a joined (incl. UPD + DLCs) AND splitted XCI.
Isn't that possible in one step ? Must I first generate the combined XCI, then splitting it in a second procedure ?
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Mode 1 is usless for me because it keeps UPD & DLCs seperate, that's never wanted for me.
I want to have a joined (incl. UPD + DLCs) AND splitted XCI.
Isn't that possible in one step ? Must I first generate the combined XCI, then splitting it in a second procedure ?
You can try using legacy for now. Was the mode i had set up when someone used fat32.
 

markmcrobie

Well-Known Member
Member
Joined
May 24, 2008
Messages
623
Trophies
0
XP
1,247
Mode 1 is usless for me because it keeps UPD & DLCs seperate, that's never wanted for me.
I want to have a joined (incl. UPD + DLCs) AND splitted XCI.
Isn't that possible in one step ? Must I first generate the combined XCI, then splitting it in a second procedure ?

Yeah I'd like a mode that accepts xc0 > adds updates/dlc > outputs xc0. it's a pain having to manually join xc0, xc1, etc back into xci before running through mode 2
 

Zer151

Well-Known Member
Newcomer
Joined
Aug 14, 2015
Messages
51
Trophies
0
Age
38
XP
204
Country
Thailand
Dunno it crashes for me since I updated to 9.01. I can redownload I guess.

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


That would indicate the files weren't added to your list for some reason I think.


Thank for answer , before I process I have try to check the file list by press command “I” they show the file but it still come out with nothing, sometime it’s produced 2mb.xci
 
Last edited by Zer151,

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Thank for answer , before I process I have try to check the file list by press command “I” they throw the file but it still come out with nothing, sometime it’s produced 2mb.xci
check your keys with the mode 0 "configuration", and be sure you have master_key_09 since games and updates are using it now.
 

Zer151

Well-Known Member
Newcomer
Joined
Aug 14, 2015
Messages
51
Trophies
0
Age
38
XP
204
Country
Thailand
check your keys with the mode 0 "configuration", and be sure you have master_key_09 since games and updates are using it now.
thank again , I’m very newbie to use the program may be is my fault , I just watch the video on YouTube and download everything from them included the key.txt, but I’m actually don’t know where to get the right key.txt with master_key_09 configuration.
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
thank again , I’m very newbie to use the program may be is my fault , I just watch the video on YouTube and download everything from them included the key.txt, but I’m actually don’t know where to get the right key.txt with master_key_09 configuration.
If you're on latest firmware you can use lockpick_rcm. It also works with emunand:
https://github.com/shchmue/Lockpick_RCM/releases
 
  • Like
Reactions: gizmomelb

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    LeoTCK @ LeoTCK: yes for nearly a month i was officially a wanted fugitive, until yesterday when it ended