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

  • Thread starter JRoad
  • Start date
  • Views 731,353
  • Replies 2,826
  • Likes 74

Juanpalomo88

New Member
Newbie
Joined
Feb 4, 2020
Messages
1
Trophies
0
Age
36
XP
32
Country
Venezuela
Hi there! i don't know why but Im having several issues with more less the shame files. "NSZ".
I'm trying to covert into an XCI file, but it allways shows the shame message:

Exception: Not a valid PFS0 partition b'\x00\x00\x00\x00'

What should I do? I have the proper key but I have no idea how to solve it. Thanks!
 

78_Alpha

Member
Newcomer
Joined
Jan 10, 2019
Messages
18
Trophies
0
Age
24
XP
201
Country
United States
Hi there! i don't know why but Im having several issues with more less the shame files. "NSZ".
I'm trying to covert into an XCI file, but it allways shows the shame message:

Exception: Not a valid PFS0 partition b'\x00\x00\x00\x00'

What should I do? I have the proper key but I have no idea how to solve it. Thanks!


Did you decompress them before trying to convert them?
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Hi there! i don't know why but Im having several issues with more less the shame files. "NSZ".
I'm trying to covert into an XCI file, but it allways shows the shame message:

Exception: Not a valid PFS0 partition b'\x00\x00\x00\x00'

What should I do? I have the proper key but I have no idea how to solve it. Thanks!
I'd say the file is bad. A nsp file starts by the magic\word "PFS0", yours apparently starts by "000000" .
You can check with q hex editor if you want.
 

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
Australia
Trying to repack two nsp games to xci files but I get an error

File: The Walking Dead A New Frontier [010056E00B4F4000] [v0].nsp

Error:
Processing: O:\Tools\NSC Builder x64 v0.98b\work\The Walking Dead A New Frontier [010056E00B4F4000] [v0].nsp
Exception: Mismatched masterKeyRevs!

Verify Process
********************************************************
VERIFY A NSP\XCI\NCA
********************************************************
***************
DECRYPTION TEST
***************
010056E00B4F4000 - Content.META
d7561b533475df0c7ef99303c9ae9e84.cnmt.nca -> is CORRECT
010056E00B4F4000 - Content.PROGRAM
6a83dd1b76af2d15a88183215dca31c4.nca -> is CORRECT
010056E00B4F4000 - Content.CONTROL
38068f316346d269cbeb4528b17f3c71.nca -> is CORRECT
010056E00B4F4000 - Content.MANUAL
ef46fa14b4a7eb0b8e6e3a7d1a2cebf9.nca -> is CORRECT
Content.TICKET
010056e00b4f4000000000000000000a.tik -> is CORRECT

VERDICT: NSP FILE IS CORRECT

****************
SIGNATURE 1 TEST
****************
010056E00B4F4000 - Content.PROGRAM
> 6a83dd1b76af2d15a88183215dca31c4.nca -> is PROPER

010056E00B4F4000 - Content.CONTROL
> 38068f316346d269cbeb4528b17f3c71.nca -> is PROPER

010056E00B4F4000 - Content.MANUAL
> ef46fa14b4a7eb0b8e6e3a7d1a2cebf9.nca -> is PROPER

010056E00B4F4000 - Content.META
> d7561b533475df0c7ef99303c9ae9e84.cnmt.nca -> is PROPER

VERDICT: NSP FILE IS SAFE

********************************************************
Do you want to verify the hash of the nca files?
********************************************************
Input "1" to VERIFY hash of files
Input "2" to NOT verify hash of files

Input your answer: 1


***************
HASH TEST
***************
010056E00B4F4000 - Content.META
- File name: d7561b533475df0c7ef99303c9ae9e84.cnmt.nca
- SHA256: d7561b533475df0c7ef99303c9ae9e84c086280d902285bf896cd455fb7406d5
> FILE IS CORRECT

010056E00B4F4000 - Content.PROGRAM
- File name: 6a83dd1b76af2d15a88183215dca31c4.nca
- SHA256: 6a83dd1b76af2d15a88183215dca31c42ef79cdad28c6ee5266d33eb43fa6f77
> FILE IS CORRECT

