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

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

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
  • Like
Reactions: darkseekerliu

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
@JRoad, did you aware of latest changes in MTP in the DBI?
Yeah is supported on the beta and master but still adding some changes beofre the next release. I also added a backup saves for only intalled games since dbi supports it now.
Will include the install xci from google drive that was in the beta since a while back too and sd scans are now limited to the folders set in a mtp_xci_locations.txt
Is on a little hold to add a few changes + testing but the DBI >155 part is solved. It will support old and newer versions of dbi.
 
  • Like
Reactions: ber71

kg2

Active Member
Newcomer
Joined
May 15, 2020
Messages
43
Trophies
0
Age
36
XP
505
Country
United States
Hey @JRoad
Huge fan of your work here.
Is it possible to use this tool with Google Drive? Curious if content can be converted directly onto Google drive (xci to nsz, nsz to xci, ect)?
Or must everything be downloaded first, converted, and re-uploaded back onto Google Drive?
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Hey @JRoad
Huge fan of your work here.
Is it possible to use this tool with Google Drive? Curious if content can be converted directly onto Google drive (xci to nsz, nsz to xci, ect)?
Or must everything be downloaded first, converted, and re-uploaded back onto Google Drive?
I plan to add upload options directly onto the google drive api, for downloads the drive mode can download currently single files converted, trimmed, etc... but should be expanded to create multis.
The other system that also works with the program is to use a tool to mount google drive as a system unit, and then it will work as a normal drive, is slower than the api but it works.

My recommended tool for that matter is raidrive https://www.raidrive.com/ but rclone or google filestream will also work.
In my experience rclone requires more tinkering and is a little slower than raidrive and filestream is the faster but you need a gsuite or an organization account (education, company, ...), also filestream tends to make files and flders go over quota because it reads several chunks of data at the same time and those seem to count as a download, is the more seamless though.
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
NSCB 1.01 release with support to DBI>=155 and other stuff.
https://github.com/julesontheroad/NSC_BUILDER/releases/tag/1.01

1. Support for DBI 155 and 156 new mtp setup
2. Added option to backup saves for installed games only
3. Added xci and xcz installation from google drive remotes
4. Added fixed xci location configurations for mtp mode
5. Added option to MTP - AUTOUPDATE DEVICE FROM LIBRARY to check from game registry instead of installed
6. Fix issues installing certain files from google drive because of special characters
7. File Selector now allows to select multiple files at once
8. Added additional information on the "Files" tab on the interface
9. Corrected patched multiprogram files VERIFICATION
10. Ability to not autoupdate DATABASES
11. Other changes and bugfixes.
* Updated keygeneration strings to FW 10.2.0
* Tickets that don't follow the proper standard now issue a warning instead of preventing titlerights removal on some functions.
* Fixed hang on interface when a buildid is not readable on certain situations.
* Added better representation of xci certificates on nut info.
* Faster library calls on python version which should speed up the batch menus.
* Fix for #169 where some language combinations break correct language tag addition due to change on python semantics.
* Other small bugfixes
 
Last edited by JRoad,

xHR

Well-Known Member
Member
Joined
Apr 20, 2013
Messages
125
Trophies
1
Age
36
Website
twitter.com
XP
999
Country
I got this, when trying to registered my GD. Could someone help me please?

upload_2020-10-3_20-44-40.png
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
I got this, when trying to registered my GD. Could someone help me please?

View attachment 226956
I just tested and it's working fine. Did you add the credentials.json to zconfig/credentials?
That json is the one with the data from your own app, the generic one can be gotten here:
https://developers.google.com/drive/api/v3/quickstart/python
1.- You press enable google api:
2.- Add the name for the app you want
3.- Press yes to agree with the google tos
4.- Press next
5.- Select desktop app in type
6.- Press create
7.- Press download client configuration

You'll get a credentials.json you need to add to zconfig/credentials this can be used with different google accounts but is recommended to use it with the one you enabled the api into. If you use it with others you need to accept that the application wasn't send for verification.
If you want to have other credentials.json files it also accept them as remote_name.json. So if you name your remote drive it'll search for drive.json or credentials.json
Then when you register it in configuration the domail will be something like:
https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=XXXXX.........

I think the localhost thing may be due to the json file missing.

Basically that json file represents the app you use to access google drive, is made that way so it's your own app and no one can see your drive statistics or anything. So no issue to repurpuse it on several drive accounts if you want, outside the warning.
The second thing you'll get every time you add a remote is a token. The token is named with the name you input and that name will be like a drive letter in NSCB.
 
Last edited by JRoad,

ressit

