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,692
  • Replies Replies 2,914
  • Likes Likes 75
SX OS 2.5.3. System 6.2.0
Got keys from here:

OEM samsung 256gb microsd fat32, nsp games I've tried to spilt and failed: world of final fantasy maxima, onimusha warlords, ffix, monster hunter generations, and legrand legacy tale of the fatebounds.
Converts and splits the files fine just when I load up the files up in sx os the system crashes when I try to access the homebrew menu or just shows white blocks with unknown developer.
Please edit that link since it's against gbatemp rules. Instead of downloading the keys paste the needed ones in the template. xci_header_key is optional and can be erased, do it if you don't have it.
Comments in the keys file are giving issues to the program so it can be related to that.
Did you try using .ns0, .ns1 format or as archived folder (00, 01)? Also did you tried with splitted xci?
Either way i'll try with some of those games in the format you used as soon as I can.
 
  • Like
Reactions: Supreme23
Please edit that link since it's against gbatemp rules. Instead of downloading the keys paste the needed ones in the template. xci_header_key is optional and can be erased, do it if you don't have it.
Comments in the keys file are giving issues to the program so it can be related to that.
Did you try using .ns0, .ns1 format or as archived folder (00, 01)? Also did you tried with splitted xci?
Either way i'll try with some of those games in the format you used as soon as I can.

Yes I pasted the keys required in the template. Yes I've did the ns0, ns1, ns2 file extension. Haven't tried the splitted xci though. Thanks for trying out those games to see. I've been trying to get this to work for the longest.
 
Yes I pasted the keys required in the template. Yes I've did the ns0, ns1, ns2 file extension. Haven't tried the splitted xci though. Thanks for trying out those games to see. I've been trying to get this to work for the longest.
Try with the folder format too. It's weird since for me ns0, ns1 ... was more compatible than folder format.
 
  • Like
Reactions: Supreme23
So use the NSCB_output folder?
No. That option creates a archive folder called "name.nsp" with 00,01,02.. files inside. It's the archive folder option.

split.PNG
 
  • Like
Reactions: Supreme23
@JRoad is it possible to add a feature that lets you start with split .xc0 files? I love the fact your app can create xc0 etc from an xci file, but it's a pain having to unsplit my xc0 files in another app first if I then want to use your app to apply an update/DLC
 
Cheers every1 :)
Thank you for your absolutely amazing contribution :)

A few questions though:
If I only add base game plus dlcs and have updates already installed, do I need to clean the data for this game too? Or only if I apply updates as well. Into the xci?

Does the Sx cheat data ase still work the same or will the addresses be affected depending on whether I use update from. Xci or update from install?

Thanks in advance and kind regards
 
@JRoad is it possible to add a feature that lets you start with split .xc0 files? I love the fact your app can create xc0 etc from an xci file, but it's a pain having to unsplit my xc0 files in another app first if I then want to use your app to apply an update/DLC
Yes, I planned for that. The thing is i'm pretty much rebuilding the program now so i'm doing several things at the same time but the idea is that split files will be supported by the other functions though I can't give an ETA for that.

Cheers every1 :)
Thank you for your absolutely amazing contribution :)

A few questions though:
If I only add base game plus dlcs and have updates already installed, do I need to clean the data for this game too? Or only if I apply updates as well. Into the xci?

Does the Sx cheat data ase still work the same or will the addresses be affected depending on whether I use update from. Xci or update from install?

Thanks in advance and kind regards
No, you can have updates installed in your system and you can update an xci normally installing updates or new dlc versions in your system. The installed updates always take priority against the ones in the xci wich has some logic.
Take Zelda rev1 game wich is official and has an update, which is old. When the player downloads the update into their system it overwrites the xci update.

When I say overwrite I mean the console calls the files in memory instead of the ones that could be in the xci for the update.

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

You on 2.5.3 as well?
Currently yes. But my tests were done in an older SX OS, don't remember wich one.
 
I keep getting [Errno 22] Invalid argument when trying to pack a update and game together
and this error
Traceback (most recent call last):
File "C:\Users\Tomos\Documents\NSC Builder\ztools\squirrel.py", line 38, in <module>
import Titles
File "lib\Titles.py", line 7, in <module>
import Title
File "lib\Title.py", line 15, in <module>
import Nsps
File "lib\Nsps.py", line 4, in <module>
import Fs
File "C:\Users\Tomos\Documents\NSC Builder\ztools\Fs\__init__.py", line 1, in <module>
from Fs.Xci import Xci
File "C:\Users\Tomos\Documents\NSC Builder\ztools\Fs\Xci.py", line 2, in <module>
from Fs.Hfs0 import Hfs0
File "C:\Users\Tomos\Documents\NSC Builder\ztools\Fs\Hfs0.py", line 10, in <module>
from Fs.Pfs0 import Pfs0
File "C:\Users\Tomos\Documents\NSC Builder\ztools\Fs\Pfs0.py", line 13, in <module>
import Keys
File "lib\Keys.py", line 92, in <module>
load('keys.txt')
File "lib\Keys.py", line 64, in load
for line in f.readlines():
File "C:\Users\Tomos\AppData\Local\Programs\Python\Python37\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x95 in position 83: invalid start byte
DONE

And this error
raceback (most recent call last):
File "squirrel.py", line 2083, in <module>
File "Fs\Xci.py", line 2079, in pack
File "lib\aes128.py", line 312, in __init__
TypeError: object of type 'NoneType' has no len()
[8532] Failed to execute script squirrel
DONE
 
Last edited by Idontknowwhattoputhere,
Bad keys.txt probably because of comment or weird characters. Take the keys_template.txt fill it and rename it.
Just tried it same error

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

Oh and the keys are dumped from my switch not downloaded from the web

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

Its missing a file called dirlist.txt
the main error is
[Errno 22] Invalid argument
and dirlist.txt
 
Last edited by Idontknowwhattoputhere,
No dude, the main error is this one. I know the program and this is always bound to this:
Code:
File "lib\Keys.py", line 64, in load
for line in f.readlines():
File "C:\Users\Tomos\AppData\Local\Programs\Python\Python37\lib\codecs.py", line 322, in decode
So basically program can't decode the keys since they are in bad format or incorrect. So can't decript the nca, nca are not extracted, nothing is directory, that text file is not created, xci can't be created since there isn't anything in folder.
 
Last edited by JRoad,
No dude, the main error is this one. I know the program and this is always bound to this:
Code:
File "lib\Keys.py", line 64, in load
for line in f.readlines():
File "C:\Users\Tomos\AppData\Local\Programs\Python\Python37\lib\codecs.py", line 322, in decode
So basically program can't decode the keys since they are in bad format or incorrect.
So the keys dumped from lockpick are wrong?
I filled them in from the key file lockipick gened
I tried it with multiple text editors
 

Site & Scene News

Popular threads in this forum