010056E00B4F4000 - Content.CONTROL
- File name: 38068f316346d269cbeb4528b17f3c71.nca
- SHA256: 38068f316346d269cbeb4528b17f3c7179a545514913dd3b34a9af346e53a659
> FILE IS CORRECT

010056E00B4F4000 - Content.MANUAL
- File name: ef46fa14b4a7eb0b8e6e3a7d1a2cebf9.nca
- SHA256: ef46fa14b4a7eb0b8e6e3a7d1a2cebf9e32e49c0c4445c2e82c23ff2db243e14
> FILE IS CORRECT

VERDICT: NSP FILE IS CORRECT


File: The Walking Dead Season Two [010099100B6AC000] [v0].nsp

Error
Processing: O:\Tools\NSC Builder x64 v0.98b\work\The Walking Dead Season Two [010099100B6AC000] [v0].nsp
Exception: Mismatched masterKeyRevs!

Verify Process
********************************************************
VERIFY A NSP\XCI\NCA
********************************************************
***************
DECRYPTION TEST
***************
010099100B6AC000 - Content.META
3042fe2e2337d796f606d7eab41528b9.cnmt.nca -> is CORRECT
010099100B6AC000 - Content.PROGRAM
1430c5d5005385a09ce58e717985841c.nca -> is CORRECT
010099100B6AC000 - Content.CONTROL
afa1f26e4da27a54abb0ae6f4237b5d9.nca -> is CORRECT
010099100B6AC000 - Content.MANUAL
e8c3cfadc69eca4337bc8c4c18ef4d1b.nca -> is CORRECT
Content.TICKET
010099100b6ac000000000000000000a.tik -> is CORRECT

VERDICT: NSP FILE IS CORRECT

****************
SIGNATURE 1 TEST
****************
010099100B6AC000 - Content.PROGRAM
> 1430c5d5005385a09ce58e717985841c.nca -> is PROPER

010099100B6AC000 - Content.CONTROL
> afa1f26e4da27a54abb0ae6f4237b5d9.nca -> is PROPER

010099100B6AC000 - Content.MANUAL
> e8c3cfadc69eca4337bc8c4c18ef4d1b.nca -> is PROPER

010099100B6AC000 - Content.META
> 3042fe2e2337d796f606d7eab41528b9.cnmt.nca -> is PROPER

VERDICT: NSP FILE IS SAFE

********************************************************
Do you want to verify the hash of the nca files?
********************************************************
Input "1" to VERIFY hash of files
Input "2" to NOT verify hash of files

Input your answer: 1


***************
HASH TEST
***************
010099100B6AC000 - Content.META
- File name: 3042fe2e2337d796f606d7eab41528b9.cnmt.nca
- SHA256: 3042fe2e2337d796f606d7eab41528b9ab8dcd4bdc32c4230271a0cfc6d532ea
> FILE IS CORRECT

010099100B6AC000 - Content.PROGRAM
- File name: 1430c5d5005385a09ce58e717985841c.nca
- SHA256: 1430c5d5005385a09ce58e717985841cd4598201f5e04afa780bb1f47fcc03ef
> FILE IS CORRECT

010099100B6AC000 - Content.CONTROL
- File name: afa1f26e4da27a54abb0ae6f4237b5d9.nca
- SHA256: afa1f26e4da27a54abb0ae6f4237b5d9f9a84be74ec21a3dc5cd34f6d4edd55b
> FILE IS CORRECT

010099100B6AC000 - Content.MANUAL
- File name: e8c3cfadc69eca4337bc8c4c18ef4d1b.nca
- SHA256: e8c3cfadc69eca4337bc8c4c18ef4d1b131ed8553273aa2a99453403a165d88a
> FILE IS CORRECT

VERDICT: NSP FILE IS CORRECT
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Trying to repack two nsp games to xci files but I get an error

File: The Walking Dead A New Frontier [010056E00B4F4000] [v0].nsp

Error:
Processing: O:\Tools\NSC Builder x64 v0.98b\work\The Walking Dead A New Frontier [010056E00B4F4000] [v0].nsp
Exception: Mismatched masterKeyRevs!

