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,713
  • Replies Replies 2,914
  • Likes Likes 75
I'm still a little unsure if I fully understand the deal with Update deltas about when to keep them, when to remove them, or if I even need to worry about them at all.

From my understanding, you should remove deltas from updates when converting to a multi-pack xci (along with the main game) and keep deltas if I am only removing titlerights from the update nsp and plan to install as an nsp.
Is this correct?

If I were to remove deltas from update 1.0.2 of a game and install it over 1.0.1 already installed on the Switch, will I have both updates taking up space?
For example, update v1.0.1 = 50MB, v1.0.2 = 60MB. If I installed v1.0.2 without deltas, would I end up with 110MB of storage being used or just 60MB?
 
Just to report back: I've did some tests yesterday. I bundled base + update + all 8 DLCs of BlazBlue Cross Tag Battle into one XCI file. Did the same with Pokken.
Base game of BlazBlue was NSP, base of Pokken was XCI.
Both XCIs worked superb with SX OS from a USB flash drive and I was able to backup savegames for both of them afterwards with Checkpoint.
I also used your tool to convert the base game NSP of another new game (BlazBlue Central Fiction) into XCI for SX OS.
Everything was super easy now that I understood how to use your tool.
Thank you so much! =)
 
Yeah if the installer support the use of deltas the old update don't stay on your system. But right now blawar's Tinfoil\SX installer support erasing the "Application Records" individually. If you erase the record for the old update the system will remove the older nca files by itself.
According to goldleaf's laast release it also have that ability though i didn't check it in goldleaf currently.

Thanks for testing with Checkpoint since in the other's day post @MasterJ360 was having issues with it.
 
I'm still a little unsure if I fully understand the deal with Update deltas about when to keep them, when to remove them, or if I even need to worry about them at all.

From my understanding, you should remove deltas from updates when converting to a multi-pack xci (along with the main game) and keep deltas if I am only removing titlerights from the update nsp and plan to install as an nsp.
Is this correct?

If I were to remove deltas from update 1.0.2 of a game and install it over 1.0.1 already installed on the Switch, will I have both updates taking up space?
For example, update v1.0.1 = 50MB, v1.0.2 = 60MB. If I installed v1.0.2 without deltas, would I end up with 110MB of storage being used or just 60MB?
From my experience you have to delete all installed data of a game that you played, before you are able to use the custom xci version the reason is b/c the custom xci will prompt a nag about certain software isn't available which is basically conflicting with already installed updates or a DLC of the said game.
 
  • Like
Reactions: 18Phoenix
i really tried to follow everything but i still get errors. can someone jut upload the folder as it should be with the key files and etc?
thanks
 
i really tried to follow everything but i still get errors. can someone jut upload the folder as it should be with the key files and etc?
thanks
You can't share the keys in gbatemp is against the rules. Copy the log you get in a text file and sent it to me to see what errors are you geting.
 
Love your tool here. hoping to see what my problem is. Tried using this on Final Fantasy IX. got to the end of an XCI build and an error popped up.

NSP HAS TITLERIGHTS AND TICKET EXISTS
rightsId = 0x1007ef00b0940000000000000000007
titleKeyDec = b'e90131d9205a50d367cdcbc118dc3cd7'
masterKeyRev = 0x7
Copying files:

-> Copying: 4f23e2a161ea5612f7bc2b5c9b917593.nca
Removing titlerights for

4f23e2a161ea5612f7bc2b5c9b917593.nca
Writing masterKeyRev for

4f23e2a161ea5612f7bc2b5c9b917593.nca, 7
Exception: object of type 'NoneType' has no len()
-------------------------------
Repacking as xci
-------------------------------
Generating 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
> Appending 0
> Appending 4f23e2a161ea5612f7bc2b5c9b917593.nca
0%| | 63.5k/5.30G

[00:00<21:45, 4.06MB/s]T
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()
[2668] Failed to execute script squirrel
DONE
 
Thanks. Your issue is you're missing the masterkey 6 needed for keygeneration 7 games.

Current required keys are:
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 =

xci_header_key =
 
Forgot to say that xci_header_key is optional is the harder to find so I made code generate generic game_infos in case is missing.
 
Is it unique for every game or that mentioned in the BigBlueBox' .nfo for Nights of Azure 2: Bride of the New Moon?
Is unique for all games. Then you have the IV wich is readable from the cartridge. With the xci_header key + the cartridge IV ou can decrypt or encrypt game-info.

So yeah if you can find that BBB release info you have the xci_header_key.
 
  • Like
Reactions: oji
Anybody else having issues with white blocks on sx os after converting causing the switch to crash upon trying to install or the install failing right at the end?
 
Anybody else having issues with white blocks on sx os after converting causing the switch to crash upon trying to install or the install failing right at the end?
In wich FW version are you? That can be due to the game being encrypted foe a higher version than your system.
Try to give us more data like if you have all the keys from the template filled, what games are you converting, your SX OS version and your system version.
 
Last edited by JRoad,
  • Like
Reactions: Supreme23
In wich FW version are you? That can be due to the game being encrypted foe a higher version than your system.
Try to give us more data like if you have all the keys from the template filled, what games are you converting, your SX OS version and your system version.

SX OS 2.5.3. System 6.2.0

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.
 
Last edited by Supreme23,

Site & Scene News

Popular threads in this forum