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

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

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Another weird bug:

Mass verification using folder, for example, c:\xci\
2 files:
abc.xci
This is name ‘n’ here.xci

There would be an error at verifying "This is name ‘n’ here.xci"
However, if I remove "abc.xci" from the folder and there is only 1 file left, it works.
Hmm so you have abc.xci that makes all verifications fail? It does weird indeed, i'll try to replicate the bug. Any special traits on that file aside of the name?
 

disown

Member
Newcomer
Joined
Jun 22, 2019
Messages
13
Trophies
0
Age
34
XP
143
Country
United States
Hmm so you have abc.xci that makes all verifications fail? It does weird indeed, i'll try to replicate the bug. Any special traits on that file aside of the name?

Nothing special, just the file name.

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

Also, another weird bug:

When verifying individual file:
This is name ‘n’ here.xci = work
This is name ‘n’.xci = not work

It seems like file name handling is a bit buggy.
 
Last edited by disown,

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Nothing special, just the file name.

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

Also, another weird bug:

When verifying individual file:
This is name ‘n’ here.xci = work
This is name ‘n’.xci = not work

It seems like file name handling is a bit buggy.
Wait "n" like a number and "here" after?. I didn't really have issues verifying mine but all are in this format.
name [titleid] [version] (flags if needed).xci more or less.
 

disown

Member
Newcomer
Joined
Jun 22, 2019
Messages
13
Trophies
0
Age
34
XP
143
Country
United States
Wait "n" like a number and "here" after?. I didn't really have issues verifying mine but all are in this format.
name [titleid] [version] (flags if needed).xci more or less.

No number here, the file name has to be exactly
Code:
This is name ‘n’.xci
for it not to work.
 

disown

Member
Newcomer
Joined
Jun 22, 2019
Messages
13
Trophies
0
Age
34
XP
143
Country
United States

sh0wst0pper

Well-Known Member
Newcomer
Joined
Jun 6, 2018
Messages
99
Trophies
0
Age
43
XP
782
Country
United Kingdom
Thank you for this tool!
A couple of questions if someone can help?

  1. Any chance that this can work over a network? All my files are on my server. I tried a symlink but it only seems to like local paths. EDIT - Looks like symlinks do work
  2. What happens if there is another update. Can I just use my new xci (say 1.0.1) and the new update (1.0.2) or do i need the original xci?
Thanks
 
Last edited by sh0wst0pper,

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Thank you for this tool!
A couple of questions if someone can help?

  1. Any chance that this can work over a network? All my files are on my server. I tried a symlink but it only seems to like local paths. EDIT - Looks like symlinks do work
  2. What happens if there is another update. Can I just use my new xci (say 1.0.1) and the new update (1.0.2) or do i need the original xci?
Thanks
1.- Yes, it also works from google drive, etc... If you use rclone mount, raidrive, or google filestream. I actually recommend raidrive since it let's you connect any cound of google drive, ftp, onedrive, box, ... Future native compatibility is also in the works for google drive.
2.- You can just add it using the multi-mode (mode 2) in recent releases, it will detect the newer content from each file to generate the xci. Older releases used an updater mode that is in the legacy section.
 
  • Like
Reactions: sh0wst0pper

sh0wst0pper

Well-Known Member
Newcomer
Joined
Jun 6, 2018
Messages
99
Trophies
0
Age
43
XP
782
Country
United Kingdom
1.- Yes, it also works from google drive, etc... If you use rclone mount, raidrive, or google filestream. I actually recommend raidrive since it let's you connect any cound of google drive, ftp, onedrive, box, ... Future native compatibility is also in the works for google drive.
2.- You can just add it using the multi-mode (mode 2) in recent releases, it will detect the newer content from each file to generate the xci. Older releases used an updater mode that is in the legacy section.

Thanks again.
I actually have the work folder working with a symlink but the output and temp folders dont seem to like it as a symlink. Do i need to repoint these folders somewhere?

Sorry i should try to be more clear.
I have put my xci and and update into a folder call 'Work' on my server and have a symlink to the NSC Builder application on my PC - This works.
However when i run the application the 'NSCB_temp' folder is created on my PC, so the files are being copied across the network. I would like all the work to be done on the server. Is there an option where i can do this?
 
Last edited by sh0wst0pper,

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Thanks again.
I actually have the work folder working with a symlink but the output and temp folders dont seem to like it as a symlink. Do i need to repoint these folders somewhere?

Sorry i should try to be more clear.
I have put my xci and and update into a folder call 'Work' on my server and have a symlink to the NSC Builder application on my PC - This works.
However when i run the application the 'NSCB_temp' folder is created on my PC, so the files are being copied across the network. I would like all the work to be done on the server. Is there an option where i can do this?
You need to change the config and put a full route there:
Like:
::work folder
set "w_folder=NSCB_temp" -> set "w_folder=your route to NSCB_temp"
::output folder
set "fold_output=NSCB_output" -> set "w_folder=your route to NSCB_output"

