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

  • Thread starter JRoad
  • Start date
  • Views 724,639
  • Replies 2,824
  • Likes 74

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
So here we are, Witcher 3 came out and it cant be repacked with its update because it is 31GB with an update!
Yep it goes a little over the limit. The only way would be to merge base+update in hactool, redo the program nca with hacpack, redo the cnmt and pack it back to xci.
Is not worth it really, I would just install the update if you prefer to load the game from a xci.
I wonder if the switch would be able to load a 64GB xci at this point or would need a sdk update, not sure if the ball is on TX roof or Nintendo.
 

huma_dawii

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
3,879
Trophies
1
Age
33
Location
Planet Earth
XP
4,250
Country
United States
Yep it goes a little over the limit. The only way would be to merge base+update in hactool, redo the program nca with hacpack, redo the cnmt and pack it back to xci.
Is not worth it really, I would just install the update if you prefer to load the game from a xci.
I wonder if the switch would be able to load a 64GB xci at this point or would need a sdk update, not sure if the ball is on TX roof or Nintendo.
This might be just the beggining of the 32GB games... We better future proof our tools (?)
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
v0.94 - Improvements in compression support and restore mode:
- Compression\decompression is now tied to the buffer option which reduces hangups in the process
- Decompression is done in a single operation now which makes it faster and enables the progress bar to be equal to the size of the file
- Added verification for nsz compressed files. Notes:
* Level 1 verification runs normally in nca objects
* Level 1 verification works in ncz base games and dlc ncz objects
* In the testing fase a level 1 verifcation failure in a ncz object will prompt to hash the file. This is done to prevent false positives in this fase.
* Ticket verification only works when there is nca with titlerights uncompressed in the nsz if not is ommited
* Level 2 verification works normally as it does in nsp\xci files
* Level 3 verification aka hashing works normally without decompression to the disk
* If all ncz files hash properly the ticket should be ok.
- Added pressets for compression.
* The user is welcomed now with a screen where he can choose to set compression level and threads manually or to use 5 presets. A 6th preset can be setup in the program CONFIGURATION MODE.
- Added file restoration for nsp and xci files as MODE 9. This can undo NSCB operations.
* Can restore headers and detect if original file was xci or nsp
* Can undo titlerights removal, keygeneration changes, RSV changes and isgamecard changes
* Linked account patched restoration is not supported yet
* Basically if a file passes trough NSCB verification it can be restored
Rest of changelog in github

Small Edit:
https://github.com/julesontheroad/NSC_BUILDER/releases/tag/v0.94b
 
Last edited by JRoad, , Reason: Added nsz extension for verification in mode 1

EmulateLife

Well-Known Member
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,888
Country
United States
My Smash Bros Ultimate can't be installed with Tinfoil it says "failed to write header" it was orignially an nsp that I converted to xci like at the beginning of 2019. Is there a way to re-add the header to it?

Edit: I see in the new release it can restore headers how do I do that exactly please?

Edit 2: It says File wasn't modified skipping restoration, but how come it can't write a header in Tinfoil? It says possibly using exfat (I use Fat32) or not enough space (I have 300 gb of space on my sd card)
 
Last edited by EmulateLife,

EmulateLife

Well-Known Member
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,888
Country
United States
"I was mistaken the error is "Failed to write to place holder". Maybe the error is just on Tinfoil's end, but it's only this game and I did once convert it to XCI from NSP using this. Not sure if it's related.
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
"I was mistaken the error is "Failed to write to place holder". Maybe the error is just on Tinfoil's end, but it's only this game and I did once convert it to XCI from NSP using this. Not sure if it's related.
Can you ran the file over the verification? If it says File wasn't modified skipping restoration i'd say the origin was a xci that was converted to xci, if it wasn't there is either a bug there or it should create a nsp with the ticket.
 

18Phoenix

