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

  • Thread starter JRoad
  • Start date
  • Views 729,111
  • Replies 2,826
  • Likes 74

markmcrobie

Well-Known Member
Member
Joined
May 24, 2008
Messages
623
Trophies
0
XP
1,247
@JRoad got these errors in 1.00d, never seen them before:

Code:
- Calculating base-ids for:
        E:\New\Klondike Solitaire [010079D00C8AE000][v0].nsp
Exception: Not a valid PFS0 partition b'\x00\x05\x16\x07'
        E:\New\v-gclub2_endurance_stickers_dlc.nsp
Exception: Not a valid PFS0 partition b'\x00\x05\x16\x07'
        E:\New\v-gear_club_unlimited_2_v786432.nsp
Exception: Not a valid PFS0 partition b'\x00\x05\x16\x07'
        E:\New\v-gclub2_endurance_edition_dlc.nsp
Exception: Not a valid PFS0 partition b'\x00\x05\x16\x07'
        E:\New\v-gclub2_porsche_stickers_dlc.nsp
Exception: Not a valid PFS0 partition b'\x00\x05\x16\x07'
        E:\New\v-gclub2_porsche_edition_dlc.nsp
Exception: Not a valid PFS0 partition b'\x00\x05\x16\x07'
        E:\New\v-gear_club_unlimited_2.xci
Exception: read returned empty 0x7000
        E:\New\Crash Bandicoot N. Sane Trilogy (World) (En,Ja,Fr,De,Es,It).xci
Exception: read returned empty 0x7000
 

syfer

Active Member
Newcomer
Joined
Oct 3, 2019
Messages
26
Trophies
0
Age
36
XP
99
Country
United Kingdom
It seems my dump file must have gotten corrupted as I did another dump and it worked this with 0 error. Anyway loving this epic program. Keep up the good work my first.
 

kickmeh

Well-Known Member
Newcomer
Joined
Jun 16, 2020
Messages
53
Trophies
0
Age
34
XP
302
Country
Switzerland
jroad, is possible on dbi to batch installer (on local file sdcard/fsusb) like on awoo installer??
for pc installer is work fine if batch installer on nscb
 

Moko

Well-Known Member
Member
Joined
Feb 19, 2007
Messages
113
Trophies
1
XP
1,774
Country
Germany
Hi I have big problem with with of my game dumps. You see is nsp and when I try to convert here is the message I see
OSError: Not a valid PFS0 partition b'\x00\x00\x00\x00'

the file is corupted
use a hex editor, look in the file
it should look like this at the beginning:
hex.jpg
 
Last edited by Moko,

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
jroad, is possible on dbi to batch installer (on local file sdcard/fsusb) like on awoo installer??
for pc installer is work fine if batch installer on nscb
Yes, you go to the file explorer, select several games with X and press A to start installation. You can also invert selection with Y, invert is useful, for example if you didn't select a game it will select all installable files, if you selected some it will select the unselected so you can install all with the exception of one or two for example.
I've been quite busy lately but i plan to write some kind of dbi faq eventually since most of it's information is in russian in the 4pda forum.
 
  • Like
Reactions: kickmeh

18Phoenix

Well-Known Member
Member
Joined
Nov 21, 2005
Messages
766
Trophies
1
XP
2,298
Country
Germany
That's strange.
I got the new Super Mario 3D All-Stars XCI and checked it with NSCB including verifying hashes.
The result is that ALL files are corrupt.
So I got the NSP aswell and checked this: all files are correct.
Now I wanted to build a XCI myself out of this NSP with NSCB.
After that I checked the new selfmade XCI file and again all files are corrupt.
What went wrong ?
 
Last edited by 18Phoenix,

markmcrobie

Well-Known Member
Member
Joined
May 24, 2008
Messages
623
Trophies
0
XP
1,247
That's strange.
I got the new Super Mario 3D All-Stars XCI and checked it with NSCB including verifying hashes.
The result is that ALL files are corrupt.
So I got the NSP aswell and checked this: all files are correct.
Now I wanted to build a XCI myself out of this NSP with NSCB.
After that I checked the new selfmade XCI file and again all files are corrupt.
What went wrong ?

I have it, and it loads on 3 of my Switches, all 10.1, all SX OS 3.0.4. Galaxy crashes with error 2002-4153 on all 3 consoles, every time. 64 and Sunshine crash sometimes on all 3 consoles, but with no specific error code.
 

