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

  • Thread starter JRoad
  • Start date
  • Views 734,567
  • Replies 2,827
  • Likes 74

hotdogh2o

Member
Newcomer
Joined
Mar 7, 2015
Messages
10
Trophies
0
Age
47
XP
62
Country
United States
Processing: C:\x64\sample.nsp
Exception: object of type 'NoneType' has no len()

what does this mean when converting an nsp to xci?
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Processing: C:\x64\sample.nsp
Exception: object of type 'NoneType' has no len()

what does this mean when converting an nsp to xci?
That you don't have the needed masterkey, you're catching the second error. The first one says that a masterkey is missing, then it doesn't generate the header in memory, so at the point it measures it's size it says the header doesn't have length.
Anyway, you're missing the needed masterkey, probably master_key_07 or master_key_08. There is a keyss.txt verifier in "Mode 0: Options"
 

hotdogh2o

Member
Newcomer
Joined
Mar 7, 2015
Messages
10
Trophies
0
Age
47
XP
62
Country
United States
That you don't have the needed masterkey, you're catching the second error. The first one says that a masterkey is missing, then it doesn't generate the header in memory, so at the point it measures it's size it says the header doesn't have length.
Anyway, you're missing the needed masterkey, probably master_key_07 or master_key_08. There is a keyss.txt verifier in "Mode 0: Options"

master_key_06 is Missing
master_key_07 is Missing

guess I'm kinda in a jam then, my emunand is 8.0.1 and my orginal nand is 5.1
when I dumped the keys with lockpick_rcm it only dumped keys to 5.1 correct?
 

jeffrey1790

Member
Newcomer
Joined
Jul 31, 2010
Messages
11
Trophies
0
XP
56
Country
United States
master_key_06 is Missing
master_key_07 is Missing

guess I'm kinda in a jam then, my emunand is 8.0.1 and my orginal nand is 5.1
when I dumped the keys with lockpick_rcm it only dumped keys to 5.1 correct?

I was in the same boat. Its against the TOS to post the keys here.... But if you do a quick google search, pastebin has what youre looking for. ;)
 

Redferne

Well-Known Member
Member
Joined
Oct 28, 2015
Messages
845
Trophies
0
XP
1,856
Country
United Kingdom
master_key_06 is Missing
master_key_07 is Missing

guess I'm kinda in a jam then, my emunand is 8.0.1 and my orginal nand is 5.1
when I dumped the keys with lockpick_rcm it only dumped keys to 5.1 correct?
You didn't properly followed the instructions. The latest version of lockpick_rmc can dump all the keys. You'll need a part of Atmosphère.
 

ganons

Well-Known Member
Member
Joined
Jun 12, 2005
Messages
3,291
Trophies
1
XP
3,108
Country
Can this tool be used to 'rebuild' an XCI just to patch the firmware requirement? Play games that require 8.0 on 7.0.1 Switch?
 

hotdogh2o

Member
Newcomer
Joined
Mar 7, 2015
Messages
10
Trophies
0
Age
47
XP
62
Country
United States
You didn't properly followed the instructions. The latest version of lockpick_rmc can dump all the keys. You'll need a part of Atmosphère.
I think my problem was my sysnand is 5.1 and emunand is 8.0.1. so lockpick_rcm is going after the sysnand.
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Can this tool be used to 'rebuild' an XCI just to patch the firmware requirement? Play games that require 8.0 on 7.0.1 Switch?
Yes, it can change the masterkey a game need and the RSV setting, that normally works but if a game has dependencies from the higher firmware it'll error out, it's trial and error.
 

18Phoenix

Well-Known Member
Member
Joined
Nov 21, 2005
Messages
766
Trophies
1
XP
2,298
Country
Germany
@JRoad
If I check my selfmade update NSP with NSCB appears that for the changed nca's:

xxxxxxxxxxxxxxx - Content.PROGRAM / Content.CONTROL
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.nca -> needs RSV check
* CHECKING INTERNAL HASHES
- PFS0 hash is CORRECT
- HASH TABLE hash is CORRECT
- HEADER BLOCK hash is CORRECT
* INTERNAL HASHES MATCH

All seems to be correct. But verifying gives that:

Content.PROGRAM > FILE IS CORRUPT
Content.CONTROL > FILE IS CORRUPT

Is that because I didn't rebuild the Meta.NCA ?
But the NSP itself works fine, so is there a problem at all ?
Or do the sizes not match during the check ? Is that a problem ?
 
Last edited by 18Phoenix,

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
What options should be selected?
When it asks if you want to patch the rsv when processing the file say "yes" and then the keygeneration you want.

@18Phoenix
Those messages are a little wrong in the last version for unlockers and self\made files, it is ok in the beta. Either way:
1.- Test 1 should be ok
2.- Test 2 should say they were tampered with since you can't verify them against Nintendo signature (they weren't signed by Nintendo with it's public key)
3.- Should be ok if the name of the file matches the hash, if it doesn't is ok when it matches the original hash if the "test2" can't verify the file the original hash can't be calculated so yes, even f it works it'll say that. The test is oriented to know if a file came from Nintendo originally and to build a file-restoration function based on it, so depending on what you did with the file it won't be restorable and will fail some of the verifications, yes. Hackpack falls on those grounds.
 

ganons

Well-Known Member
Member
Joined
Jun 12, 2005
Messages
3,291
Trophies
1
XP
3,108
Country
When it asks if you want to patch the rsv when processing the file say "yes" and then the keygeneration you want.

Just tried and got this message
object of type 'NoneType' has no len()
DONE

There is nothing in the output folder. Keys are from 5.0.1 and trying to patch game to to 7.0.1, would that be an issue?

Edit: got newer keys and patched game is working
 
Last edited by ganons,

stehilton94

Well-Known Member
Newcomer
Joined
Aug 29, 2017
Messages
86
Trophies
0
Age
30
XP
312
Country
Ireland
Took me a while to get it working, but just did 20 NSP files in a matter of minutes, mate you have saved me so much time and effort, no one should under appreciate the effort you put into the scene. Thank you
 

stehilton94

Well-Known Member
Newcomer
Joined
Aug 29, 2017
Messages
86
Trophies
0
Age
30
XP
312
Country
Ireland
Alright one little issue I have run into, Mortal Kombat 11 and Rocket League won't turn into XCI, they go from NSP and out put NSP again, any ideas?
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Alright one little issue I have run into, Mortal Kombat 11 and Rocket League won't turn into XCI, they go from NSP and out put NSP again, any ideas?
I put a note like a week ago about Rocket League, both in the first post and in one of the messages:
NOTE: There is a bad update for v1376256 Rocket League, has a bad control nca and I had to do modifications in NSCB to be able to extract the nca files and check the update. The error is at the header level in that nca which impedes the asignation of that file as nca and raises an exception.
If you encounter this issue is related to this. The update is encrypted with keygeneration3\master_key_02. An improvement in the verification will be implemented for these cases.
Dunno about Mortal Kombat. Did you try to verify the files? For rocket league if it's the one i'm thinking about it will error out since one of the nca headers is completely messed up, had to implement a raw_extraction without checks and check each nca by itself to find the bad one which was the control I think.
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
@JRoad any update on this error?
I've never saw that error myself. The way you described it before it seemed to happen when the Coulter pops up so it shouldn't be relevant. I imagine you'd get rid of it if you delete the call to the counter.
But is hard for me to see an errores thst doesn't happen in my computer.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    ZeroT21 @ ZeroT21: horny jail is full la