Well-Known Member
Member
Joined
Nov 21, 2005
Messages
766
Trophies
1
XP
2,298
Country
Germany
- Added file restoration for nsp and xci files as MODE 9. This can undo NSCB operations.
* Can restore headers and detect if original file was xci or nsp
* Can undo titlerights removal, keygeneration changes, RSV changes and isgamecard changes
* Linked account patched restoration is not supported yet
* Basically if a file passes trough NSCB verification it can be restored
Is that the solution for the XCI files that didn't work with SX OS 2.9.1 ?
 

EmulateLife

Well-Known Member
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,888
Country
United States
VERIFY A NSP\XCI\NCA
********************************************************
***************
DECRIPTION TEST
***************
01006A800016E000 - Content.PROGRAM
33772dd69ad331de693d936465e2dfce.nca -> is CORRECT
01006A800016E000 - Content.CONTROL
7625c9b0d180e0f0aa0a03199efe733f.nca -> is CORRECT
01006A800016E000 - Content.MANUAL
8fc20639f35fe2b1f32b91dcab8b340e.nca -> is CORRECT
01006A800016E000 - Content.MANUAL
d7b9eee9633612f55037ff0af41a933a.nca -> is CORRECT
01006A800016E000 - Content.META
e75165dafcaa824f6b6014be0df1c85e.cnmt.nca -> is CORRECT
VERDICT: XCI FILE IS CORRECT
***************
SIGNATURE 1 TEST
***************
01006A800016E000 - Content.PROGRAM
> 33772dd69ad331de693d936465e2dfce.nca -> is PROPER
01006A800016E000 - Content.CONTROL
> 7625c9b0d180e0f0aa0a03199efe733f.nca -> is PROPER
01006A800016E000 - Content.MANUAL
> 8fc20639f35fe2b1f32b91dcab8b340e.nca -> is PROPER
01006A800016E000 - Content.MANUAL
> d7b9eee9633612f55037ff0af41a933a.nca -> is PROPER
01006A800016E000 - Content.META
> e75165dafcaa824f6b6014be0df1c85e.cnmt.nca -> is PROPER
VERDICT: XCI FILE IS SAFE

I could be remembering wrong and maybe it was always an XCI, but I can't understand why this is the only game I cannot install. I tried 4 times now same error every time.
 
Last edited by EmulateLife,

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Is that the solution for the XCI files that didn't work with SX OS 2.9.1 ?
No you can just reprocess that to regenerate the header for now.
That option just regenerates the ncas if they were modified by NSCB. The ncas and tickets not the xci header. Basically it can undo a conversion properly (isgamecard), keygeneration changes and rsv changes.
It only supports files that can be verified so not from 4nxci, hacpack, nxdumper if is a GameCard dumped as nsp, etc... since those modify the signature which makes them non restorable.

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

VERIFY A NSP\XCI\NCA
...
That seems to come from a xci, NSCB was restoring the isgamecard already for those files so it's normal that it's ncas aren't detected as modified, verify the hash just in case but i don't get why it won't install with tinfoil.
 

EmulateLife

Well-Known Member
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,888
Country
United States
Hash check two files are corrupt, is it possible to fix that?

HASH TEST
***************
01006A800016E000 - Content.PROGRAM
- File name: 33772dd69ad331de693d936465e2dfce.nca
- SHA256: 33772dd69ad331de693d936465e2dfce6d02c4bd244afa3dd95f3648878910a5
> FILE IS CORRECT
01006A800016E000 - Content.CONTROL
- File name: 7625c9b0d180e0f0aa0a03199efe733f.nca
- SHA256: 243236b0bbc5f34e73da80799ef2080b4e54fd8090c077ecbcf7cd00f60c8ac0
> FILE IS CORRUPT
01006A800016E000 - Content.MANUAL
- File name: 8fc20639f35fe2b1f32b91dcab8b340e.nca
- SHA256: 25a84838bcec40de4abf3f962ed9f670e037df5aaa6af780ed6ecb93dadfc39f
> FILE IS CORRUPT
01006A800016E000 - Content.MANUAL
- File name: d7b9eee9633612f55037ff0af41a933a.nca
- SHA256: d7b9eee9633612f55037ff0af41a933af19af296cf295fca0847305076065f9c
> FILE IS CORRECT
01006A800016E000 - Content.META
- File name: e75165dafcaa824f6b6014be0df1c85e.cnmt.nca
- SHA256: e75165dafcaa824f6b6014be0df1c85e6f6a7ffd23ee4a9724fa2228e7843bd0
> FILE IS CORRECT
VERDICT: XCI FILE IS CORRUPT