18Phoenix

Well-Known Member
Member
Joined
Nov 21, 2005
Messages
766
Trophies
1
XP
2,298
Country
Germany
I have it, and it loads on 3 of my Switches, all 10.1, all SX OS 3.0.4. Galaxy crashes with error 2002-4153 on all 3 consoles, every time. 64 and Sunshine crash sometimes on all 3 consoles, but with no specific error code.
No, I don't have this problems and I have SXOS 3.0.4 + 10.1.0 aswell.
But I'm never online and always in stealth- and flight-mode.
 
Last edited by 18Phoenix,

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
That's strange.
I got the new Super Mario 3D All-Stars XCI and checked it with NSCB including verifying hashes.
The result is that ALL files are corrupt.
So I got the NSP aswell and checked this: all files are correct.
Now I wanted to build a XCI myself out of this NSP with NSCB.
After that I checked the new selfmade XCI file and again all files are corrupt.
What went wrong ?
Well that's normal. Is either a 4nxci convert or a nxdumptool dump to nsp patching acid, converting it back to xci won't restore the signatures that were broken on the conversion. Then files were rehashed after patching isgamecard and conversion to xci will restore isgamecard when it nows it was patched since what's tested on the hasher is the original hash and current hash it will fail because restoring isgamecard changed the current hash which will be unmatched to filename and original hash can¡t be calculated. i could add 2 more hash checks which will make it pass the hash checks but non unmodified or restorable files were never meant to pass verification outside of level1.

The nsp itself won't pass level2 verification, hashes is a different animal but i don't think that leaked file is archived worthy tbh, i guess is good for people to start reing the files before their preorder come up on the mail or unlocked if digital.
 
Last edited by JRoad,
  • Like
Reactions: 18Phoenix

gartlan

Well-Known Member
Newcomer
Joined
Nov 5, 2002
Messages
47
Trophies
2
XP
871
Country
18Phoenix - Just clarifying the point you made above, about NSCB's testing of the nsp being --> "all files are correct". That message at the end of 'file info' / 'hash testing' does not necessarily mean the file fully passes hash testing. If you review the full report you will see multiple components of the nsp have been modified and are therefore not original!
 
  • Like
Reactions: 18Phoenix

ghostbitxd

Well-Known Member
Newcomer
Joined
May 1, 2020
Messages
78
Trophies
0
Age
40
XP
195
Country
United States
I found this software mainly because I was looking to remove title rights. I see in the description it says:

"Erase titlerights encryption from nsp files"

However, I can't find it anywhere in the program to do this. Where in the menu navigation can I find this option?
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
I found this software mainly because I was looking to remove title rights. I see in the description it says:

"Erase titlerights encryption from nsp files"

However, I can't find it anywhere in the program to do this. Where in the menu navigation can I find this option?
It was it's original feauture so it's on:
Mode 1. Individual mode and after building the list is repack as nsp. That converts normal nsp or nsz to non titlerights ones, xci to nsp and allows changing it's keygeneration\masterkey or rsv.
I think as part of the rework i made it more clear but those changes won't be reflected till i finish the rework branch.

Also if at some point you want to restore the nsp to it's original state mode 9 "File-Restoration" does that. It regenerates the original nca headers, ticket and certs but will only work with files modified with NSCB or restorable, a file is restorable if it passes verification.
 
Last edited by JRoad,
  • Like
Reactions: ghostbitxd

ghostbitxd

Well-Known Member
Newcomer
Joined
May 1, 2020
Messages
78
Trophies
0
Age
40
XP
195
Country
United States
Thanks for clarying that.

One more question I have is I'm trying to simply merge an NSP title file with an NSP update file. From my understanding, I should do the following:

1. Add both NSP files.
2. Choose '1' to start processing list

-- this is where I get confused.

3. Choose '1' to repack list as ticketless NSP.
4. Choose '1' to patch required system version.
5. Choose 'f' to not change the keygeneration.
6. Choose '1' to merge all the files into a single file.

After doing all this, it generates a single NSP file that I can verify via the NSC Builder GUI that it includes the updated NSP (i.e. it shows Multi Content: 1 Game, 1 Update).

However when I go to install this NSP, I get the following error:

Error: 2002-4518 (0x234C02)
Module: File System (2)
Description: Invalid NCA (might mean missing sigpatches or a too low firmware) (4518)