Verify Process
********************************************************
VERIFY A NSP\XCI\NCA
********************************************************
***************
DECRYPTION TEST
***************
010056E00B4F4000 - Content.META
d7561b533475df0c7ef99303c9ae9e84.cnmt.nca -> is CORRECT
010056E00B4F4000 - Content.PROGRAM
6a83dd1b76af2d15a88183215dca31c4.nca -> is CORRECT
010056E00B4F4000 - Content.CONTROL
38068f316346d269cbeb4528b17f3c71.nca -> is CORRECT
010056E00B4F4000 - Content.MANUAL
ef46fa14b4a7eb0b8e6e3a7d1a2cebf9.nca -> is CORRECT
Content.TICKET
010056e00b4f4000000000000000000a.tik -> is CORRECT

VERDICT: NSP FILE IS CORRECT

****************
SIGNATURE 1 TEST
****************
010056E00B4F4000 - Content.PROGRAM
> 6a83dd1b76af2d15a88183215dca31c4.nca -> is PROPER

010056E00B4F4000 - Content.CONTROL
> 38068f316346d269cbeb4528b17f3c71.nca -> is PROPER

010056E00B4F4000 - Content.MANUAL
> ef46fa14b4a7eb0b8e6e3a7d1a2cebf9.nca -> is PROPER

010056E00B4F4000 - Content.META
> d7561b533475df0c7ef99303c9ae9e84.cnmt.nca -> is PROPER

VERDICT: NSP FILE IS SAFE

********************************************************
Do you want to verify the hash of the nca files?
********************************************************
Input "1" to VERIFY hash of files
Input "2" to NOT verify hash of files

Input your answer: 1


***************
HASH TEST
***************
010056E00B4F4000 - Content.META
- File name: d7561b533475df0c7ef99303c9ae9e84.cnmt.nca
- SHA256: d7561b533475df0c7ef99303c9ae9e84c086280d902285bf896cd455fb7406d5
> FILE IS CORRECT

010056E00B4F4000 - Content.PROGRAM
- File name: 6a83dd1b76af2d15a88183215dca31c4.nca
- SHA256: 6a83dd1b76af2d15a88183215dca31c42ef79cdad28c6ee5266d33eb43fa6f77
> FILE IS CORRECT

010056E00B4F4000 - Content.CONTROL
- File name: 38068f316346d269cbeb4528b17f3c71.nca
- SHA256: 38068f316346d269cbeb4528b17f3c7179a545514913dd3b34a9af346e53a659
> FILE IS CORRECT

010056E00B4F4000 - Content.MANUAL
- File name: ef46fa14b4a7eb0b8e6e3a7d1a2cebf9.nca
- SHA256: ef46fa14b4a7eb0b8e6e3a7d1a2cebf9e32e49c0c4445c2e82c23ff2db243e14
> FILE IS CORRECT

VERDICT: NSP FILE IS CORRECT


File: The Walking Dead Season Two [010099100B6AC000] [v0].nsp

Error
Processing: O:\Tools\NSC Builder x64 v0.98b\work\The Walking Dead Season Two [010099100B6AC000] [v0].nsp
Exception: Mismatched masterKeyRevs!

Verify Process
********************************************************
VERIFY A NSP\XCI\NCA
********************************************************
***************
DECRYPTION TEST
***************
010099100B6AC000 - Content.META
3042fe2e2337d796f606d7eab41528b9.cnmt.nca -> is CORRECT
010099100B6AC000 - Content.PROGRAM
1430c5d5005385a09ce58e717985841c.nca -> is CORRECT
010099100B6AC000 - Content.CONTROL
afa1f26e4da27a54abb0ae6f4237b5d9.nca -> is CORRECT
010099100B6AC000 - Content.MANUAL
e8c3cfadc69eca4337bc8c4c18ef4d1b.nca -> is CORRECT
Content.TICKET
010099100b6ac000000000000000000a.tik -> is CORRECT

VERDICT: NSP FILE IS CORRECT

****************
SIGNATURE 1 TEST
****************
010099100B6AC000 - Content.PROGRAM
> 1430c5d5005385a09ce58e717985841c.nca -> is PROPER

010099100B6AC000 - Content.CONTROL
> afa1f26e4da27a54abb0ae6f4237b5d9.nca -> is PROPER

010099100B6AC000 - Content.MANUAL
> e8c3cfadc69eca4337bc8c4c18ef4d1b.nca -> is PROPER