I think my external hard drive is corrupting certain files, I have another copy that I'll try to install.
 
Last edited by EmulateLife,

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
I was curious of NSC Builder will implement XCI <=> XCZ Conversion
Yes the superetrim and direct conversion to nsz is pretty much done though I want to do a loseless format that preserve the update partition compressed too.
Also nsz to xci\xcz and viceversa will be done. The verification development for nsz postponed it a little but is on it's way.
 

pcwizard7

Well-Known Member
Member
Joined
Aug 2, 2013
Messages
1,409
Trophies
0
XP
1,688
Country
Australia
there are 64gb cartridges that exist but no one has used them which is why there prob not in the SDK but if the developer requested it they could do it .

Is there a way to use nsc to check a dir of xcis if they can benefit from trimming them and apply it if needed
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    In modern standards
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, then why mine can't?
  • BigOnYa @ BigOnYa:
    @K3Nv2 What is nps you mentioned?
  • K3Nv2 @ K3Nv2:
    Because your pc has a hamster innit
    +3
  • BakerMan @ BakerMan:
    R.I.P. LittleBigPlanet PS3 servers
  • BakerMan @ BakerMan:
    LBP2 still the goat tho
  • K3Nv2 @ K3Nv2:
    That can be played on ps5 iirc
  • BigOnYa @ BigOnYa:
    I'm surprised any PS3 servers are still up, tbh
  • K3Nv2 @ K3Nv2:
    Alot of manufactures do care about older consoles they just want to whine about piracy
    +2
  • S @ salazarcosplay:
    @BigOnYa I had 4.89 hfw on super slim that was great, but when I got a new hard disk I forgot where the guide was and could only find a guide for 4.90 and its resources
  • S @ salazarcosplay:
    @BigOnYa I think another reason to want to update is if the hfw is at the level of the fw
  • S @ salazarcosplay:
    you can sync trophies
  • BigOnYa @ BigOnYa:
    Yea that's what I'm sitting on now- 4.9, and it seems fine, have had no issues at all
  • S @ salazarcosplay:
    I don't know if people play online or such
  • K3Nv2 @ K3Nv2:
    My ps3 short circuited during a deep clean still salty about it after downloading 2tbs worth but SteamDeck okay with emulation still just can't run mgs4 worth shit
  • BigOnYa @ BigOnYa:
    Yea forgot bout trophies. They just silly to me. Just like the xbox achievements. Hey, to each they own tho.
  • K3Nv2 @ K3Nv2:
    It keeps players in touch with the game like a check list of things to do after they beat it
  • S @ salazarcosplay:
    @BigOnYa they ruined the gaming experience for me to be honest
  • S @ salazarcosplay:
    @BigOnYa Im not crazy about getting all of them, i feel like I have something to show for for the time put in
  • S @ salazarcosplay:
    @BigOnYa If you want to do rgh or 360 mod
  • S @ salazarcosplay:
    does it matter if you update your 360 or not before trying is it advisable or not
  • BigOnYa @ BigOnYa:
    Yea I don't pay attention to them really. Or do I try to 100% a game. I just play till story ends/ or I get the girl!
  • K3Nv2 @ K3Nv2:
    Bigonya uses his wiener to mod 360s
    +1
  • Xdqwerty @ Xdqwerty:
    Going to the water park, see ya
  • BigOnYa @ BigOnYa:
    You should update the 360 to newest dash before RGHing it yes. But not a big deal if you don't, you can install new dash/avatar updates after. It's just easier to do it auto before, instead manual offline after.
    BigOnYa @ BigOnYa: You should update the 360 to newest dash before RGHing it yes. But not a big deal if you don't...