Skip to content

Releases: julesontheroad/NSC_BUILDER

NSC_Builder v1.01b

07 Oct 19:22
Compare
Choose a tag to compare

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:
pyinstaller/pyinstaller#4633
pyinstaller/pyinstaller#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 v1.01 (corrected)

30 Sep 22:16
694e3ab
Compare
Choose a tag to compare

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

27 Jul 22:02
Compare
Choose a tag to compare

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 v1.00c

23 Jul 14:44
93b8535
Compare
Choose a tag to compare

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 v0.99

06 Jul 23:16
92690c0
Compare
Choose a tag to compare

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 auto...

Read more

NSC_BUILDER v0.98b

19 Jan 22:39
90de904
Compare
Choose a tag to compare

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 v0.98

16 Jan 22:24
Compare
Choose a tag to compare

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 v0.97

17 Dec 23:30
bbb84bb
Compare
Choose a tag to compare

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 v0.96d

01 Dec 23:35
14f5f21
Compare
Choose a tag to compare

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 v0.96c

05 Nov 01:10
f011411
Compare
Choose a tag to compare

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 -