NSC_BUILDER

Nintendo Switch Cleaner and Builder. A batchfile, python and html script based in hacbuild and Nut's python libraries. Designed initially to erase titlerights encryption from nsp files and make multicontent nsp/xci files, nowadays is a multicontent tool specialized in batch processing and file information, someone called it a Switch's knife and he may be right.

MIT License

Downloads
195
Stars
1.6K
Committers
10

Bot releases are hidden (Show)

NSC_BUILDER - NSC_Builder v1.01b Latest Release

Published by julesontheroad about 4 years ago

NSC_Builder v1.01b - Changelog

DeviceTag LanguageTag

Support for DBI newer DBI versions (>155)

Resources

DBI 156 was launched, you can get it directly from the kefir pack:

https://github.com/rashevskyv/switch/releases/

It can also be downloaded individually as nro or nsp here.

DBI_156.nsp

DBI_156.nro

You can find information on how to setup NSCB libraries, google drive auth tokens and 1 fichier auth tokens here:

https://github.com/julesontheroad/NSC_BUILDER/blob/master/py/Documentation%20and%20Resources/Changelogs/NSCB_0.99.md

Here's also a little readme with some DBI information:

https://github.com/julesontheroad/NSC_BUILDER/tree/master/py/Documentation%20and%20Resources/DBI

Note: x86 build is made with pyinstaller 4.0 if you get a false positive in the antivirus is a common ocurrence with newer pyinstaller, referenced here:
https://github.com/pyinstaller/pyinstaller/issues/4633
https://github.com/pyinstaller/pyinstaller/issues/4724

1.01-b - Changelog

1. Fixed issue in interface where nsz and xcz fails to show the files section

2. Improved titledb version consolidation between databases

  • Fixed issue where versions.txt got downloaded from tinfoil.io for instead of my titledb repository
  • Added nutdb.json as a source for versions.txt consolidation

3. Made changes to google drive requests on mtp

4. Fixed issue where batch verification won't hash xcz files

1.01 - Changelog

1. Support for DBI 155 and 156 new mtp setup

DBI installation setup and save management changes on 155, this release supports both older DBI versions and newer ones.

2. Added option to backup saves for installed games only

This option only has an effect on DBI>155, matching a newer DBI function.

3. Added xci and xcz installation from google drive remotes

This option will support installation of multiprogram and normal xci|xcz files from google drive. It won't support multiprogram files from google drive on this version, these kind of files are supported for local installation on any format or as nsp|nsz.

Known multiprogram files are Super Mario 3D All-Stars, Grandia Collection, Hotline Miami Collection, ...

4. Added fixed xci location configurations for mtp mode

User can now setup the locations DBI will scan on the SD card to find xci files on the zconfig\mtp_xci_locations.txt, this file already includes standard xci locations. If this file is removed DBI will scan the whole SDCard so it's not recommended to remove it but to add or delete locations to it if needed.

5. Added option to MTP - AUTOUPDATE DEVICE FROM LIBRARY to check from game registry instead of installed

When selection from game registry is activated the autostart is set to false and user will be asked to manually select what games to update via the file picker.

This function won't check which games are installed or xci on the SDCard, instead it will use the game registry that includes archived games and registered xci files, independently of their location. This will show files that are on a HDD for example.

6. Fix issues installing certain files from google drive because of special characters

File id is now added to text file, also files ids are now stored in json files on cache mode.

7. File Selector now allows to select multiple files at once

The tkinter file selector that uses windows browser now allows to select multiple files at once if they are on the same folder.

8. Added additional information on the "Files" tab on the interface

  • Added ability to show multiple the titleid for each nca file for local files on the web Interface on the "Files tab"
  • Added ability to show multiple the buildid for each program file for local files on the web Interface on the "Files tab". This is showned in a section at the bottom of the "Files" tab

Picture

9. Corrected patched multiprogram files VERIFICATION

Multiprogram files with removed titlerights will give a false corruption positive for html manual files, this issue has been corrected. A patched file is a file with titlerights removed or keygeneration changes

10. Ability to not autoupdate DATABASES

If database configuration is setup to a number higher than 9999 hours the autoupdate function is turned off. No autoupdate zip already includes this setup.

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
NSC_BUILDER - NSC_Builder v1.01 (corrected)

Published by julesontheroad about 4 years ago

NSC_Builder v1.01 - Changelog

DeviceTag LanguageTag

Corrected on 2/10/2020

x64 and x86 builds were missing the ztools/bin folder which will make mtp mode crash. If you downloaded those you're using the old nscb_mtp.exe which won't support DBI>155 and doesn't have the latest improvements so is recommended to redownload.

Corrected on 4/10/2020

Fixed latest DBI link 138 -> 156

Support for DBI newer DBI versions (>155)

Resources

DBI 156 was launched, you can get it directly from the kefir pack:

https://github.com/rashevskyv/switch/releases/

It can also be downloaded individually as nro or nsp here.

DBI_156.nsp

DBI_156.nro

You can find information on how to setup NSCB libraries, google drive auth tokens and 1 fichier auth tokens here:

https://github.com/julesontheroad/NSC_BUILDER/blob/master/py/Documentation%20and%20Resources/Changelogs/NSCB_0.99.md

Here's also a little readme with some DBI information:

https://github.com/julesontheroad/NSC_BUILDER/tree/master/py/Documentation%20and%20Resources/DBI

Changelog

1. Support for DBI 155 and 156 new mtp setup

DBI installation setup and save management changes on 155, this release supports both older DBI versions and newer ones.

2. Added option to backup saves for installed games only

This option only has an effect on DBI>155, matching a newer DBI function.

3. Added xci and xcz installation from google drive remotes

This option will support installation of multiprogram and normal xci|xcz files from google drive. It won't support multiprogram files from google drive on this version, these kind of files are supported for local installation on any format or as nsp|nsz.

Known multiprogram files are Super Mario 3D All-Stars, Grandia Collection, Hotline Miami Collection, ...

4. Added fixed xci location configurations for mtp mode

User can now setup the locations DBI will scan on the SD card to find xci files on the zconfig\mtp_xci_locations.txt, this file already includes standard xci locations. If this file is removed DBI will scan the whole SDCard so it's not recommended to remove it but to add or delete locations to it if needed.

5. Added option to MTP - AUTOUPDATE DEVICE FROM LIBRARY to check from game registry instead of installed

When selection from game registry is activated the autostart is set to false and user will be asked to manually select what games to update via the file picker.

This function won't check which games are installed or xci on the SDCard, instead it will use the game registry that includes archived games and registered xci files, independently of their location. This will show files that are on a HDD for example.

6. Fix issues installing certain files from google drive because of special characters

File id is now added to text file, also files ids are now stored in json files on cache mode.

7. File Selector now allows to select multiple files at once

The tkinter file selector that uses windows browser now allows to select multiple files at once if they are on the same folder.

8. Added additional information on the "Files" tab on the interface

  • Added ability to show multiple the titleid for each nca file for local files on the web Interface on the "Files tab"
  • Added ability to show multiple the buildid for each program file for local files on the web Interface on the "Files tab". This is showned in a section at the bottom of the "Files" tab

Picture

9. Corrected patched multiprogram files VERIFICATION

Multiprogram files with removed titlerights will give a false corruption positive for html manual files, this issue has been corrected. A patched file is a file with titlerights removed or keygeneration changes

10. Ability to not autoupdate DATABASES

If database configuration is setup to a number higher than 9999 hours the autoupdate function is turned off. No autoupdate zip already includes this setup.

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
NSC_BUILDER - NSC_Builder v1.00d

Published by julesontheroad about 4 years ago

NSC_Builder v1.00d - Changelog

DeviceTag LanguageTag

Note: This release supports DBI up to 140 version, won't support properly DBI 155 and 156

Further improvements over the MTP features

Resources

DBI 138 was launched, you can get it directly from the kefir pack:

https://github.com/rashevskyv/switch/releases/tag/462

It can also be downloaded individually as nro or nsp here.

DBI_138.nsp

DBI_138.nro

You can find information on how to setup NSCB libraries, google drive auth tokens and 1 fichier auth tokens here:

https://github.com/julesontheroad/NSC_BUILDER/blob/master/py/Documentation%20and%20Resources/Changelogs/NSCB_0.99.md

Here's also a little readme with some DBI information:

https://github.com/julesontheroad/NSC_BUILDER/tree/master/py/Documentation%20and%20Resources/DBI

Changelog

1.00d Fixes

Fixed issue where autoupdater from google drive may not show messages in some system triggered by windows-curses.

Fixed issue #183 where window selector wasn't working. Added file extension filter to window selector dependent of the mode it is called from.

Added exceptions to handle possible situations when parsing non tagged xci files on SD. These files are ignored when id,version,etc.. can't be parsed correctly from name (missing tags).

Fixed issue where generating or updating cache libraries from google drive will except when the google api called doesn't return any data.

1.00c Fixes

Fixes to functions in mtp_gdrive.py where the use of curses prevented some prints on filters.

Fixed indentation in mtpsp and mtpxci library which derived in "No module named 'mtpsp'" and "No module named 'mtxci'" errors in the exe builds.

1.00b Fixes

Fixed issue where on some systems some search filters wouldn't show the message asking for an input.

Fixed bug introduced by 1.00 that would stop the databases update in the middle of the process.

If you already setup 1.00 just override ztools by the 1.00d version. There's no changes in the config files.

1. Added NSCB.exe

NSCB.exe is a small .net console app that opens NSCB.bat inside itself when it's in the same folder. It supports Drag and Drop for auto mode and allows to hook NSCB to the windows bar or the start section in windows 10. First version doesn't support configurations though a second one will at least allow redirection via a config file.

Information on how to setup NSCB.exe and source here. By recompiling the source you can change the icon or paths NSCB.exe points into. I'll add some configuration choices in the future.

https://github.com/julesontheroad/NSC_BUILDER/tree/master/py/Documentation%20and%20Resources/NSCB.exe

2. Direct xci and xcz installation over mtp from local sources

NSCB 1.0 can install now nsp, nsz, xci, xcz over usb-mtp with the help of DBI directly on the switch without preconversion. It supports multiprogram xci and multicontent xci too.

Multicontent xci or nsp will virtually be separated in several files which will trigger different installations per content.

Checking on content installed for each content in the multifile wasn't yet implemented but will be on 1.01.

3. Direct nsp installation patching from local sources and standard crypto option

If activated NSCB 1.0 will patch directly the stream during installation without preconversion to lower keygeneration if the reported FW on the Switch is lower than the required by the installed files.

Additionally a standard crypto option was implemented, if activated trough the configuration files will always be installed as ticketless, removing titlerights on the fly.

4. Direct xci and multi xci creation directly on the SD over mtp from local sources

With NSCB 1.0 xci and multixci can be created directly on the SD from xci and nsp sources. If sources include nsz or xcz the xci will be created first locally on the PC and transfer to the Switch.

The reason for this behavior is that zstd decompression and re-encryption wasn't yet implemented on the mtp api hook.

5. Added folder-walker on all modes for local and remote Resources

Folder walker will allow you to search on any folder on pc or google drive. The first folder-walker step is searching a folder, if the folder is the final folder on the path it will change automatically to the file phase.

In case the folder isn't the end of the path you change to file phase by pressing "E" as the file-picker instructions specify. On the local sources walker a second option is offered "R" or recursive, this option will show files in current folder and in it's subdirectories, beware since it'll be slower if there's hundreds of thousands of files between the directory and subdirectories.

The walker will filter file extensions depending on the supported extensions on each mode, while mtp filetransfer won't hide extensions other modes may only show nsp,nsz,xci,xcz, ... depending on what each mode supports.

Folder-Walker also supports search filters and file sorting by size, date and name.

6. Added local library support for all NSCB modes

Al local modes will now use the local libraries if setup, With support for search filters and file sorting by size, date and name.

7. Added server and interface trigger on the main NSCB bat

This function will only work properly if run minimized is activated. Both will work properly with the noconsole option too but run minimized is needed.

Note: When moving from noconsole to console-attached versions of server and interface run the option twice, the first time after the change is possible that output doesn't show on the console, from the second time onwards you should be able to see output properly.

8. Bugfixing and small stuff

  • Fixed issues when launching the interface with custom browsers.
  • Fixed issues on server, specifically ssl keys loading and changed the preset so it uses http://localhost:9001 by defect and shows the console.
  • Added FW 10.1 RSV strings
  • Added versions.json to DB and consolidation between versions.txt and versions.json. Also added protection to versions.txt in case the one in the source is corrupted.
  • Several small bugfixes here and there
NSC_BUILDER - NSC_Builder v1.00c

Published by julesontheroad about 4 years ago

NSC_Builder v1.00c - Changelog

DeviceTag LanguageTag

Further improvements over the MTP features

Resources

DBI 138 was launched, you can get it directly from the kefir pack:

https://github.com/rashevskyv/switch/releases/tag/462

It can also be downloaded individually as nro or nsp here.

DBI_138.nsp

DBI_138.nro

You can find information on how to setup NSCB libraries, google drive auth tokens and 1 fichier auth tokens here:

https://github.com/julesontheroad/NSC_BUILDER/blob/master/py/Documentation%20and%20Resources/Changelogs/NSCB_0.99.md

Here's also a little readme with some DBI information:

https://github.com/julesontheroad/NSC_BUILDER/tree/master/py/Documentation%20and%20Resources/DBI

Changelog

1.00c Fixes

Fixes to functions in mtp_gdrive.py where the use of curses prevented some prints on filters.

Fixed indentation in mtpsp and mtpxci library which derived in "No module named 'mtpsp'" and "No module named 'mtxci'" errors in the exe builds.

1.00b Fixes

Fixed issue where on some systems some search filters wouldn't show the message asking for an input.

Fixed bug introduced by 1.00 that would stop the databases update in the middle of the process.

If you already setup 1.00 just override ztools by the 1.00c version. There's no changes in the config files.

1. Added NSCB.exe

