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

  • Thread starter Thread starter JRoad
  • Start date Start date
  • Views Views 902,434
  • Replies Replies 2,914
  • Likes Likes 75
Traceback(most recent call last):
File "squirrel.py", line 43, 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\nscb\appdata\local\programs\python\python37\lib\site-packages\PyInstall
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 \nscb\appdata\local\programs\python\python37\lib\site-packages\PyInstall
line 627, in exec module
File "lib/Keys.py", line 139, in <module>
File "lib/Keys.py", line 125, in load
binascii. Error: Odd-Jength string
[22912] Failed to execute script squirrel
 
sorry i did not mean to post multiple times
Post automatically merged:

@silien3
I've got no probs with PBD update 1.1.0 and NSCB:
Code:
********************************************************
SHOW NSZ FILE CONTENT OR XCZ SECURE PARTITION CONTENT
********************************************************
-----------------------------
CONTENT ID: 0100000011d90800
-----------------------------
Titleinfo:
- Name: Pokemon Brilliant Diamond
- Editor: Nintendo
- Display Version: 1.1.0
- Meta SDK version: 13.2.0.0
- Program SDK version: 11.4.6.0
- Supported Languages: US (eng), JP, FR, DE, SPA, IT, KOR, TW (ch), CH
- Content type: Update
- Version: 65536 -> Patch (1)

Required Firmware:
- RequiredSystemVersion: 873463808 -> (13.1.0)
- Encryption (keygeneration): 13 -> UNKNOWN
- Patchable to: 873463808 -> (13.1.0)
......................
NCA FILES (NON DELTAS)
......................
- Program:      5ca2686c25b4b5706175002494b5b408.ncz            Size: 2.42GB
- Control:      786c10d94f53bb02d7186a18447700e0.nca            Size: 898.0KB
- LegalInf:     baf7eca8a28818abbcc600fe055a1163.nca            Size: 242.5KB
- Meta:         e3682694edf91de29ec74bba682a764c.cnmt.nca       Size: 4.0KB
                                                          --------------------
                                                          TOTAL SIZE: 2.42GB
......................
OTHER TYPES OF FILES
......................
- XML:          e3682694edf91de29ec74bba682a764c.cnmt.xml       Size: 1.48KB
- Ticket:       0100000011d90800000000000000000d.tik            Size: 704B
- Cert:         0100000011d90800000000000000000d.cert           Size: 1.75KB
                                                          --------------------
                                                          TOTAL SIZE: 3.92KB
/////////////////////////////////////
   FULL CONTENT TOTAL SIZE: 2.42GB
/////////////////////////////////////
-----------------------------------
FILES NOT LINKED TO CONTENT IN NSP
-----------------------------------
5ca2686c25b4b5706175002494b5b408.ncz                    Size: 1.56GB
5ca2686c25b4b5706175002494b5b408.programinfo.xml                        Size: 14
8.49KB
786c10d94f53bb02d7186a18447700e0.nacp.xml                       Size: 6.78KB
baf7eca8a28818abbcc600fe055a1163.legalinfo.xml                  Size: 2.06KB
                                                          --------------------
                                                          TOTAL SIZE: 1.56GB
have you still got the 1.1.0 patch file? i would love to have it too.
 
Is there a good alternative at this point? I have packed many XCIs and it sometimes:

1. Generates bad XCIs
2. Corrupt XCIs that can be detected on start
3. Corruption that needs the Switch's check corruption to be used

Usually I have to install to check the XCI I generated but I would prefer a tool that converts without introducing issues 1-3.
 
Is there a good alternative at this point? I have packed many XCIs and it sometimes:

1. Generates bad XCIs
2. Corrupt XCIs that can be detected on start
3. Corruption that needs the Switch's check corruption to be used

Usually I have to install to check the XCI I generated but I would prefer a tool that converts without introducing issues 1-3.

Unfortunately no. I've looked everywhere and nothing works. SAK stopped working as well and has been abandoned.


NSC_Builder still works, but has many issues. I've found combining XCI files is swimming in treacherous waters. Splitting SuperXCI files is tempting fate.

SuperNSPs still work for combining, but for splitting SuperNSPs, one needs to use legacy mode.
 
Unfortunately no. I've looked everywhere and nothing works. SAK stopped working as well and has been abandoned.


NSC_Builder still works, but has many issues. I've found combining XCI files is swimming in treacherous waters. Splitting SuperXCI files is tempting fate.

SuperNSPs still work for combining, but for splitting SuperNSPs, one needs to use legacy mode.
Yeah gave up on it too. Ended up just settling for NSP folders. Would be pissed if XCI loading on an hdd would eventually come out again
 