Just for reference, I'm running on FW 10.2.0, Atm 0.14.4, hekate_ctcaer_5.3.3 (all the latest everything). I've also installed the latest sigpatches. Also I have filled out every option in the keys.txt file except the XCI header key.

I feel like I'm doing something wrong in the process of building this final NSP. I'm simply looking to merge an NSP with an update NSP. Mind explaining where in the process I'm mixing things up?
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Thanks for clarying that.

One more question I have is I'm trying to simply merge an NSP title file with an NSP update file. From my understanding, I should do the following:

1. Add both NSP files.
2. Choose '1' to start processing list

-- this is where I get confused.

3. Choose '1' to repack list as ticketless NSP.
4. Choose '1' to patch required system version.
5. Choose 'f' to not change the keygeneration.
6. Choose '1' to merge all the files into a single file.

After doing all this, it generates a single NSP file that I can verify via the NSC Builder GUI that it includes the updated NSP (i.e. it shows Multi Content: 1 Game, 1 Update).

However when I go to install this NSP, I get the following error:

Error: 2002-4518 (0x234C02)
Module: File System (2)
Description: Invalid NCA (might mean missing sigpatches or a too low firmware) (4518)

Just for reference, I'm running on FW 10.2.0, Atm 0.14.4, hekate_ctcaer_5.3.3 (all the latest everything). I've also installed the latest sigpatches. Also I have filled out every option in the keys.txt file except the XCI header key.

I feel like I'm doing something wrong in the process of building this final NSP. I'm simply looking to merge an NSP with an update NSP. Mind explaining where in the process I'm mixing things up?
You're probably missing the acid patches since hekate uses a different type of patches. I normally recommend to use fusee primary as payload either directly or chainloaded in hekate with plain atmosphere and the patches from ibcap.
https://github.com/Atmosphere-NX/At....3-master-28ceedb5+hbl-2.3.4+hbmenu-3.3.0.zip
+ https://gbatemp.net/threads/sigpatches-for-atmosphere-fusee-primary-only.567542/
with https://github.com/Atmosphere-NX/Atmosphere/releases/download/0.14.3/fusee-primary.bin as payload.

If you still want to go the hekate way you need the fss0 patches instead of the normal atmosphere patches.
As I understand these patches where uploaded to use hekate in last atmosphere version:
https://gbatemp.net/threads/sigpatches-for-atmosphere-hekate-fss0-fusee-secondary-only.571543/

Still i would go with the official method to load patches in atmosphere even if it takes 2-3 more seconds to boot.

Ah also goldleaf is currently the only installer incapable to install multicontent nsps, so you can't merge severalal nsp files if you intent to use goldleaf with them . Basically tinfoil, dbi, awoo, rommenu, ... all can install multicontent nsps, xcis, nsz, etc..., goldleaf is the exception right now.

Also if you use the verification method in the batch file that does the 3 levels (including hash) and it verifies completely the file was built fine.
 
Last edited by JRoad,
  • Like
Reactions: ghostbitxd

ghostbitxd

Well-Known Member
Newcomer
Joined
May 1, 2020
Messages
78
Trophies
0
Age
40
XP
195
Country
United States
Unfortunately I'm now getting another error using Awoo/NS-USBloader. Error 0x00234c02. It's a great tool, but at this point, I just keep running into installation issues with converted NSPs. Thank you for your work though!
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Unfortunately I'm now getting another error using Awoo/NS-USBloader. Error 0x00234c02. It's a great tool, but at this point, I just keep running into installation issues with converted NSPs. Thank you for your work though!
I think that's still a patches error. did you try with the fusee primary method?
 

darkseekerliu

Advanced Player
Member
Joined
Jun 13, 2013
Messages
302
Trophies
0
Age
36
Location
Drakonia
XP
715
Country
Brazil
@JRoad can you please help me to figure out what is wrong?

I have always used your tool (NSCB Builder) to build my XCIs - but since
yesterday, I downloaded v.100d-NSCB_100dx64 and look what happens:

please check the video below:



I have already adjusted my firewall to allow NSCB Builder to access
internet. Tried with the internet off, but the results are the same,
no matter what option I use (single mode, multipack mode, etc)...

Hope you can help me out.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Sonic Angel Knight @ Sonic Angel Knight: :ninja: