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

  • Thread starter JRoad
  • Start date
  • Views 735,454
  • Replies 2,827
  • Likes 74

Alchemy_Gaming

Active Member
Newcomer
Joined
Mar 11, 2019
Messages
32
Trophies
0
Age
34
XP
228
Country
United States
I'm sorry, I know this question might be an annoying one, but how the hell do I let that squirrel script through my windows firewall? Seems I've tried everything to stop windows and be completely unprotected and vulnerable, but every time I try it gives me the same error:

KeyError: 'key_area_key_application_source'
[36416] Failed to execute script squirrel

I even ran the exe just to tell windows to let it through and I still get the same error. I came a long way just to get the damn keys for this off my 6.2 emuNAND haha, any help would be much appreciated!
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
I'm sorry, I know this question might be an annoying one, but how the hell do I let that squirrel script through my windows firewall? Seems I've tried everything to stop windows and be completely unprotected and vulnerable, but every time I try it gives me the same error:

KeyError: 'key_area_key_application_source'
[36416] Failed to execute script squirrel

I even ran the exe just to tell windows to let it through and I still get the same error. I came a long way just to get the damn keys for this off my 6.2 emuNAND haha, any help would be much appreciated!
XD is telling you that your key_area_application_source key is missing or bad. Do the keys check in the configuration (option 0 at startup)

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

It can also be bad text formatting try to open in notepad and see if the keys are in separate lines
 
Last edited by JRoad,

Alchemy_Gaming

Active Member
Newcomer
Joined
Mar 11, 2019
Messages
32
Trophies
0
Age
34
XP
228
Country
United States
Same error. I only got 77 keys, am I missing a few? It's not you, windows, it's me...

Traceback (most recent call last):
File "squirrel.py", line 38, in <module>
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "C:\Users\W64\AppData\Local\Programs\Python\Python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "lib\sq_tools.py", line 5, in <module>
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "C:\Users\W64\AppData\Local\Programs\Python\Python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "lib\Keys.py", line 94, in <module>
File "lib\Keys.py", line 83, in load
KeyError: 'key_area_key_application_source'
[31824] Failed to execute script squirrel
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
I assumed I had everything I need, I used the Beta 081d 64 bit. Just noticed the stable version, should I be using that?
Edit to answer your question: I don't know.
In ztools there is a template with the keys you need to fill, open your file dumped with lockpick and fill it:
These are needed:
Code:
aes_kek_generation_source =
aes_key_generation_source =
titlekek_source =
key_area_key_application_source =
key_area_key_ocean_source =
key_area_key_system_source =
master_key_00 =
master_key_01 =
master_key_02 =
master_key_03 =
master_key_04 =
master_key_05 =
master_key_06 =
header_key =
This one is optional:
Code:
xci_header_key =
If you have it also add:
Code:
master_key_07 =
 

18Phoenix

Well-Known Member
Member
Joined
Nov 21, 2005
Messages
766
Trophies
1
XP
2,298
Country
Germany
I want to extract the new NES Online Update. It needs FW 7.0.1, so I patched it to 6.2.0 with NSCB v080c.
Starting NCA-NSP-XCI_to_LayeredFS_v1.6 to extract the files, I noticed that there's no tik file left after patching which I need to get the titlekey.
With the key of the unpatched file it doesn't work.
Can someone help? Do I need the new FW 7.x keys to get it work?
Why doesn't it work with the patched file I get from NSCB?
Will there come an extract option for mid-advanced users? X)
 
Last edited by 18Phoenix,

Alchemy_Gaming

Active Member
Newcomer
Joined
Mar 11, 2019
Messages
32
Trophies
0
Age
34
XP
228
Country
United States
In ztools there is a template with the keys you need to fill, open your file dumped with lockpick and fill it:
These are needed:
Code:
aes_kek_generation_source =
aes_key_generation_source =
titlekek_source =
key_area_key_application_source =
key_area_key_ocean_source =
key_area_key_system_source =
master_key_00 =
master_key_01 =
master_key_02 =
master_key_03 =
master_key_04 =
master_key_05 =
master_key_06 =
header_key =
This one is optional:
Code:
xci_header_key =
If you have it also add:
Code:
master_key_07 =

My first mistake was following someone else's tutorial and then coming here without reading through everything from you. Sorry about that, but thanks for your help! I should be all set from here. You won't hear from me until I mess something else up :-P

Update: I wasn't using Lockpick RCM correctly. After getting 126 keys everything worked as intended! Thanks again for the help :)
 
Last edited by Alchemy_Gaming,

18Phoenix

Well-Known Member
Member
Joined
Nov 21, 2005
Messages
766
Trophies
1
XP
2,298
Country
Germany
master_key_07 = would be cool to have :rolleyes:
I'm a sad SXOS user, still waiting for the upcoming update to get them on my own with lockpick.
 