NSCB.exe is a small .net console app that opens NSCB.bat inside itself when it's in the same folder. It supports Drag and Drop for auto mode and allows to hook NSCB to the windows bar or the start section in windows 10. First version doesn't support configurations though a second one will at least allow redirection via a config file.

Information on how to setup NSCB.exe and source here. By recompiling the source you can change the icon or paths NSCB.exe points into. I'll add some configuration choices in the future.

https://github.com/julesontheroad/NSC_BUILDER/tree/master/py/Documentation%20and%20Resources/NSCB.exe

Note: NSCB.exe is not needed, it's reason is to be able to link the program to the windows bar or init section. You can keep using the NSCB.bat if you feel more comfortable with it, NSCB.exe can also be deleted since it's equivalent to a shortcut.

2. Direct xci and xcz installation over mtp from local sources

NSCB 1.0 can install now nsp, nsz, xci, xcz over usb-mtp with the help of DBI directly on the switch without preconversion. It supports multiprogram xci and multicontent xci too.

Multicontent xci or nsp will virtually be separated in several files which will trigger different installations per content.

Checking on content installed for each content in the multifile wasn't yet implemented but will be on 1.01.

3. Direct nsp installation patching from local sources and standard crypto option

If activated NSCB 1.0 will patch directly the stream during installation without preconversion to lower keygeneration if the reported FW on the Switch is lower than the required by the installed files.

Additionally a standard crypto option was implemented, if activated trough the configuration files will always be installed as ticketless, removing titlerights on the fly.

4. Direct xci and multi xci creation directly on the SD over mtp from local sources

With NSCB 1.0 xci and multixci can be created directly on the SD from xci and nsp sources. If sources include nsz or xcz the xci will be created first locally on the PC and transfer to the Switch.

The reason for this behavior is that zstd decompression and re-encryption wasn't yet implemented on the mtp api hook.

5. Added folder-walker on all modes for local and remote Resources

Folder walker will allow you to search on any folder on pc or google drive. The first folder-walker step is searching a folder, if the folder is the final folder on the path it will change automatically to the file phase.

In case the folder isn't the end of the path you change to file phase by pressing "E" as the file-picker instructions specify. On the local sources walker a second option is offered "R" or recursive, this option will show files in current folder and in it's subdirectories, beware since it'll be slower if there's hundreds of thousands of files between the directory and subdirectories.

The walker will filter file extensions depending on the supported extensions on each mode, while mtp filetransfer won't hide extensions other modes may only show nsp,nsz,xci,xcz, ... depending on what each mode supports.

Folder-Walker also supports search filters and file sorting by size, date and name.

6. Added local library support for all NSCB modes

Al local modes will now use the local libraries if setup, With support for search filters and file sorting by size, date and name.

7. Added server and interface trigger on the main NSCB bat

This function will only work properly if run minimized is activated. Both will work properly with the noconsole option too but run minimized is needed.

Note: When moving from noconsole to console-attached versions of server and interface run the option twice, the first time after the change is possible that output doesn't show on the console, from the second time onwards you should be able to see output properly.

8. Bugfixing and small stuff

  • Fixed issues when launching the interface with custom browsers.
  • Fixed issues on server, specifically ssl keys loading and changed the preset so it uses http://localhost:9001 by defect and shows the console.
  • Added FW 10.1 RSV strings
  • Added versions.json to DB and consolidation between versions.txt and versions.json. Also added protection to versions.txt in case the one in the source is corrupted.
  • Several small bugfixes here and there
NSC_BUILDER - NSC_Builder v0.99

Published by julesontheroad over 4 years ago

NSC_Builder v0.99 - Changelog

DeviceTag LanguageTag

Introducing MTP Mode a mtp manager for DBI Installer

DBI is a installer made by DuckBill and the Kefir Team in a similar fashion as old tinfoil by Adubbz with extended functions and a MTP responder mode that allows access to the Nintendo Switch via the MTP protocol to transfer files between Switch and pc and to get several information from the switch like installed games, storage used, firmware on the Switch, etc...

When you open the nro or installed DBI program on your switch and run the MTP responder option you'll be able to connect your switch via usb to your pc, allowing NSC_Builder v0.99 to work together with DBI an access your Switch providing a whole lot of functions.

The tested version of DBI is 1.25, which can be downloaded as part of the following keffir release:

https://github.com/rashevskyv/switch/releases/tag/456

It can also be downloaded individually as nro or nsp here:

DBI_1.25.nsp
DBI_1.25.nro

More information about DBI here:

DBI and mtp Readme

Changelog

1. New Mode "M" - mtp a MTP manager for DBI

I.- Installer

a) Local files installer
  • Installation via queue for nsp, nsz (directly) and xci (preconversion)
  • Select installation medium (SD\EMMC)
  • Pre-verification of files (disabled,level2,hash verification)
  • Check space on device before installing each file and optionally change installation medium (SD\EMMC) if the other has space left and the targetted one runs off space.
  • Check keygeneration required by files vs fw reported from console, skip installation if the keygeneration required is bigger than the available. Optionally patch the file pre-installation.
  • Optionally check if game is already installed and skip installation if that's the case.
  • Optionally check if the same update id is installed, check version installed and if the installed version is bigger skip installation while if it's smaller predelete the old update to reclaim space and procede to the installation.
  • Optionally install prepatched nsps when attempting to install a nsp that requires a higher keygeneration.
  • Preconvert xci\xcz to install on the system.
b) Remote location installer
  • Install nsp and nsz directly from google drive and 1fichier

II.- File transfer

  • Transfer any file from local or remote locations.

  • DBI allows transfers of more than 4GB via mtp autoarchiving in Nintendo format, that means the transfer mode can transfer with ease xcis or movies to the setup locations on the SD.

III.- Auto-updater.

  • Take a local library or google drive library and check if it has new updates or dlcs for the installed games, if it does autoupdate the console.
  • You can let the program applied updates automatically or select between the ones detected.
  • Note: If you installed games previously on this mtp sesion disconnect the mtp responder first and reconnect again to get accurate information since installed games data is parsed once per session.

IV.- Uninstaller.

  • Identifies installed games,updates and dlcs and allows them to be removed via a selector.

VI.- Content dumper.

  • Allows to dump games, updates and dlcs to the setup libraries.

VI.- Archived games cleaner.

  • Identifies archived games and allows to clean them up.

VIII.- Information

  • Device information
  • Check installed and archived games
  • Search new updates and dlcs for the installed games and xcis on the SD versus nutdb
  • Search new updates and dlcs for the archived games versus nutdb

IX.- Savegames

  • Detect empty registries and clean them up
  • Dump savegames in JKSV zip format
  • Adds the date of the dump to the name of the file so several dumps don't collide.
  • Optionally add [titleid] and [version] to the name of the Files
  • Optionally store the files in folders per game or inline

