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

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

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
I double checked the file and found what app could not verified it (failed with "index out of range" during decryption test for Content.PROGRAM).
I think that nsp is fine so it's a bug in nsc builder.
Do you have a time to look at that file?

I've attached url to that file in the post.
It verifies fine on my build. I think you are missing master_key_0a since it uses that masterkey. It can't read the nca properly without it, i know i should add key checks in all functions, but i've been lazy about it.
Anyway it lowers masterkey fine on my computer using the current version, it also verifies fine before and after.
Anyway i think you should delete the text file from the post due to gbatemp rules.
 
  • Like
Reactions: CD-RIPer

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Where do I get xci_header_key if needed? Lockpick_RCM doesn't dump it.
Is optional, if you don't have it erase that line and it'll use one of 2 predone game_infos depending on the file size. The xci_header_key was supplied by BigBlueBox in one of his releases (Nights of Azure 2: Bride of the New Moon), it can normally be found easily in Google searching it's name, though it can't be shared here due to the rules.
 
  • Like
Reactions: SIMOMEGA

Connorsdad

Well-Known Member
Member
Joined
Feb 9, 2017
Messages
159
Trophies
0
Age
57
XP
661
Country
Code:
               ____  _____ ____     / /_  __  __(_) /___/ /__  _____
                / __ \/ ___/ ___/    / __ \/ / / / / / __  / _ \/ ___/
               / / / (__  ) /__     / /_/ / /_/ / / / /_/ /  __/ /
              /_/ /_/____/\___/____/_.___/\__,_/_/_/\__,_/\___/_/
                             /_____/
-------------------------------------------------------------------------------------
                        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