010099100B6AC000 - Content.META
> 3042fe2e2337d796f606d7eab41528b9.cnmt.nca -> is PROPER

VERDICT: NSP FILE IS SAFE

********************************************************
Do you want to verify the hash of the nca files?
********************************************************
Input "1" to VERIFY hash of files
Input "2" to NOT verify hash of files

Input your answer: 1


***************
HASH TEST
***************
010099100B6AC000 - Content.META
- File name: 3042fe2e2337d796f606d7eab41528b9.cnmt.nca
- SHA256: 3042fe2e2337d796f606d7eab41528b9ab8dcd4bdc32c4230271a0cfc6d532ea
> FILE IS CORRECT

010099100B6AC000 - Content.PROGRAM
- File name: 1430c5d5005385a09ce58e717985841c.nca
- SHA256: 1430c5d5005385a09ce58e717985841cd4598201f5e04afa780bb1f47fcc03ef
> FILE IS CORRECT

010099100B6AC000 - Content.CONTROL
- File name: afa1f26e4da27a54abb0ae6f4237b5d9.nca
- SHA256: afa1f26e4da27a54abb0ae6f4237b5d9f9a84be74ec21a3dc5cd34f6d4edd55b
> FILE IS CORRECT

010099100B6AC000 - Content.MANUAL
- File name: e8c3cfadc69eca4337bc8c4c18ef4d1b.nca
- SHA256: e8c3cfadc69eca4337bc8c4c18ef4d1b131ed8553273aa2a99453403a165d88a
> FILE IS CORRECT

VERDICT: NSP FILE IS CORRECT
That normally means the masterkey in the ticket doesn't match the one in the files. I'll check when I can, it can be related to how it was dumped.
Worse scenario I could change that check to a "warn'.
 

morvoran

President-Elect
Member
Joined
Dec 19, 2010
Messages
1,032
Trophies
0
Location
MAGA Country
XP
2,358
Country
United States
Trying to repack two nsp games to xci files but I get an error

That normally means the masterkey in the ticket doesn't match the one in the files. I'll check when I can, it can be related to how it was dumped.
Worse scenario I could change that check to a "warn'.

If you haven't already found the solution, the issue is that the nsp's are compilations games. This means they contain files from multiple games (in this case, main game with DLC files). This is why you are getting the mismatched masterkey as different game files require different masterkey revisions. I had the same problem when I tried to convert the Trine series collection.

In order for NSC_builder to process them, you have to choose option 2 - multi-pack mode.
 

iTz_Renzokuken

Active Member
Newcomer
Joined
Nov 30, 2018
Messages
35
Trophies
0
Age
34
XP
137
Country
Brazil
installed the 0.98b version, updated the key files, drag and drop a folder to convert nsp to xci, got the following message:
__ _ __ __
____ _____ ____ / /_ __ __(_) /___/ /__ _____
/ __ \/ ___/ ___/ / __ \/ / / / / / __ / _ \/ ___/
/ / / (__ ) /__ / /_/ / /_/ / / / /_/ / __/ /
/_/ /_/____/\___/____/_.___/\__,_/_/_/\__,_/\___/_/
/_____/
-------------------------------------------------------------------------------------
NINTENDO SWITCH CLEANER AND BUILDER
(THE XCI MULTI CONTENT BUILDER AND MORE)
-------------------------------------------------------------------------------------
============================= BY JULESONTHEROAD =============================
-------------------------------------------------------------------------------------
" POWERED BY SQUIRREL "
" BASED ON THE WORK OF BLAWAR AND LUCA FRAGA "
VERSION 0.98 (NEW)
-------------------------------------------------------------------------------------
Program's github: https://github.com/julesontheroad/NSC_BUILDER
Blawar's github: https://github.com/blawar
Blawar's tinfoil: https://github.com/digableinc/tinfoil
Luca Fraga's github: https://github.com/LucaFraga
-------------------------------------------------------------------------------------
--------------------------------------
Auto-Mode. Multi-repacking is set
--------------------------------------
- Generating filelist
DONE
......................................
REPACKING FOLDER CONTENT TO NSP
......................................

......................................
REPACKING FOLDER CONTENT TO XCI
......................................

---------------------------------------------------
*********** ALL FILES WERE PROCESSED! *************
---------------------------------------------------