X.- Generate SX autoloader files

  • Can generate sx autoloader cache files for any path on the SD if titleid is listed. That includes non scanned paths.
  • Can generate sx autoloader cache files for any path on a HDD if connected and send them to the appropiate folder on the SD.
  • Can ensure autoloader files won't collide between the SD and the HDD.
  • Note: While the autoloader works on archived files and installed placeholders the placeholder takes priority so the xcis are loaded after an error, that's the reason the placeholder won't be created automatically.
  • Note 2: As an alternative NSCB can create xci placeholders, which will load a gamecard placeholder which is appropiate for the autoloader. This xcis will be loaded to a path scanned by rommenu and can be deleted after.
  • Note 3: Alternatively you can make the first xci mounting from sx installer file browser.

3. New things added to the File Info Web Interface

  • Support to read xc0 and ns0 files (missning nmpdm reader and verification)
  • Support to read files from google driver
  • Direct link reader support for interface meant to use with public google drive links
  • Ability to avoid quota in public drive links by setting a remote cache library, which will clone to that folder on google drive the link before reading it's information.
  • Ability to setup libraries to search and load information from them.
  • Ability to open the selected picture in the gallery in a new window to zoom it
  • Ability to detach the gui from the console with the "noconsole" parameter which will load the console information in a new side tab on the Interface.
  • Ability to open several interface windows at the same time by opening different ports per Interface.
  • Ability to setup host and fixed port for the interface.

4. Test server concept

  • The new Server.bat can load a new server concept with the functions from the gui. This server will not open a windows but it'll generate the webpage every time you open the specified port and host.
  • The server allows to setup ssl connections by adding a valid key.pem and certificate.pem in zconfig and changing it's ssl parameter. That will connect to it using https: instead of http and secure sockets.
  • The server can load files using the library functions or if open locally the normal window selector. The selector will be hidden if you open NSCB.html but will be visible with main.html
  • The server can be ran with a hidden console too.
  • It being a proof of concept the interface isn't fully adapted to widescreen yet since and it doesn't have any kind of account validation so secure it if you plan access trough the internet.

5. Bugfixes

  • Added data for new firmware.
  • Fixed ticket class issue related to #132
  • Fixed issue where the nacp reader wasn't showing the proper information on certain parameters on gui and cmnd. Only the reader, patching functions or other nacp based functions were setup correctly.
  • Added support to new sig1 key thanks to 0Liam.
  • Several other stuff I don't remember since a lot of fixes and modifications were done to the beta branch since 0.98

6. How to setup each library type

  • To get full support for every function on NSCB mtp mode you'll need to setup several library files, examples for this files can be found in zconfig. You'll have to edit the example and delete the example tag in the file name. Specifically mtp mode makes use of the files depicted in this section. Bellow you can find the meaning of each file and how to set it up.

    • mtp_download_libraries_example.txt > mtp_download_libraries.txt

      Libraries to setup the dumps and savegames and in general files the pc receives from the Switch.

      Setup: library_name|path

      Example: Dumps|C:\Dumps

    • mtp_SD_libraries_example.txt > mtp_SD_libraries.txt

      Libraries to setup the folders in which the switch will receive files pushed with the transfer function.

      Setup: library_name|path

      Example: SD_XCI|1: External SD Card\sxos\xci

    As you can see the SD locations starts with *1: External SD Card* this is the name of the SD mount DBI makes on your pc, start your locations on the sd with that string.

    • mtp_source_libraries_example.txt > mtp_source_libraries.txt

      Libraries to setup the local folders from your pc that will be used by the autoupdate function to search for new files, as well as with the install and transfer functions.

      Setup: library_name|path|Update

      Example: BASE|C:\NSP\BASE|FALSE or UPDATES|C:\NSP\UPDATES|TRUE

    As you can see a Update parameter is added, this sets up what folders are scanned in the autoupdate function. If TRUE the folder is scanned if FALSE it won't get scanned. The non scanned libraries will get used by the installer and transfer mode in the future.

    • remote_libraries_example.txt > remote_libraries.txt

      Libraries to setup the google drive folders that will be used by the remote installer, remote autoupdater and remote transfer functions.

      It will also be used in the NSCB Drive Mode and in the library function from NSCB Web Interface.

      Setup: library_name|path|TD_name|Update

      Example: BASE|drive:/base|TD_Name|FALSE or UPD|drive:/updates|None|TRUE

      The Update parameter sets up what folders are scanned in the autoupdate function. If TRUE the folder is scanned if FALSE it won't get scanned. The non scanned libraries are used by the remote installer and remote transfer functions.

      The TD parameter is used when your files or folders are in a TeamDrive or Shared Drives as are called currently. If your files aren't in a TD input None there or ||. With double bar it'll look as UPD|drive:/updates||TRUE

      Remember that drive is your token name.

    • remote_cache_location_example.txt > remote_cache_location.txt

      Folder in your google drive account where public files are stored to avoid quota and get a better support on the google drive API. Is recommended for the Interface and required for the mtp mode when using public links.

      Setup: library_name|path|TD_name

      Example: cache|token:/cache| or cache|drive:/cache|TDName

      As you can see if you don't have a TD just add a | at the end, you can also add None if you have a TD add your TeamDrive name.

    • local_libraries_example.txt > local_libraries.txt

      Folder where your local library is stored. This is used currently by the HTML interface local libraries

      Setup: library_name|path

      Example: Folder1|C:\Nintendo

    • download_libraries_example.txt > download_libraries.txt

      This is used on the Drive mode to setup folder where the program will download or generate files

      Setup: library_name|path

      Example: Folder1|C:\Downloads

7. How to setup auth for google drive

To enable the google drive api you need to go here https://developers.google.com/drive/api/v3/quickstart/python and press on Enable the drive api, select Desktop App, press Create and the press Download Client Configuration, you'll get a credentials json.

You can use that file to generate tokens for any account, but you'll get a message of not verified app if you use it with a different account. This is unrelated to NSCB since you're using your own app, setup with that credentials file

Once a token is generated you can delete the credentials file though you can also have several files renamed as token_name.json Token name is the name of the token you plan to setup on the next step.

To setup the token, open NSCB go to configuration and google drive configuration, then press 1 to register an account, it'll ask you the name of the token, once you input that a browser will be open and you'll log into the account you mean to setup.

The token name is important NSCB uses your token as if it was a path letter, so a token called mydrive will be able to setup locations such as mydrive:/Switch/nsp

8. How to setup auth for 1fichier

For 1fichier auth you need to store the 1fichier token in zconfig/credentials with the name _1fichier_token.tk

To get the token you need a 1fichier account, then in this page https://1fichier.com/console/params.pl you'll find a section called API Key, press in Enable API usage, get the key and paste it in an empty txt file, then rename the file to _1fichier_token.tk

NSC_BUILDER - NSC_BUILDER v0.98b

Published by julesontheroad over 4 years ago

v0.98b

  • Solved bug in the compressor relating masterkey10 detection.

v0.98 - Initial Google Drive Support for some stuff

  • Updated the locations of nutdb data(though the db method is bound to be changed on next release)
  • Added Opencritic Data to the gui interface
  • Metascores, Userscores and Opencritic scores are shown only if available. If the openscore matches the metascore the openscore is hidden.
  • Fixed the "Not packed" issue on ncz compression, thanks to blawar for the solution.
  • Added initial Google Drive Support. Initial release covers:
    • Support for Public and Private google drive
    • Search on drives and TeamDrives
    • Ability to add several accounts
    • Easy to use graphical console interface
    • Ability to download xci files trimmed or supertrimmed and nsz\xcz files compressed or uncompressed directly from google drive.
    • Ability to show several file information from google drive (verification still missing)
    • Ability to add several google drive accounts.
    • Ability to make several google drive libraries and add several download locations for quick access.
  • To use google drive you need to:

1.- Log in https://developers.google.com/drive/api/v3/quickstart/python using your account, then press "Enable the Google Drive API" and download credentials.json

2.- Add the credentials.json to zconfig\credentials

Note: You can use this file to add any google drive account but it will show a warning if you add a different one that the one used to download it. The credentials.json only need to be used once so you can download it again to add a second account. Alternatively you can rename it as token_name.json token_name is the name of your account in NSCB.

3.- To use google drive with NSCB go to the CONFIGURATION mode and the Input "6" to enter into GOOGLE DRIVE OPTIONS

4.- Add the token_name you wish and the browser will be launched for you to select your account

Note: Headless systems can use:

      squirrel.py -lib_call Drive.private create_token "token_name"

Note2: A token name represents the drive account and is use for locations, for example a token called drive is used for drive:/xcifolder/xcifile.xci

Any location has all Teamdrives available which can be chosen via a graphical interface or by setting up libraries.

5.- Optionally setup libraries:

a) Remote libraries:

Go to zconfig and use "remote_libraries_example.txt" to create a "remote_libraries.txt"
Parameters are Library_Name, Route\Path (starting by token_name) and Team Drive Name.
If the location isn't in a TD put None in the last parameter.

b) Download libraries:

Go to zconfig and use "download_libraries_example.txt" to create a "download_libraries.txt"
Parameters are Library_Name, System Path to folder

6.- Enter in NSCB and press "D" to enter in google drive mode.

1.) Option 1 is the download option, it allows public links, direct file location paths, direct folder locations paths, selection of a folder via folder walker or selection of several libraries.
* Folders and libraries allow for filter search and when needed the program will allow you to select the TD for the account.
* Folders and libraries allow for search using a name.
* When a xci\xcz\nsz file is detected you will be prompt to select the options to handle it: (uncompress\trimm\supertrimm ...)
2.) Option 2 is the file info option. It can show several info of a file without downloading it. It still misses nut info, npdm info and verification. They will be added at a later time.

Hope you enjoy this update. It marks the beginning of some interesting stuff that will come later.

NSC_BUILDER - NSC_BUILDER v0.98

Published by julesontheroad almost 5 years ago

v0.98 - Initial Google Drive Support for some stuff

  • Updated the locations of nutdb data(though the db method is bound to be changed on next release)
  • Added Opencritic Data to the gui interface
  • Metascores, Userscores and Opencritic scores are shown only if available. If the openscore matches the metascore the openscore is hidden.
  • Fixed the "Not packed" issue on ncz compression, thanks to blawar for the solution.
  • Added initial Google Drive Support. Initial release covers:
    • Support for Public and Private google drive
    • Search on drives and TeamDrives
    • Ability to add several accounts
    • Easy to use graphical console interface
    • Ability to download xci files trimmed or supertrimmed and nsz\xcz files compressed or uncompressed directly from google drive.
    • Ability to show several file information from google drive (verification still missing)
    • Ability to add several google drive accounts.
    • Ability to make several google drive libraries and add several download locations for quick access.
  • To use google drive you need to:

1.- Log in https://developers.google.com/drive/api/v3/quickstart/python using your account, then press "Enable the Google Drive API" and download credentials.json

2.- Add the credentials.json to zconfig\credentials

Note: You can use this file to add any google drive account but it will show a warning if you add a different one that the one used to download it. The credentials.json only need to be used once so you can download it again to add a second account. Alternatively you can rename it as token_name.json token_name is the name of your account in NSCB.

3.- To use google drive with NSCB go to the CONFIGURATION mode and the Input "6" to enter into GOOGLE DRIVE OPTIONS

4.- Add the token_name you wish and the browser will be launched for you to select your account

Note: Headless systems can use:

      squirrel.py -lib_call Drive.private create_token "token_name"

Note2: A token name represents the drive account and is use for locations, for example a token called drive is used for drive:/xcifolder/xcifile.xci

Any location has all Teamdrives available which can be chosen via a graphical interface or by setting up libraries.

5.- Optionally setup libraries:

a) Remote libraries:

Go to zconfig and use "remote_libraries_example.txt" to create a "remote_libraries.txt"
Parameters are Library_Name, Route\Path (starting by token_name) and Team Drive Name.
If the location isn't in a TD put None in the last parameter.

b) Download libraries:

Go to zconfig and use "download_libraries_example.txt" to create a "download_libraries.txt"
Parameters are Library_Name, System Path to folder

6.- Enter in NSCB and press "D" to enter in google drive mode.

1.) Option 1 is the download option, it allows public links, direct file location paths, direct folder locations paths, selection of a folder via folder walker or selection of several libraries.
* Folders and libraries allow for filter search and when needed the program will allow you to select the TD for the account.
* Folders and libraries allow for search using a name.
* When a xci\xcz\nsz file is detected you will be prompt to select the options to handle it: (uncompress\trimm\supertrimm ...)
2.) Option 2 is the file info option. It can show several info of a file without downloading it. It still misses nut info, npdm info and verification. They will be added at a later time.

Hope you enjoy this update. It marks the beginning of some interesting stuff that will come later.

NSC_BUILDER - NSC_BUILDER v0.97

Published by julesontheroad almost 5 years ago

blawar/titledb is down. The db updates are working fine since they will fallback to the mirror "Error in nutdb origin -> Getting NUTDB json using mirror" means is falling back to the mirror, the db is still beig retrived but it may go stale for a few days.

v0.97 - Added support for keygeneration11\masterkey10\masterkey0a and inteface updates

- As some of you may have realized masterkey10 brings a split into people reading the numbers as int and people reading them as hex. NSCB has been updated to support both formats (mater_key_10 and master_key_0a), you can call it both ways in the keys.txt file. In adition this update is required for when games start using that key, since previous versions won't load it properly unless you replace lib\Keys.py

- Several updates have been added to the information given by the interface.

1.- It can detect the Firmware present in XCI files. To speed the parsing this is done via fw.json though in case a firmware is not added to the json the it will be read from the xci and added to the json to speed up the parsing in games including the same firmware. The json will be updated once a new firmware is detected but you can turn off autoupdates and it'll update using xcis.

2.- New eshop data like product codes, game modes, cloud saves and online support has been added

3.- Metacritic scores have been added

4.- Videos from Nintendo.com have been added

- Added 2 new options to the interface:

Option 2: Ability to choose the browser to launch the interface setting the path to executable files or .lnk files

Option 3: Ability to dissable the video player. This is meant for old computers that may hang when the HLS javascript video player loads the videos.

- Fixed Raw extraction for nsp files with big entry tables like the ones present in Firmware nsps.

- Small improvement to database retrival. If a json database is retrieved and it tests as corrupt the modification time will be updated to match the current time on the system. This will prevent the program from trying to retrieve the database before the next refresh cycle, stopping the nagging every time nutdb is called.

Picture

NSC_BUILDER - NSC_BUILDER v0.96d

Published by julesontheroad almost 5 years ago

v0.96d - Bugfixes and pararell compression:

- Fixed keygeneration missmatch in nxdumptool tickets with elicense flag

- Fixed xci compressor for xci with tickets and titlekey starting by 0

- Fixed bug where ticket gets appended more than once in a multi-file with tickets

- Added json integrity check when updating nutdb. The update will take a little longer but the current json will be protected if the one in the repository is corrupted.

- Fixed issue where pykashi adds spaces when processing accented characters.

- Improved selector to list function.

- Added pararell compression as alternative to threads. Pararell compression compresses several files at the same time with a smaller cpu footprint.

In tests i managed to compress 20 files at the same time while keeping a 2-3Mb\s speed ratio per file with level 22 compression. This will depend on your computer or server.

Note: Current implementation has this issues:

1.- It compresses in batches so when one instance finishes it's place isn't taken by another file.
2.- It uses subprocesses. tqdm prints become a little wonky with subprocesses and ghost bars can appear out of position, specially with a high number of processes. To handle this the screen gets cleaned in 3second intervals and bar positions get preallocated. This reduces the wonkyness.
3- The wonkyness is just visual, it doesn't affect the correct processing of the files

Possible improvements to study:

I.- Separate filelist equally between instances so when one instance finishes processing a file another takes it's place.
II.- Let one thread update the progress bars exchanging the progress information between threads

For performance a function that arranges files by size has been added. That ensures files with similar sizes will be group on the same batch when possible

NSC_BUILDER - NSC_BUILDER v0.96c

Published by julesontheroad almost 5 years ago

v0.96c - Bugfixes:

- Fixes bug where rsv changed cnmt.nca files won't get it's has verified properly.

- Fixes bug where individual mode will only output multi-nsp files as nsp when the user choose xci as output.

- Adds character — to the bad characters list replacing it by -

NSC_BUILDER - NSC_BUILDER v0.96b

Published by julesontheroad almost 5 years ago

v0.96b - Little fixes:

- Added xcz and nsz extension in the multi mode. In the latest release due to an overlook it was added only in the first input shown when the user enters in the multimode.

- Added extensions to the current auto functions.

v0.96 - nsz and xcz as input for most funtions:

- Added nsz and xcz as input to several functions. Though some were alredy added i'll recapitulate the current state of all functions regarding nsz\xcz support.

  • Mode 1: Individual Mode.
    • Support to repack as nsp\xci with support for keygeneration and rsv patching.
    • Support in erase deltas and rebuild functions. Rebuild will give the same output as the decompressor but add a xml if needed for nsz files.
    • Support to rename of nsz\xcz which was already supported
    • Support for nsz\xcz verification which was also already supported.
    • xci trimmer\supertrimmer\untrimmer will filter the xcz\nsz from the list since it currently wouldn't have a different effect than repack\decompress.
  • Mode 2: Multi Mode.
  • Adds support to nsz\xcz as input. Mixed inputs of nsz\xcz\nsp\xci are supported to all multi options.
  • Mode 3: Splitter mode.
    • Now allows to split in a decompressed state multi nsz\xcz as it does with xci\nsp
  • Mode 4: Info mode.
    • All info functions except nut-info are currently supported.
  • Mode 5: Database mode.
    • Currently doesn't output the titlekey. It will be corrected in future releases
  • Mode 6: Advanced mode.
    • File extractor will extract all files in a decompressed state. Nsz get decompressed during extraction.
    • Raw extractor will extract the nsz files uncompressed
    • Plaintext and nca extraction operations aren't addapted yet.
    • Linked account patcher will support nsz and xcz files.

- IMPORTANT: When FAT32 types are selected as output format the nsz\xcz will be filtered from list for modes that output fat32 files, this is due to not have added the fat32 output code yet. I'll due for next release since it always require more testing.

- XCZ and NSZ will be added as output formats too for modes 1,2 and 3 in next releases.

Bugfixes:

- Corrected issue where verification of keygeneration patch cnmts will show as correct and then show a second message as incorrect.

- Corrected issue where restoration mode won't restore the cnmt file under some conditions for RSV patched cnmts

- Added mirror for nutdb database

Important Note

Rommenu SX OS gallery installer currently doesn't work properly with games using master_key_09\keygeneration 10. These won't install properly in that installer and xci or cxci that uses that masterkey will show a white icon in the loader, though they will mount properly due to the system handling that part.
The solution is to lower the keygeneration, as it happened before in FW 6.2 if my memory serves me right. I checked and lowering these games to keygeneration 9 (master_key_08) will show the icons as expected and allow to install those games under that installer.
If you only plan to install them remember you can use other alternative like SX Installer, tinfoil, OGTinfoil, lithium or goldleaf.

Hopefully TX solves this soon but for now please use this countermeasure.

NSC_BUILDER - NSC_BUILDER v0.95b

Published by julesontheroad almost 5 years ago

v0.95b - Bugfixes:

- Fixed titles section in file-info gui not showing data for nsz files.

- Fixed keys.txt checker showing master_key_08 was missing when in fact master_key_09 was the one missing.

v0.95 - xcz format, fixes and other stuff:

- Added xcz format supertrimmed to compressor. This means that it won't pack the update partition (system firmware content), a lossless compressor that will compress that partion will be added at a later time.

- Added more compression presets

- Added nsz and xcz verification to both the file-info gui and the batch interface

- Added renaming for nsz and xcz.

- xcz and nsz support will be added slowly to all functions

- Added option to convert xci to nsz when compressing them in configuration. It is a highly unneeded thing to do since tinfoil would install xcz or nsz files but to each their own if you feel the need of converting at least do it in a restorable and verifiable way.

- Added more information options in the FILE-INFO mode for nsz\xcz

- Fixed user compression profile configuration.

- Added -1 threads as an option. This sets the threads depending on the cpu logic cores.

- Reduced nsz header size and change file order to standard cnmt order.

- Individual mode will now filter the extensions not supported for the selected function preprocessing.

- Added romaji conversion as optional when renaming files.

- Added option to select files and folders to add to list via filebrowser window.

- Changed Read_cnmt option in File-Info to reflect the improvements made to it in the gui.

- Fixed restoration for keygeneration10

- Fixed verification for files transformed from keygeneration10 to a lower one.

  Note: All the building processes and verification of unmodified files were unafected the
  issue was in header restoration to keygeneration10 since it must be specified in hex as
  0A instead of 10.

- Added RSV for 9.01 to the RSV check and restoration.

NSC_BUILDER - NSC_BUILDER v0.94b

Published by julesontheroad about 5 years ago

v0.94b - Added nsz format to verify in Mode 1

- I forgot in v0.94, should be ok now

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
  • For now multifiles are blocked, the reason is the content must be splitted between origins in some occasions so the program should give xci and nsp files sometimes. This will be added in the future, for now use the multicontent splitter to separate the files before restoration.
  • Won't work with conversion methods that change the signature or create a nsp from files.

- Added option to NSCB config to start the Interface.bat minimized when starting the File-Info Web Interface (GUI)

  • While the console is useful for debugging errors some people don't like how it starts on top. Just modify the variable in zconfig\Interface_options.cmd
  • Alternatively an option was added in the NSCB.bat CONFIGURATION MODE. This option is kept separate from Auto and Global options and doesn't get modified when restoring the defaults unless is from the option itself.
NSC_BUILDER - NSC_BUILDER v0.93

Published by julesontheroad about 5 years ago

v0.93- Compression and decompression of update nsps

- Added update compression and decompression by blawar to NSCB

- Added thread option (0-4) and timings for compression and decompression.

- Fix GAME-INFO and FW requirements reads for updates and DLCs

Note: Nothing to do with SX OS note or xci game-info, that wasn't changed since hacbuild got replaced by squirrel in v0.79 f(27 of January 2019). Any xci gameinfo after that date is perfectly fine and previous xcis can get fixed when reprocessed.

Note 2: You'll note decompression has a higher listed size in the bar, it's actually not measuring final size but writes, since the decompressed plaintext is written first and then gets encrypted to restore the ncas to original form. Even if it looks a little weird i thought it was more understandable than tqdm cycles.

Note 3: Corrected settings in nutdb_not_auto_update.zip it was set to update each 24h by mistake.

Note 4: Remember, if you don't use internet with the program you need to download the nutdb_not_auto_update.zip and unzip it's contents into zconfig.

NSC_BUILDER - NSC_BUILDER v0.92b

Published by julesontheroad about 5 years ago

Note: I see confusion around due to my previous release note. When I said GameInfo I meant the info function from the Mode 4: File-Info, which got broken on 0.91 (see issues), not the xci GameInfo in the header. There's nothing wrong with the xci GameInfo since NSCB 0.80 which released on January. The thing Team Xecuter referred to in 2.9.2 SX OS Beta release is the game-info sections created via hacbuild, xci builder or NSCB pre-0.80 which weren't accurate. Those xci can be fixed reprocessing them with any modern NSCB release.

This info mode is still broken for update and dlc nsps. It'll be fixed in 0.92c later during the day.

v0.92b - Bugfix:

- Fixes error with compression level argument in squirrel.

v0.92 - Adds compression and decompression of nsp files to NSCB:

- Added mode 8 which implements direct compression and decompression of nsp files using the nsz standard from blawar.

  https://github.com/blawar/nsz

- For now it only supports base games and dlcs. xcz implementation coming soon.

- Added reads for game info, cnmt and nacp in NSCB for nsz files

- Added reads in NSCB File_Info GUI for nsz files. Titles tab is currently unsupported for nsz.

- Added slimjet portable as option for file_info gui. Just drop slimjet portable in ztools\Chromium

- Fixed Game-Info reader for xci files

NSC_BUILDER - NSC_BUILDER v0.91b

Published by julesontheroad about 5 years ago

Note: It seems the xci files affected for the bug that didn't allow them to run on SX OS 2.9.1 and FW9.0 were made on versions equal or lower than v0.79. This versions used hacbuild that did a not 100% accurate gameinfo, this was fixed when i made my own python code since i remade the xci building from scratch. Either way, while just processing the files fixes them I'll made something to update the game-info to the ones squirrel makes instead of the old hacbuild system.

v0.91b- Introducing NSCB File_Info:

- Fixed Typerror from lines 6873 and 6957, result of adding roma argument to new functions. This error tipically showed when using mode 2 "Multi-Mode"

- Added some gui sample pictures to releases, more here:

https://gbatemp.net/threads/nsc_builder-nintendo-switch-cleaner-and-builder-game-updates-dlc-in-a-single-xci.522486/page-86#post-8808536

v0.91- Introducing NSCB File_Info:

- NSCB File_Info is a html based gui that gives a graphic interface to NSCB info.

  Yes, it has game-icons, pictures and that stuff you guys like.

- Current functions are:

  * Game Information. Combines data read from file with eshop data from nutdb
  * Description: Description from the eshop (nutdb)
  * Image Gallery: Pictures from the eshop (nutdb)
  * BaseID File-Tree: Shows the lates version for dlcs and updates associated to the game (nutdb)
  * Titles: Advanced Files List from NSCB-new
  * NACP Reader from NSCB
  * NPDM Reader from NSCB
  * CNMT Reader from NSCB
  * Verification from NSCB, till Level 2 so it's loaded fast. Use normal NSCB for hashing for now.

- You'll notice some information like BuildIDs is added now, the cnmt was made more readable and I added detection for multiprogram games like Grandia and Hotline Miami

- Known Issues:

  * CSS probably needs some work, specially for fullscreen.
  * Upper corner menu is a placeholder
  * NPDM decryption is failing in some games, is on my TODO list
  * Multicontent files (generally xci) may need some work to improve parsing speeds
  * Not reading yet splitted files (ns*,xc*,0*) but will add that soon

- TODO:

  * Output css to a file for theming
  * Language translations
  * Porting NSCB functions
  * Let user choose nutdb files

- How to use:

  * If you have Chrome or Chromium Installed you're good to go.
  * If you don't want to install those browsers you can use chromium portable.
    1. Get the last version for your system here: https://chromium.woolyss.com/
    2. Create a folder in ztools called "Chromium"
    3. Decompress the chromium files somewhere in your pc and execute "chrlauncher 2.5.6 (64-bit).exe" or whatever is called in your zip to get the needed files downloaded
    4. Move all files to ztools\Chromium and rename "chrlauncher 2.5.6 (64-bit).exe" to "chrlauncher.exe". This takes priority over a chrome\chromium installation
  * Once you have all setup just execute "Interface.bat"
    5. Remember you need to fill keys_template.txt in ztools but i imagine you already know that

- I use python:

  * Just get latest python 3.7.X and install these dependencies: 
	urllib3 unidecode tqdm bs4 tqdm requests image pywin32 pycryptodome pykakasi 
	googletrans chardet eel bottle
  * Now the tricky part, I use the unreleased version of eel that isn't in pypy so go
	here https://github.com/ChrisKnott/Eel Download the master, seek the folder where 
	your eel installation is and overwrite the files with the ones in the master.
	If you have trouble finding it try doing again pip install eel it'll tell you is
	up to date and installed in 'X' folder.
  * Then execute "Interface.bat" 

- I use linux or mac:

  * Well i tested it on linux and i'll give you a build at a later time, have to admit I didn't test anything on mac though i imagine it works
  * Install python and:
  	urllib3 unidecode tqdm bs4 tqdm requests image pycryptodome pykakasi	googletrans chardet eel bottle
  * Basically same as before ignoring pywin32 that NSCB uses to set the archive bit in folders	
  * Replace the eel files for the ones in the master like explained above.	
  * Run squirrel with:
	squirrel.py -lib_call Interface start
  * Or wait a few days for a build if you don't like python

- Enough with the gui you fixed something did you not? Yep, here's the NSCB changelog:

  * Added BuildID to gameinfo
  * Fixed issue where fat32 files are bigger than the allowed block in fat32 cards
  * Couldn't fixed the issue where some files are a little smaller when using mode2 yetbut tested the files itself and they work fine, remember SX OS allows any block size for splitted files in ns0 and xc0 formats.
  * Fixed issue in untrimmer.
  * Added check when refreshing nutdb against 404 errors
  * Added force update option for nutdb in MODE0: CONFIGURATION
  * Added hash for masterkey9
  * Added options in verification to check 9.0 RSV
  * Added keygeneration10 to the patch limit in all options
  * Probably something else that I don't remember.
  * Fixed times in not autoupdate zip.	  
  * Changed packed squirrel.exe system to onefolder. While less visually pleasing the gui made squirrel bigger which also increased the gui boot times. Onefolder doesn't have the files compressed which gives it faster boot times

- Final Note: If you want support for cxci and titlerights removed files don't update to FW9.0 SX OS Beta9. I'll wait and see if they fix the several bugs the beta has before I try some alternatives to make converted files run in 9.0.

- Big thanks to blawar for nutdb and nut of course, ChrisKnott for Eel and Metro4 for their great css AND javascript library.

Picture
Picture2
Picture3

NSC_BUILDER - NSC_BUILDER v0.90d

Published by julesontheroad about 5 years ago

v0.90d- Bugfixes:

- Fixed issue where renamer won't rename xci and added nsx to type of files that can be renamed

- Updated nutdb file

v0.90c- Bugfixes:

- Fixed issue with renamer where it didn't delete processed items from list when using one worker

- Disable threaded renames since for some reason the changes i did in 0.90b broke it apparently. Threaded database processing is working fine, i'll activate the renamer when i have time to debug the issue.

- Updated the offline nutdb zip. Remember those files are set to update once a year, i'll add a manual updater in 0.91 but if you want to force the update of the files you can delete the json files in the db folder, also you don't need the zip, the normal NSCB is setup to redownload the json files every 24h, this can be modified editing "NUT_DB_TITLES_URL.txt" and "NUT_DB_REGIONS_URL.txt" as described in v0.90 release notes.

NSC_BUILDER - NSC_BUILDER v0.90c

Published by julesontheroad about 5 years ago

v0.90c- Bugfixes:

- Fixed issue with renamer where it didn't delete processed items from list when using one worker

- Disable threaded renames since for some reason the changes i did in 0.90b broke it apparently. Threaded database processing is working fine, i'll activate the renamer when i have time to debug the issue.

- Updated the offline nutdb zip. Remember those files are set to update once a year, i'll add a manual updater in 0.91 but if you want to force the update of the files you can delete the json files in the db folder, also you don't need the zip, the normal NSCB is setup to redownload the json files every 24h, this can be modified editing "NUT_DB_TITLES_URL.txt" and "NUT_DB_REGIONS_URL.txt" as described in v0.90 release notes.

NSC_BUILDER - NSC_BUILDER v0.90b

Published by julesontheroad about 5 years ago

NOTE: The url for nutdb changed since the release, if you have issues update the zips or download the NUT_DB_TITLES_URL.txt and NUT_DB_REGIONS_URL.txt, then replace them in zconfig. This is a solution while i change things in the code.

v0.90b- Bugfixes:

- Fixes issue with name detection for dlcs non listed in the nutdb json files

- Adds nsx format to allowed for the info functions. Except for the npdm reader the reason is that without a titlekey you can't read the npdm file

- Fixes routes for the download of the nut json files for exe releases. Now the json get download correctly to zconfig\DB

- Fixes thread support for renaming and DB operations

- Fixes the option 14 not working on the configuration

- Note: For offline support on NSCB you need to download the json files and add a big refresh value to NUT_DB_REGIONS_URL and NUT_DB_REGIONS_URL.txt, then you can update them manually. I'll add support to manual update from the program on next release.

  • For now a nutdb.zip that has been added to the release, download it if you want to use the previously described scheme. The zip already includes the 4 nutdb json files that are being currently used, it also includes a value of 9999 hours in the refresh time, that's more than a year.
  • Download that file, and extract it in NSCB route. It already includes the zconfig folder. Overwrite the contents when asked by your system.
NSC_BUILDER - NSC_BUILDER v0.90

Published by julesontheroad about 5 years ago

v0.90- Several Bugfixes and aditions:

- Since i've been made aware of several bugs while i was on vacations I decided to release an early v0.90. Several experimental stuff has been added to squirrel but is not available on NSCB yet.

- Bugfixes:

* Fixed another error that prevented the creation of titlerights removed multi-nsps
* Expanded xci trimming functions in indidual mode, after selecting trimming now there is these options:
    - Supertrimmer. Removes ending padding, padding between partitions, logo partition, firmware from update partition and content from normal partition. Also removes   game updates from the xci but keeps dlc. Respects certificates. Meant for xci installation on tinfoil while keeping file verification
    - Supertrimmer respecting updates. Supertrimm that keeps game updates.
    - Normal trimming: Removes "FFFF" end padding
    - Untrimmer: Adds back "FFFF" end padding
* Fixed dlc naming. Current approach will use the nut json files. The json files are downoaded to the DB folder for speed on demand. The url and refresh time of the json files is controlled by "NUT_DB_TITLES_URL.txt" and "NUT_DB_REGIONS_URL.txt" in zconfig.
The refresh time has 3 parameters, representing hours, minutes and seconds. The defaulted time is 24h for each json used.
Be aware that the json files are downloaded by demand. Titles json will be downloaded for  dlc renames and US region for descriptions, genres, etc... The json will only refresh themselves when the refresh period is reached and the json is needed.
* Fixed error in joiner mode
* Fixed false positive in decription verification for the updates included in 5 recent xci which exefs doesn't include a main.npdm.

- Moved korean translation to zconfig\Regional. Paste those files to the main folder if you need that New NSCB functions aren't added yet but fixes made to squirrel will apply to those files.

- Added more information to game-info using information from the nut json files

- Added optional google translation for game descriptions. You can activate\deactivate this option on the program's configuration.

- Added removal of list objects and counters to squirrel to fix the too many arguments in command line" issue that affected some users

- Added more characters to the banned lists on renames

- Added multi-threaded experimental option for renamer and database functions. It increases significantly the speed of the renaming and database operations, specially for virtual disks mounted from google drive (tested till 100 workers using raidrive).

* This option can be activated on the configuration.
   Note: Too many workers can mess a little the console prints and need a little work for polished prints. 
   The writes to text files for the database operations are done on different files and joined after each cycle so they aren't affected.
   NOTE: Exe versions while they worked fine don't seem to have the advantage on speed  the python versions get it will be analized if it's due to the pyinstaller options used.

- UPCOMING: Next release will take some time, features i'm working on are:

Included permanent database for nsp and xci with search functions,library management functions, autoupdates,... and restore mode.