-------------------------------------------------------------------------------------
                   ,;:;;,
                  ;;;;;
          .=',    ;:;;:,
         /_', "=. ';:;:;
         @=:__,  \,;:;:'
           _(\.=  ;:;;'
          `"_(  _/="`
           `"'
Traceback (most recent call last):
  File "squirrel.py", line 3494, in <module>
  File "Fs\Nsp.py", line 98, in __init__
  File "Fs\Pfs0.py", line 26, in __init__
  File "Fs\BaseFs.py", line 42, in __init__
  File "Fs\File.py", line 421, in __init__
  File "Fs\File.py", line 298, in __init__
  File "Fs\File.py", line 32, in __init__
  File "Fs\Nsp.py", line 284, in open
  File "Fs\Pfs0.py", line 70, in open
OSError: Not a valid PFS0 partition b'Date'
[1356] Failed to execute script squirrel
DONE

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

HOPE YOU HAVE A FUN TIME
...................................................
STILL 0 FILES TO PROCESS
...................................................
---------------------------------------------------
*********** ALL FILES WERE PROCESSED! *************
---------------------------------------------------

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

Enter your choice:

Pretty certain I have the latest keys, anyone know the problem please ?
 

Connorsdad

Well-Known Member
Member
Joined
Feb 9, 2017
Messages
159
Trophies
0
Age
57
XP
661
Country
The file is bad. A nsp file starts with the magic "PFS0". In your case the first bytes say "Date" you have a bad file for whatever the reason, anyway you can check that using a hex editor. I believe is probably a messed up download.

Ah, thanks for the speedy reply :)
 

JayMathis

Well-Known Member
Member
Joined
Dec 18, 2019
Messages
348
Trophies
0
Age
42
XP
294
Country
United States
I'm on 9.0.1 and I have up to master keys 10 included, and I just converted Walking Dead New Frontier which came out yesterday from nsp to xci and I get a white screen on the sx os menu. I'm not sure why. Is there even newer keys or something?

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

VERDICT: XCI FILE IS CORRECT

****************
SIGNATURE 1 TEST
****************
010056E00B4F4000 - Content.CONTROL
> 38068f316346d269cbeb4528b17f3c71.nca -> is PROPER

010056E00B4F4000 - Content.PROGRAM
> 6a83dd1b76af2d15a88183215dca31c4.nca -> is PROPER
* TITLERIGHTS WERE REMOVED
* Original titlerights id is : 010056E00B4F4000000000000000000A
* Original titlekey is : B2CD60FE243FFB6FF7DC6D050FF22B32

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

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

VERDICT: XCI FILE IS SAFE
 
Last edited by JayMathis,

JayMathis

Well-Known Member
Member
Joined
Dec 18, 2019
Messages
348
Trophies
0
Age
42
XP
294
Country
United States
I looked up the required firmware for the game and it's 9.01 and that's what I'm on so I have no clue. I tried to shorten the name of the nsp and retried but same results.
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
I looked up the required firmware for the game and it's 9.01 and that's what I'm on so I have no clue. I tried to shorten the name of the nsp and retried but same results.
The file seems fine, yes but make a hash check just in case. Level 2 verification I mostly right but not 100% accuratr since it doesn't test the whole hash.
I'm talking about the verification in the batch, that allows you to verify the hashes after level 2.
 

JayMathis

Well-Known Member
Member
Joined
Dec 18, 2019
Messages
348
Trophies
0
Age
42
XP
294
Country
United States
The file seems fine, yes but make a hash check just in case. Level 2 verification I mostly right but not 100% accuratr since it doesn't test the whole hash.
I'm talking about the verification in the batch, that allows you to verify the hashes after level 2.

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

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

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

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

VERDICT: XCI FILE IS CORRECT



But I also did a firmware verification and it said 9.1 (I guess google had wrong info?) but I am on 9.0.1 and the nsp works fine. Can the XCI require newer firmware than the NSP of the same game?

CONTENT ID: 010056e00b4f4000
-----------------------------
Titleinfo:
- Name: The Walking Dead: A New Frontier
- Editor: Skybound Games
- Display Version: 1.0.3
- Meta SDK version: 10.0.0.0
- Program SDK version: 6.6.0.0
- Supported Languages: US (eng), UK (eng), FR, DE, LAT (spa), SPA, CAD (fr),
POR, RU, TW (ch), CH
- Content type: Base Game or Application
- Version: 0 -> Application (0)

Required Firmware:
Getting NUTDB json "fw"
- Included Firmware: Deleted
- RequiredSystemVersion: 605028352 -> (9.1.0)
- Encryption (keygeneration): 10 -> (9.0.0 - 9.0.1)
- Patchable to: 603979776 -> (9.0.0)

ExeFS Data:
- BuildID8: 580AEA5BE103C1A0
- BuildID: 580AEA5BE103C1A05D1A7BCA4672E8FD

Regardless it seems updating is the only solution so I'll do that.
 
Last edited by JayMathis,

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Ok, we know your issue now. You probably installed it with tinfoil and it lowerewd the masterkey for you is something that it does since some versions ago. You need to say you want to patch the RSV when asked and then lower the masterkey when asked. If you lowered it to 9.0 it should work.
What's happening to you is that your icon is white (I thought you meant screen) that's because the loader can't decrypt the control nca sincere it doesn't have that masterkey.
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
How do I get the GUI to appear? so far I only get the CMD menu.
Is only for fileinfo but it's on interface.bat
You need chrome ore chromium for it or you can use other chromium browser if you add a shortcut file (.lnk) in ztools\Chromium. For the second you need to change the config.
Alternatively it supports slimjet portable or chromium portable if the full portable program is in ztools\chromium.
Anyway the faster is to install chrome or chromium and execute Interface.bat
 
  • Like
Reactions: ioann1s

bostonBC

Well-Known Member
Member
Joined
Aug 17, 2011
Messages
1,304
Trophies
1
XP
1,416
Country
United States
I used the latest version of lockpick to extract the keys from my 9.1.0 system and when verifying keys I get an error verifying just the latest key - all others verify fine...

master_key_10|master_key_0a is Missing

Any ideas on what's causing it?

Just to be clear it did extract key 10...

master_key_0a = 7xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (replaced with x to not display the key here)
 
Last edited by bostonBC,

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
I used the latest version of lockpick to extract the keys from my 9.1.0 system and when verifying keys I get an error verifying just the latest key - all others verify fine...

master_key_10|master_key_0a is Missing

Any ideas on what's causing it?

Just to be clear it did extract key 10...

master_key_0a = 7xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (replaced with x to not display the key here)
I'll check later, to be sure I have the proper hash, though I think I checked before.
I will also try to repaste the key in the template to be sure it doesn't have weird end of lines. Notepad++ shows them if that's the case. Anyway I'll check when o get home.
 
  • Like
Reactions: bostonBC

bostonBC

Well-Known Member
Member
Joined
Aug 17, 2011
Messages
1,304
Trophies
1
XP
1,416
Country
United States
I'll check later, to be sure I have the proper hash, though I think I checked before.
I will also try to repaste the key in the template to be sure it doesn't have weird end of lines. Notepad++ shows them if that's the case. Anyway I'll check when o get home.
Thanks so much, really appreciate it!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: Imma make quesadillas for lunch :D