1. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    992
    Country:
    Spain
    darkseekerliu likes this.
  2. darkseekerliu

    darkseekerliu Advanced Player
    Member

    Joined:
    Jun 13, 2013
    Messages:
    301
    Country:
    Brazil
    @JRoad that fixed the problem. Thanks for the patience and congrats for your great work.
     
  3. duckbill007

    duckbill007 GBAtemp Regular
    Member

    Joined:
    May 5, 2011
    Messages:
    201
    Country:
    Russia
    @JRoad, did you aware of latest changes in MTP in the DBI?
     
  4. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    992
    Country:
    Spain
    Yeah is supported on the beta and master but still adding some changes beofre the next release. I also added a backup saves for only intalled games since dbi supports it now.
    Will include the install xci from google drive that was in the beta since a while back too and sd scans are now limited to the folders set in a mtp_xci_locations.txt
    Is on a little hold to add a few changes + testing but the DBI >155 part is solved. It will support old and newer versions of dbi.
     
    ber71 likes this.
  5. kickmeh

    kickmeh Member
    Newcomer

    Joined:
    Jun 16, 2020
    Messages:
    40
    Country:
    Switzerland
    hopefully fspusb get update also to ams 0.14.4 to support firmware 10.2.0
     
  6. kg2

    kg2 Newbie
    Newcomer

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

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    992
    Country:
    Spain
    I plan to add upload options directly onto the google drive api, for downloads the drive mode can download currently single files converted, trimmed, etc... but should be expanded to create multis.
    The other system that also works with the program is to use a tool to mount google drive as a system unit, and then it will work as a normal drive, is slower than the api but it works.

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

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    992
    Country:
    Spain
    NSCB 1.01 release with support to DBI>=155 and other stuff.
    https://github.com/julesontheroad/NSC_BUILDER/releases/tag/1.01

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

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    992
    Country:
    Spain
    ber71 and oji like this.
  10. xHR

    xHR GBAtemp Regular
    Member

    Joined:
    Apr 20, 2013
    Messages:
    115
    Country:
    I got this, when trying to registered my GD. Could someone help me please?

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

    OP JRoad Developer
    Developer

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

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

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

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

    xHR GBAtemp Regular
    Member

    Joined:
    Apr 20, 2013
    Messages:
    115
    Country:
    Tired with MS Edge and all works flawless
    Thnx
     
  13. ressit

    ressit GBAtemp Regular
    Member

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

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    992
    Country:
    Spain
    Do you have master_key_0a in your keys.txt inside ztools? Is the one that game uses, it seems it wasn't able to retrieve the data from the cnmt.
    Just in case run the keys checker that's on the configuration.
     
    ressit likes this.
  15. Bánh Mì

    Bánh Mì Member
    Newcomer

    Joined:
    Jan 24, 2015
    Messages:
    30
    Country:
    Sir, can i ask, if i have a game is required fw 10.9.0 ( just for exemple) and my switch running fw 10.1.0 could i use ncs builder to patch the game to play on my lower fw?
     
  16. xHR

    xHR GBAtemp Regular
    Member

    Joined:
    Apr 20, 2013
    Messages:
    115
    Country:
    Hello! I am trying to get the program to work to download updates from Google Team Drive, but it does not come out yet. One update out of 4 is downloaded, the rest of the program cannot find. There are physically updates on the server, I checked through the web interface
    upload_2020-10-5_14-31-20.png
    upload_2020-10-5_14-32-3.png
     
  17. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    992
    Country:
    Spain
    Yeah it finds them at first, i changed the retrieve system because of a similar issue and that may be the reason.
    Basically before it requested all the files in the library, then added to the text file the filepath and search for it in the drive.
    It seemed that drive search for filenames couldn't find certain characters so now it adds the file id too. What that message means is that google drive isn't returning a positive answer to the request, i have to try with that usercase, but it may be due to quota, depending on the case.
    Still i'll test with mine, to discard something outside of quota.

    — Posts automatically merged - Please don't double post! —

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

    Bánh Mì Member
    Newcomer

    Joined:
    Jan 24, 2015
    Messages:
    30
    Country:
    So, its depend on the sdk make of the game, okay i get that.
     
  19. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    992
    Country:
    Spain
    Yeah but even with high sdks it may work on fws older than the sdk, it will depend on the functions that are being used by the program. Still when you see an old sdk in the game data is a sure thing, if the sdk is pretty new it has a high probability to fail.
    Also from the meta sdk version is not relevant, that's added when the game or update gets uploaded to the CDN so it's always newer, the one relevant is the program sdk number in games|updates or data sdk number in dlcs.
     
    Bánh Mì likes this.
  20. Jayro

    Jayro MediCat USB and Malwarebytes Bootable Developer
    Developer

    Joined:
    Jul 23, 2012
    Messages:
    8,140
    Country:
    United States
    I may be asking this wrong, but... Let's say II have a 500MB base game, and a 150MB update... If I apply the update to the base game, it makes a 650MB XCI/NSP...
    So my question is this: Is it possible to have the update's NCA files replace the base game's XCI's/NSP's NCA files to make the output file (base game+update) XCI/NSP smaller in size? If so, what are the steps? I feel like I'm applying these updates wrong and wasting a shitload of disk space on my computer's SSD.
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - (Game+updates+dlc, NSC_Builder, Nintendo