/@
\ \
___\ \
(__O) \
(____@) \
(____@) \
(__o)_ \
\ \

HOPE YOU HAVE A FUN TIME

Input "0" to go to the mode selection
Input "1" to exit the program

Enter your choice:

but nothing happens, i'm missing something?
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
@iTz_Renzokuken use option 2 but don’t merge them, option 1 is broken atm
Is not broken, it has a check against different masterkey set in the tickets that may need to be removed for official games with several content + tickets I guess, which was your issue apparently reading old messages.
Also he's using the auto mode.
The multi-mode doesn't have that check.

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

installed the 0.98b version, updated the key files, drag and drop a folder to convert nsp to xci, got the following message:
Do you have the program or the folder you're dragging in the desktop? Is what I can think off.
 
Last edited by JRoad,

Zer151

Well-Known Member
Newcomer
Joined
Aug 14, 2015
Messages
51
Trophies
0
Age
38
XP
204
Country
Thailand
hello, thank for made a great tools

I would like to know if i had made custom xci and that game got new update , can I download just update and merge to the previous custom xci? or I need to start from clean xci
 

huma_dawii

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
3,880
Trophies
2
Age
33
Location
Planet Earth
XP
4,270
Country
United States
hello, thank for made a great tools

I would like to know if i had made custom xci and that game got new update , can I download just update and merge to the previous custom xci? or I need to start from clean xci

I start splitting the previous updated XCI to make sure is done right.... But i think you could just update directly
 
  • Like
Reactions: Zer151

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
Australia
hello, thank for made a great tools

I would like to know if i had made custom xci and that game got new update , can I download just update and merge to the previous custom xci? or I need to start from clean xci

you can do this but most people do it from a clean to avoid corruption. I keep my original base files and my custom files and use the base files to make a new one and replace old customs
 
  • Like
Reactions: Zer151

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
Australia
@JRoad I m getting invalid ticket format on few files and i ve force update nut and verify keys

EDIT. and one more invalid for masterkey set

EDIT2. a new error "list index out of range"
 
Last edited by pcwizard7,

Shiesty

Member
Newcomer
Joined
Nov 30, 2017
Messages
18
Trophies
0
Age
37
XP
1,106
Country
Canada
I have been using this program for compression for a while but now I am having problems when making multi-content xci files. The file seems to be put into the temporary work folder and then the file AND folder is immediately deleted after completion. Does anyone know what is going on?
 

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
Australia
I have been using this program for compression for a while but now I am having problems when making multi-content xci files. The file seems to be put into the temporary work folder and then the file AND folder is immediately deleted after completion. Does anyone know what is going on?

something to do with the folder treatment setting in config, reset the settings to default and reconfig how u want again but leave anything to do with work folder alone
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
I have been using this program for compression for a while but now I am having problems when making multi-content xci files. The file seems to be put into the temporary work folder and then the file AND folder is immediately deleted after completion. Does anyone know what is going on?
The program expects the file to get moved properly to the output folder. If that errors for some reason it gets deleted on the cleanup. Not sure why it errors out in your case.
@JRoad I m getting invalid ticket format on few files and i ve force update nut and verify keys

EDIT. and one more invalid for masterkey set

EDIT2. a new error "list index out of range"
The thing there is that I would need to see those tickets. Basically I have to support 2 offsets for the keygeneration on tickets since some programs dumped it incorrectly before. Some dumps deviating from the standards format of tickets doesn't help there I guess but as I said I would need to see those tickets. Are you using the last version? I added something before to be able to support both offsets and some nxdumptool dumps that deviated from the standard dump format.
Basically I would need to see the ticket myself if someone made more changes on it because I don't have access to any dump that doesn't have the standard scene format.
Other way would be to ignore the ticket completely and trust the key is encrypted with the same masterkey as the nca headers which should be true. Alternatively I could make it pass a key verification check and force standardize the ticket to avoid issues.
One issue here is that I don't have time lately but I should at least release something this weekend since I added the RSV for 9.2.0 in the beta and well I also added the ability to show info for xc0, ns0 and 00 splitter files in the interface though is still missing the verification stuff. I'll probably add an option to ignore the ticket keygeneration check.
 
Last edited by JRoad,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: https://www.keepretro.com/products/miyoo-a30