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

  • Thread starter JRoad
  • Start date
  • Views 733,239
  • Replies 2,827
  • Likes 74

markmcrobie

Well-Known Member
Member
Joined
May 24, 2008
Messages
623
Trophies
0
XP
1,247
Another weird error:

Code:
- Calculating base-ids for:
        G:\sxs-batman_the_telltale_series_v196608.nsp
        G:\v-batman_the_telltale_series_shadows_dlc.nsp
        G:\v-battew_v65536.nsp
        G:\games\Batman - The Telltale Series [0100011005D92000] [v65536] (1G+1U).xci
        G:\games\Batman The Enemy Within [0100E6300AA3A000] [v0].xci

- Generating lists:
Traceback (most recent call last):
  File "squirrel.py", line 7972, in <module>
IndexError: list index out of range
[4312] Failed to execute script squirrel
File Not Found

Not sure which file isn't found, the 5 files listed are all definitely there.

UPDATE:

Tried to do the 2 games above separately, and Enemy Within gives this error, same as the error I was getting with Animal Crossing a few posts back:

Code:
Calculating final content:
Filename: Batman The Enemy Within [0100E6300AA3A000] [v0].xci
Exception: object of type 'NoneType' has no len()
 
Last edited by markmcrobie,

Absolute_Vile

Perfect Reploid
Member
Joined
Nov 5, 2015
Messages
338
Trophies
0
Age
37
XP
1,599
Country
Mexico
Dunno, I didn't update to be honest and I've had mine on autopatch for a while or set them with the autoloader. As far as I remember cartridges did mount even if they didn't show the icon. I guess I can update and check this weekend.

Sorry to bother but can you help me with this? i dont know how to fix it
upload_2020-3-23_22-27-25.png
 

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
Squirrel command line help question?

If I want to convert an NSP to XCI with squirrel - how do I do it?

This is what I've tried:

Extract nsp like this: squirrel -x game.nsp

The create a secure folder and put extract nca files into it.

Then: squirrel -b 64 -ifo "C:\game" -fat exfat --create_xci "game.xci"

Squirrel makes the xci but the header is wrong, what am I doing wrong - I don't see any documentation on how to do that?

(also please don't replay with use NSCB files - that's not my aim)
 

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
Australia
@JRoad what your thoughts on collections from 2K coming to switch being over the 32GB limit in size? Maybe it is like metro in that they separated them on the cartridge as well as eshop?

EDIT: if you unsure what i meant with metro when you place the cartridge in the switch it comes up with two titles icons instead of one combine one

thanks
 
Last edited by pcwizard7,

markmcrobie

Well-Known Member
Member
Joined
May 24, 2008
Messages
623
Trophies
0
XP
1,247
@JRoad another error:

Code:
- Calculating base-ids for:
        G:\w-sr4.nsp
        G:\sxs-saints_row_iv_re_elected_v65536.nsp

- Generating lists:
Traceback (most recent call last):
  File "squirrel.py", line 7972, in <module>
IndexError: list index out of range
[3664] Failed to execute script squirrel
File Not Found
 

markmcrobie

Well-Known Member
Member
Joined
May 24, 2008
Messages
623
Trophies
0
XP
1,247
@JRoad got this error trying to incorporate ACNH patch into main XCI:

Code:
Filename: Animal Crossing New Horizons [01006F8002326000] [v0].xci
Exception: object of type 'NoneType' has no len()

This error doesn't happen if I use an update nsp that has been patched for 9.0.

The error DOES happen if I use either the v65536 or v131072 nsp that HASN'T been patched.
 

Zer151

Well-Known Member
Newcomer
Joined
Aug 14, 2015
Messages
51
Trophies
0
Age
38
XP
204
Country
Thailand
Hi thank for your handwork for very useful application.

Now i got a problem when i try to covert few nsz to xci especially the latest release game(95% of my other convert is fine)

its show

Exception: list index out of range
 

markmcrobie

Well-Known Member
Member
Joined
May 24, 2008
Messages
623
Trophies
0
XP
1,247
I get this error when trying to combine Star Wars Jedi Academy nsp + update for it:

Code:
Calculating final content:
Filename: UNKNOWN.xci
        - 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: 1
...................................................
STILL 0 FILES TO PROCESS
...................................................
---------------------------------------------------
*********** ALL FILES WERE PROCESSED! *************
---------------------------------------------------

This appears instantly

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

Get this error trying to process Cooking Mama:

Code:
Exception: object of type 'NoneType' has no len()
DONE
 

markmcrobie

Well-Known Member
Member
Joined
May 24, 2008
Messages
623
Trophies
0
XP
1,247
Oops, ignore my posts about Animal Crossing, Star Wars Jedi Academy and Batman Enemy Within above - despite being 100% sure I had it, I was missing master_key_10 in my keys.txt! Adding it fixed all of these issues :rofl2:
 

Chrisssj2

Well-Known Member
Member
Joined
Feb 12, 2008
Messages
2,705
Trophies
1
XP
4,389
Country
Netherlands
Can't seem to add certain DLC to game. Strangely enough.

http://prntscr.com/rqcjzl

For some reason if you look at the screenshot, starting at Super Smash Bros Ultimate [Challenger Pack 6][01006A800016F007][US][v0].
I had just added the entire list to rebuild the XCI via mode 2. But it only added certain DLC. and it ignored challenger pack 6 to 11.. + ancient fighter custome.
 

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
Australia
Oops, ignore my posts about Animal Crossing, Star Wars Jedi Academy and Batman Enemy Within above - despite being 100% sure I had it, I was missing master_key_10 in my keys.txt! Adding it fixed all of these issues :rofl2:

Thanks, I thought I had master key 10 as well and decided to check and it was missing too lol
 

Plunt

Well-Known Member
Member
Joined
Nov 21, 2010
Messages
204
Trophies
1
Age
39
Location
Ontario
XP
1,475
Country
Canada
My computer recently kicked the bucket, I just got a new laptop up and running. I've installed python 2 and 3, ran the dependency installer from the older builds. Whenever I try to run NSCB_098bx64 I get various python errors.
I'm too well versed in Python, any suggestions.

here's a keys.txt verification for example:

VERIFY KEYS IN KEYS.TXT AGAINST SHA256 HASHES FROM THE CORRECT KEYS
***************************************************************************
Traceback (most recent call last):
File "squirrel.py", line 40, 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\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "lib\sq_tools.py", line 9, 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\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "Fs\__init__.py", line 1, 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\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "Fs\Xci.py", line 2, 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\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "Fs\Hfs0.py", line 13, 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\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "Fs\Nca.py", line 29, 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\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "Fs\pyNCA3.py", line 22, in <module>
File "lib\NXKeys.py", line 37, in __init__
File "lib\NXKeys.py", line 26, in __init__
File "lib\NXKeys.py", line 26, in <dictcomp>
binascii.Error: Odd-length string
[7528] Failed to execute script squirrel
...........................................................................
 

switchisfun

Member
Newcomer
Joined
Nov 30, 2018
Messages
13
Trophies
0
Age
34
XP
92
Country
United States
I am trying to join an xci game file and an update file. I verified them both separately and they both pass verification. However, when I join them one nca near the end seems to always corrupt. What might be causing this issue?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub:
  • Sheeba- @ Sheeba-:
    I can't wait to hack my 11.00 PS4 pro
    Sheeba- @ Sheeba-: I can't wait to hack my 11.00 PS4 pro