If that doesn't work fine, Raidrive has an option to mount HDDs from a NAS i don't know if it fits your case but in case it does it may be worth to look into.
https://www.raidrive.com/Download
The free edition seem to work fine. If neither of those work i'll give it a check, though i can't give ETAs currently, since i have several things i'm working on right now.
 
Last edited by JRoad,

sh0wst0pper

Well-Known Member
Newcomer
Joined
Jun 6, 2018
Messages
99
Trophies
0
Age
43
XP
782
Country
United Kingdom
You need to change the config and put a full route there:
Like:
::work folder
set "w_folder=NSCB_temp" -> set "w_folder=your route to NSCB_temp"
::output folder
set "fold_output=NSCB_output" -> set "w_folder=your route to NSCB_output"

If that doesn't work fine, Raidrive has an option to mount HDDs from a NAS i don't know if it fits your case but in case it does it may be worth to look into.
https://www.raidrive.com/Download
The free edition seem to work fine. If neither of those work i'll give it a check, though i can't give ETAs currently, since i have several things i'm working on right now.

Yeah it doesnt like that being a network location. It creates a folder locally. I'll keep tinkering.
 

sh0wst0pper

Well-Known Member
Newcomer
Joined
Jun 6, 2018
Messages
99
Trophies
0
Age
43
XP
782
Country
United Kingdom
Did you try mounting your network drive as a drive in the pc. Or you could try rclone mount since that one let's your content into a pc folder.

Doesnt seem to like it:

::work folder
set "w_folder=Z:\NSCB_temp"
::output folder
set "fold_output=Z:\NSCB_output"


Processing list mlist.txt
*******************************************************
Exception: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'C:\\Source\\NSC Builder\\x64\\Z:'


So looks like it doesnt like anything that isnt in it's root directory.


EDIT - Got it working.
Change NSCB.bat --> Change set "w_folder=%~dp0%w_folder%" to set "w_folder=%w_folder%"
 
Last edited by sh0wst0pper,

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Doesnt seem to like it:

::work folder
set "w_folder=Z:\NSCB_temp"
::output folder
set "fold_output=Z:\NSCB_output"


Processing list mlist.txt
*******************************************************
Exception: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'C:\\Source\\NSC Builder\\x64\\Z:'


So looks like it doesnt like anything that isnt in it's root directory.


EDIT - Got it working.
Change NSCB.bat --> Change set "w_folder=%~dp0%w_folder%" to set "w_folder=%w_folder%"
hmm, when i did it initially it worked like that. It seems at some point i changed it. Thanks for letting me know, i'll correct it.
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
NOTE: There is a bad update for v1376256 Rocket League, has a bad control nca and I had to do modifications in NSCB to be able to extract the nca files and check the update. The error is at the header level in that nca which impedes the asignation of that file as nca and raises an exception.
If you encounter this issue is related to this. The update is encrypted with keygeneration3\master_key_02. An improvement in the verification will be implemented for these cases.
 

DimensioX

Member
Newcomer
Joined
Nov 7, 2018
Messages
15
Trophies
0
Age
25
XP
410
Country
Madagascar
I am trying make xci of attack on titan 2 (split in xc0, xc1...) with 58 DLCs and update, but the program won't recognize the base game, Probably because it's split in xc0?
How do I get the program to detect those files?
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
I am trying make xci of attack on titan 2 (split in xc0, xc1...) with 58 DLCs and update, but the program won't recognize the base game, Probably because it's split in xc0?
How do I get the program to detect those files?
I didn't add support for them yet. Didn't even add the merger I did.
Is possible but just didn't have time for it lately.
Well one of the fixes I planned for next realese is the fat32 on the direct creation mode so I'll see into adding the joiner too. The xc0, ns0 etc can be integrated in all the program functions but requires to add a good chunk of code in my opinion and I have other priorities for now.
 
Last edited by JRoad,

Akumara

Well-Known Member
Member
Joined
Mar 13, 2018
Messages
202
Trophies
0
Age
34
XP
926
Country
Australia
Hi,
So this doesn't work with combining xci+NSP updates if the updates are too large?

I only want to bother to learn how to use this if i can do this, because I want to keep a MK11 XCI sideloaded on my usb and not have it on my emunand.
Thanks!
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Hi,
So this doesn't work with combining xci+NSP updates if the updates are too large?

I only want to bother to learn how to use this if i can do this, because I want to keep a MK11 XCI sideloaded on my usb and not have it on my emunand.
Thanks!
MK11 works since the update without deltas + the basegame will generate a file smaller than 32GB.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: good night