How can i get Interface.bat to show actual informations from ALL my games? It works for some games and for others it doesn't. Sometimes it shows only the game icon, sometimes not even that. Is there something i can do or it's expected for some repacked, converted or less "clean" nsps to behave that way?
 
Last edited by GilFrog,
I was able to make everything work, just needed updated keys.


My only doubt now is how i set a custom compression level? The terminal says to go in config but when i go in the zconfig folder i only find unrelated stuff + NSCB_options.cmd, which seems what i'm looking for but if i open it it closes instantly. How do i do it?
 
how i set a custom compression level
The best is 8: Compression mode > add NSP > 1: Start processing > 1: Compress > 7: Hard (Unthreaded) Level 22 _ no threads.

9: User value is configurable via main menu 0: Configuration mode > 2: Global options > 15 NSZ Compression User Preset > put your level here (19 for example) > put your CPU threads here (4 for example), and press any key to save them.
 
The best is 8: Compression mode > add NSP > 1: Start processing > 1: Compress > 7: Hard (Unthreaded) Level 22 _ no threads.

9: User value is configurable via main menu 0: Configuration mode > 2: Global options > 15 NSZ Compression User Preset > put your level here (19 for example) > put your CPU threads here (4 for example), and press any key to save them.
If you are sure the option 8 (compression level 22) is the best then i'll just do that. But wasn't level 19 the best? Read somewhere else that with a higher level it might be required more than 1 GB of RAM so i can't install in applet mode. As long as i can install nszs through USB it's still good to me tho (always did in applet mode so idk if it's possible)
 
@GilFrog
In "Title mode" even LVL 22 will be fine. :) Level 19 is faster but has lower compress ratio. It's up to you of course. You may even try nsz by nicoboss with it's proper Block Compression Mode w/level 22. It's like lightning super-duper-puper fast, esp. on a modern 8-16-32-64-∞ threaded CPUs. :gun:
 
Last edited by mathew77,
@GilFrog
In "Title mode" even LVL 22 will be fine. :) Level 19 is faster but has lower compress ratio. It's up to you of course. You may even try nsz by nicoboss with it's proper Block Compression Mode w/level 22. It's like lightning super-duper-puper fast, esp. on a modern 8-16-32-64-∞ threaded CPUs. :gun:
My PC is really old but if it's that good i might try the nicoboss converter. Thank you for the infos!
 
  • Like
Reactions: mathew77
How do people install nsz files in docked mode? Do you transfer the files first with DBI or just use an USB A - A cable? DBI transfers are kinda slow but at least i don't have to turn off the console
 
My prod keys isnt working even after renaming it. I used the ryujinx prod keys, the program says that there is a missing file being "leys.txt". Can you help me? I used the NSC builder from julesontheroad.
 
hi all, I've problems merging games+update with maser key 21, someone else ?
Make sure you have the latest prod.keys. I haven't had any issues with MERGING NSPs > SuperNSP (multicontent NSP), but make certain to keep the original backups as when there's new updates you won't be able to update the multicontent NSP w/ NSC_Builder or SAK reliably. You also can't split multicontent NSPs with NSC_Builder. The feature exists in the app, but the files get corrupted. :(

NSC_Builder is the app/script of the century that desperately needs an update
 
  • Like
Reactions: den12534
Make sure you have the latest prod.keys. I haven't had any issues with MERGING NSPs > SuperNSP (multicontent NSP), but make certain to keep the original backups as when there's new updates you won't be able to update the multicontent NSP w/ NSC_Builder or SAK reliably. You also can't split multicontent NSPs with NSC_Builder. The feature exists in the app, but the files get corrupted. :(

NSC_Builder is the app/script of the century that desperately needs an update
Processing list mlist.txt
*******************************************************
Calculating final content:
Exception: list index out of range
Filename: INDIKA [0100DE302439E000] [v0].xci
Exception: list index out of range
- Writing XCI header...
- Writing XCI game info...
- Generating padding...
- Writing XCI certificate...
- Writing ROOT HFS0 header...
- Writing UPDATE partition header...
Calculated multiplier: 1
- Writing NORMAL partition header...
Calculated multiplier: 1
- Writing SECURE partition header...
Calculated multiplier: 2

This is the error I have merging game [v0] and update [V65536] that has master key 21. For sure I have correct keys (no problem using emulator). The problem is only when the update has key 21.
 
It's impossible to merge files NSP or XCI that are using master key 21.0. the error i always
Exception: list index out of range
 

Site & Scene News

Popular threads in this forum