Last edited by 18Phoenix,

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
I want to extract the new NES Online Update. It needs FW 7.0.1, so I patched it to 6.2.0 with NSCB v080c.
Starting NCA-NSP-XCI_to_LayeredFS_v1.6 to extract the files, I noticed that there's no tik file left after patching which I need to get the titlekey.
With the key of the unpatched file it doesn't work.
Can someone help? Do I need the new FW 7.x keys to get it work?
Why doesn't it work with the patched file I get from NSCB?
Will there come an extract option for mid-advanced users? X)
You don't need to input a key to extract nca files after you passed trough NSCB is standard crypto, like a xci. You can read the original titlekey with the database function or "nut info"
The idea of the program is to take away the need of tickets.

In this case it uses masterkey6 (keygeneration7), you don't need to patch it if your objective is to extract, just look for the titlekey with nutdb or extended db or take away the need of it passing it trough the program:
upload_2019-3-12_21-49-37.png


Unless your issue is that you're trying to extract an update without feeding hactool the base nca too, which you need to do.

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

My first mistake was following someone else's tutorial and then coming here without reading through everything from you. Sorry about that, but thanks for your help! I should be all set from here. You won't hear from me until I mess something else up :-P
No problem, we're all here to help ;)
 
  • Like
Reactions: Alchemy_Gaming

18Phoenix

Well-Known Member
Member
Joined
Nov 21, 2005
Messages
766
Trophies
1
XP
2,298
Country
Germany
In this case it uses masterkey6 (keygeneration7), you don't need to patch it if your objective is to extract, just look for the titlekey with nutdb or extended db or take away the need of it passing it trough the program

Yes, it works with the old master key. Thanks.
First I got an error, don't ask me why. Sorry for asking without need :)

But the new update will work on 6.2.0 if I patch it ?
 
Last edited by 18Phoenix,

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Yes, it works with the old master key. Thanks.
First I got an error, don't ask me why. Sorry for asking without need :)

But the new update will work on 6.2.0 if I patch it ?
Yes but you only need to patch it to repack in a xci or if you prefer rommenu to install.
Addubz's tinfoil and goldleaf have an option to ignore the RequiredSystemVersion flag (just the flag, not if the masterkey is higher)
SX Installer, lithium and blawar's tinfoil ignore the RSV flag directly but they won't lower the required masterkey either.
So in this case it can be installed directly in 6.2. If it had keygeneration8 you would've need masterkey7 to lower the RequiredSystemVersion firmware.
 

Reploid

Well-Known Member
Member
Joined
Jan 20, 2010
Messages
2,832
Trophies
2
XP
6,283
Country
Serbia, Republic of
Hm, I've downloaded -Stable: 0.80-c 64bit, but at launch is sayz

POWERED BY SQUIRREL "
" BASED IN THE WORK OF BLAWAR AND LUCA FRAGA "
VERSION 0.80 (BETA)
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Hm, I've downloaded -Stable: 0.80-c 64bit, but at launch is sayz

POWERED BY SQUIRREL "
" BASED IN THE WORK OF BLAWAR AND LUCA FRAGA "
VERSION 0.80 (BETA)
Yeah it was the beta one, I promote it to stable after a month with good results in almost all testers but didn't edit the download files. I'll download it and edit the files to remove the term beta at night.
 

Bebamercurio

New Member
Newbie
Joined
Mar 13, 2019
Messages
2
Trophies
0
Age
40
XP
96
Country
Spain
I really like your amazing work!

I've tested a lot of NSP's and XCI's with multiple combinations (base+upd+dlcs...) and 0 problems. I've tested too the options to low firm required and everything was ok.

Actually testing: 0.80c in w10 x64 pro and 0.79 in win10 home x64.

The only thing I miss is, that once processed splited xci's (xc0,xc1...) I need to rejoin if I want add another update, but is a minor thing.

I only register in GBA to congratulate you for such a useful app and give a little feedback.

Great job!!!!

(Sorry for my awful english!)
 

m4a2t0t

Member
Newcomer
Joined
Feb 25, 2019
Messages
23
Trophies
0
Age
45
XP
197
Country
United States
NSCB_081d_64bits

For some reason .81 d won't accept my key.txt file. It says keys.txt is not correctly pointed or missing.

It is in the folder. I tried the keys.txt I used in .80, I tried prod.keys renamed to key.txt, I tried filling out the key template and nothing works.
 

Alchemy_Gaming

Active Member
Newcomer
Joined
Mar 11, 2019
Messages
32
Trophies
0
Age
34
XP
228
Country
United States
NSCB_081d_64bits

For some reason .81 d won't accept my key.txt file. It says keys.txt is not correctly pointed or missing.

It is in the folder. I tried the keys.txt I used in .80, I tried prod.keys renamed to key.txt, I tried filling out the key template and nothing works.
Did you get ALL of your keys?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    I kept thinking jaws was gonna come up and attack
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
  • K3Nv2 @ K3Nv2:
    Nearly 4 hours without power :(
  • Veho @ Veho:
    SO POWERLESS
  • K3Nv2 @ K3Nv2:
    Tell Kanye I need power
    K3Nv2 @ K3Nv2: Tell Kanye I need power