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

morvoran

President-Elect
Member
Joined
Dec 19, 2010
Messages
1,032
Trophies
0
Location
MAGA Country
XP
2,358
Country
United States
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?
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,803
Trophies
1
Age
44
XP
6,571
Country
Germany
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! =)
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
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.
 

MasterJ360

Well-Known Member
Member
Joined
Jan 10, 2016
Messages
2,802
Trophies
1
Age
35
XP
3,463
Country
United States
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

OggieBoogie

Active Member
Newcomer
Joined
Sep 28, 2018
Messages
36
Trophies
0
Age
31
XP
194
Country
Israel
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
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
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.
 

askanison42

Member
Newcomer
Joined
Oct 20, 2018
Messages
8
Trophies
0
Age
47
XP
71
Country
United States
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
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
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 =
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
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.
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
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

Supreme23

Well-Known Member
Member
Joined
Mar 13, 2017
Messages
492
Trophies
0
XP
2,339
Country
United States
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?
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
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

Supreme23

Well-Known Member
Member
Joined
Mar 13, 2017
Messages
492
Trophies
0
XP
2,339
Country
United States
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

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    What a weird game
  • K3Nv2 @ K3Nv2:
    Yeah I wanted to see shards of the titanic
  • 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: https://youtube.com/shorts/2n3nUOadWxM?si=7QMANPmqPdFcdlfm