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

Discussion in 'Switch - ROM Hacking, Saves, Translations & Tools' started by JRoad, Nov 4, 2018.

Loading...
  1. ibbanez

    ibbanez Member

    Newcomer
    2
    Aug 3, 2018
    United States
    @JRoad And another question. Since I have a 9900k @ 5GHz, would I benefit from raising the workers=-threads to something higher than 1? Thanks.

    *** Update *** I just tested myself, and I tried 2 threads, and 4 threads. 2 or more, maxes my mechanical drive so I cut the time in half. Im sure if I were to use my NMVE drives, the more threads would greatly speed up the process. Now, is there anything negative about using more than 1 thread sir? Thanks.

    ***Update *** Doing more testing. It seemed to of slow down, so I don't know if my CPU or OS was caching the data, but Im still testing out. Now Im not seeing the huge increases that I was seeing. Ohh well. Back to testing.
     
    Last edited by ibbanez, Sep 28, 2019
    Bama likes this.
  2. ibbanez

    ibbanez Member

    Newcomer
    2
    Aug 3, 2018
    United States
    @JRoad Sorry for all the questions, but as I'm testing a whole lot, I keep coming into more questions. Usually a game that has been combined, it'll say (1G+1U+xD).. I've come across a few that are listed like (1G 1U) without the + in-between. Does that mean something? Like possibly that they are different ID's or don't go together? or that it was made with an older version? Thanks.
     
  3. gizmomelb

    gizmomelb GBAtemp Advanced Fan

    Member
    7
    Jul 13, 2006
    Australia
    there appears to be an issue with custom XCIs and SX OS 2.9 XCI loading - unknown if this can be worked around by NSC or not, but by the time you read this you're probably already going to know all about it. Cheers and thank you for an awesome utility!
     
  4. JRoad
    OP

    JRoad Developer

    pip Developer
    8
    May 18, 2018
    Spain
    It didn't happened to me. Is a bug if it happened.
    Was told that the issue was loading them from HDD, not sure.
    Well they always need to fix things from the first release. If they don't fix it I'll update and check if the old system works. Old system is the [lc] nsp to install tickets + nca without modification inside. If that work all xci can be converted to that format again.
     
    darkseekerliu and gizmomelb like this.
  5. JordenNixNix

    JordenNixNix GBAtemp Regular

    Member
    3
    Feb 11, 2012
    Belgium
    I having issues updating my custom .xci file.
    Every time it try to update my custom xci with an update and new dlc, I always got an exception while trying to add the new content to the existing custom file.

    [​IMG]

    "Exception: object of type 'NoneType' has no len()"

    The output file is the old custom xci file without the new content. I tried this on NSCB_90b and NSCB_081d, both 64-bit versions. I checked my key file manually and let NSCB verify it and it seems to be fine. I built many other custom xci in the past with this tool but for some reason, it always fails to update this one.
    The update and dlc seems to be fine, since they can be installed.

    It is pretty frustrating and time consuming to wait and ending up with an exception.
    Any advice what could possibly went wrong?


    More info, not that I think it matter:
    Warning: Spoilers inside!
     
  6. JRoad
    OP

    JRoad Developer

    pip Developer
    8
    May 18, 2018
    Spain
    You're just missing keys. That's the typical error from when you don't have the masterkey needed to decrypt some game.
    In mode 0:: Configuration there's a key checker that will tell you what you miss till masterkey8. The update that will come this weekend will add the masterkey9 hash and check, though that one isn't needed yet.
    Sorry didn't realized you said you checked it but the AES error is indicative of a key error.
    I also know that some bad FE dlcs where redistributed before because they updated the titlerights but I don't think you would get that error with them.

    New thing I realized from your screenshot. It fails when trying to decrypt with masterkeyrev8 which is keygeneration=8 ->master_key_07. So the error is on that masterkey.
     
    Last edited by JRoad, Sep 28, 2019
  7. huma_dawii

    huma_dawii GBAtemp Psycho!

    Member
    11
    Apr 3, 2014
    United States
    Planet Earth
    Rumor going around that Custom XCI (aka what we are using) are not working on the latest 2.9 / 9.0.0 SX OS!
     
  8. JRoad
    OP

    JRoad Developer

    pip Developer
    8
    May 18, 2018
    Spain
    Yep and converts and a ton of stuff. IMaybe the old ones that used external tickets would work, if needed i can make something to generate [lc].nsp and modify the xcis infile after 0.91 though I expect them fixing it, we all know how the first beta after a FW update has issues.
     
    Bama, 18Phoenix and ibbanez like this.
  9. ibbanez

    ibbanez Member

    Newcomer
    2
    Aug 3, 2018
    United States
    And thats why Im not updating right now. It works as is, so im good. :)
     
    Bama likes this.
  10. huma_dawii

    huma_dawii GBAtemp Psycho!

    Member
    11
    Apr 3, 2014
    United States
    Planet Earth
    Yeah lets wait and see if they fix it before jumping on stuff :) thank you,
     
  11. JRoad
    OP

    JRoad Developer

    pip Developer
    8
    May 18, 2018
    Spain
    @ibbanez I realize i forgot to answer some of your questions.
    Workers were only working for renames and the dabase functions. I did something in the renames and messed it up s currently it only works with the database and it works with verification but i have to tweak it before adding it. Is a test and needs some work for a moment in which i have some time for it

    About the nutdb zip is just the nutdb database with the configuration change to update on a long time, more or less. The database is autoupdated normally each 24h but you can set up the time in the two files from zconfig that say "NUT_DB". Either way in 0.91 i'll add a force update and i added a check for 404 errors in which if the files can't be retrieved online they don't get overwritten, still i keep adding that zip for people that want it.
     
  12. ibbanez

    ibbanez Member

    Newcomer
    2
    Aug 3, 2018
    United States
    Hey guys, for those that patched the linked account requirement out. What is the community consensus, write it directly to the file or to a separate file? And if separate file, where do you place this file on the switch? Thanks.
     
  13. Important Posts 0.91 pics
    JRoad
    OP

    JRoad Developer

    pip Developer
    8
    May 18, 2018
    Spain
    NSC_BUILDER v0.91. Introducing NSCB File_Info:
    Tip add keys.txt to ztools before booting the interface.
    - 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.
    See Instructions in github:
    https://github.com/julesontheroad/NSC_BUILDER/releases/tag/v0.91
    FI1.PNG

    FI2.PNG FI3.PNG FI4.PNG FI5.PNG FI6.PNG FI7.PNG FI8.PNG FI9.PNG FI10.PNG FI11.PNG FI12.PNG FI13.PNG FI14.PNG FI15.PNG
     
    Last edited by JRoad, Sep 29, 2019
  14. gizmomelb

    gizmomelb GBAtemp Advanced Fan

    Member
    7
    Jul 13, 2006
    Australia
    very nice update!! thank you for the work put into it.
     
  15. huma_dawii

    huma_dawii GBAtemp Psycho!

    Member
    11
    Apr 3, 2014
    United States
    Planet Earth
    What is this a GUI?
     
  16. JRoad
    OP

    JRoad Developer

    pip Developer
    8
    May 18, 2018
    Spain
    For file information, xci explorer style basically. It also does verification till level 2, for hashing you still need the bat.
    Runs over a chrome\chromium installation or adding chromium portable to ztools\Chromium following the instructions from GitHub.
     
    Bama and 18Phoenix like this.
  17. ibbanez

    ibbanez Member

    Newcomer
    2
    Aug 3, 2018
    United States
    Thanks for the update. This is cool, as I was constantly using Switch Manager to test if the games were readable after the conversion. This is all the more convenient now. You are doing great things, and I love your software. A+++ from me.
     
  18. 18Phoenix

    18Phoenix GBAtemp Advanced Fan

    Member
    6
    Nov 21, 2005
    Germany
    Awesome, @JRoad , very nice, great job, fantastic look :):bow:
    Have fun with going on adding the other menu points :D

    I'm a SX OS user and read a lot about HUGE problems with the new 2.9 beta. Good that I didn't update yet.
    The new update burns game-card-FW fuses. With that you're not able to use the slot in lower FW.
    I also read that a lot have been banned immediately after going online and using the slot.
     
    Last edited by 18Phoenix, Sep 30, 2019
  19. 18Phoenix

    18Phoenix GBAtemp Advanced Fan

    Member
    6
    Nov 21, 2005
    Germany
    Whoooow, you added a lot nice stuff in the new GUI.
    Are the pictures in the files or out of the net ?
    I think there'll come a lot optimizations.

    - Could the DOS windows be hidden or minimized somehow ? (start /min ...)
    - Drag&drop for single files would be very nice
    - System language selection for icon and description would be veeeeeery nice (would be luxury)
    - verification text: colours for words like correct (green), modified (orange), corrupt (red)
    - A visible scrollbar just to know that there's more text
    - Disable the top right menu by clicking somewhere else (not only by clicking the menu button again).
    But this menu isn't currently working anyway, right.
     
    Last edited by 18Phoenix, Sep 30, 2019
  20. JRoad
    OP

    JRoad Developer

    pip Developer
    8
    May 18, 2018
    Spain
    1.- GameIcons are read from the files, with the exception of dlcs that don't have them. For dlcs they are read from Nintendo.com.
    For the pictures from the gallery
    2.- The problem with drag and drop is that is html, it would give a fake rounte, i'm using tkinter (python gui module) to get the files.
    3.- The idea is to add a configuration for languages via a json that would also control the db and fields languages.
    4.- I'm kinda deactivating the scrollbast since i thought it was ugly, maybe some css can fix it though. Either way y plan to output the css to a external file for theming.
    5.- That's doable with javascript I guess, and yes that menu is a mockup currently.
     
    Last edited by JRoad, Sep 30, 2019
    18Phoenix likes this.
Quick Reply
Draft saved Draft deleted
Loading...