Well-Known Member
Member
Joined
Jun 4, 2018
Messages
128
Trophies
0
Age
33
XP
418
Country
Vietnam
DECOMPRESS A NSZ\XCZ
**************************
Decompressing E:\Program Files (x86)\game nintendo sw\Ys Origin [NSZ]\Ys Origin [0100F90010882000][v0] (2.14 GB).nsz
Traceback (most recent call last):
File "squirrel.py", line 2803, in <module>
File "lib\decompressor.py", line 101, in decompress_nsz
File "Fs\Nsp.py", line 9893, in decompress_direct
File "Fs\Nsp.py", line 9693, in get_data_from_cnmt
UnboundLocalError: local variable 'titleid' referenced before assignment
[10256] Failed to execute script squirrel
...................................................
how fix that thanks
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Do you have master_key_0a in your keys.txt inside ztools? Is the one that game uses, it seems it wasn't able to retrieve the data from the cnmt.
Just in case run the keys checker that's on the configuration.
 
  • Like
Reactions: ressit

xHR

Well-Known Member
Member
Joined
Apr 20, 2013
Messages
125
Trophies
1
Age
36
Website
twitter.com
XP
999
Country
Hello! I am trying to get the program to work to download updates from Google Team Drive, but it does not come out yet. One update out of 4 is downloaded, the rest of the program cannot find. There are physically updates on the server, I checked through the web interface
upload_2020-10-5_14-31-20.png
upload_2020-10-5_14-32-3.png
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
Hello! I am trying to get the program to work to download updates from Google Team Drive, but it does not come out yet. One update out of 4 is downloaded, the rest of the program cannot find. There are physically updates on the server, I checked through the web interface
Yeah it finds them at first, i changed the retrieve system because of a similar issue and that may be the reason.
Basically before it requested all the files in the library, then added to the text file the filepath and search for it in the drive.
It seemed that drive search for filenames couldn't find certain characters so now it adds the file id too. What that message means is that google drive isn't returning a positive answer to the request, i have to try with that usercase, but it may be due to quota, depending on the case.
Still i'll test with mine, to discard something outside of quota.

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

Sir, can i ask, if i have a game is required fw 10.9.0 ( just for exemple) and my switch running fw 10.1.0 could i use ncs builder to patch the game to play on my lower fw?
Yes but ther's no fw 10.9.0 i think you're looking at a SDK number. It also isn't a sure thing, it depends on the game, if it uses newer sdk functions normally it fails.
Anyway between 9.1.0 and 10.2.0 the masterkey doesn't change so for games you plan to install is enough to use an installer that patches RSV like tinfoil, dbi, awoo or goldleaf. For xci you need to patch it trough NSCB, though.
 
  • Like
Reactions: Bánh Mì

Bánh Mì

Well-Known Member
Member
Joined
Jan 24, 2015
Messages
127
Trophies
0
Age
31
Location
Ho Chi Minh City, Vietnam
XP
927
Country
Yeah it finds them at first, i changed the retrieve system because of a similar issue and that may be the reason.
Basically before it requested all the files in the library, then added to the text file the filepath and search for it in the drive.
It seemed that drive search for filenames couldn't find certain characters so now it adds the file id too. What that message means is that google drive isn't returning a positive answer to the request, i have to try with that usercase, but it may be due to quota, depending on the case.
Still i'll test with mine, to discard something outside of quota.

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


Yes but ther's no fw 10.9.0 i think you're looking at a SDK number. It also isn't a sure thing, it depends on the game, if it uses newer sdk functions normally it fails.
Anyway between 9.1.0 and 10.2.0 the masterkey doesn't change so for games you plan to install is enough to use an installer that patches RSV like tinfoil, dbi, awoo or goldleaf. For xci you need to patch it trough NSCB, though.
So, its depend on the sdk make of the game, okay i get that.
 

JRoad

Developer
OP
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
So, its depend on the sdk make of the game, okay i get that.
Yeah but even with high sdks it may work on fws older than the sdk, it will depend on the functions that are being used by the program. Still when you see an old sdk in the game data is a sure thing, if the sdk is pretty new it has a high probability to fail.
Also from the meta sdk version is not relevant, that's added when the game or update gets uploaded to the CDN so it's always newer, the one relevant is the program sdk number in games|updates or data sdk number in dlcs.
 
  • Like
Reactions: Bánh Mì

Jayro

MediCat USB Dev
Developer
Joined
Jul 23, 2012
Messages
12,964
Trophies
4
Location
WA State
Website
ko-fi.com
XP
16,974
Country
United States
I may be asking this wrong, but... Let's say II have a 500MB base game, and a 150MB update... If I apply the update to the base game, it makes a 650MB XCI/NSP...
So my question is this: Is it possible to have the update's NCA files replace the base game's XCI's/NSP's NCA files to make the output file (base game+update) XCI/NSP smaller in size? If so, what are the steps? I feel like I'm applying these updates wrong and wasting a shitload of disk space on my computer's SSD.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtu.be/MddR6PTmGKg?si=mU2EO5hoE7XXSbSr