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

    markmcrobie GBAtemp Advanced Fan

    Member
    6
    May 24, 2008
    I'm super banned, so don't need to need to worry about it anyway :rofl2:

    Can you add 2 new options:

    1. Incorporate File Joiner mode into mode 2, so that we can load xc0 files as well as xci? I know mode 2 can split >4GB files, would be good if it could also re-join them. Mode 7 does this perfectly so is it as easy as just combining them?
    2. Mode 1 seems to leave filenames of resulting XCIs the same as the original file name. Would be good if it could name files the same way as mode 2 defaults to, i.e. <name> [ID] (version, update, etc).xci. I like this format of naming, so I use mode 2 even if I just have a single nsp/xci to process.
     
  2. markmcrobie

    markmcrobie GBAtemp Advanced Fan

    Member
    6
    May 24, 2008
    What's option 4 under Special Options in Mode 2 for? Called "unmodified" or something similar.

    Also, when repacking as an NSP, what does the [rr] in the output filename mean?
     
    Last edited by markmcrobie, Sep 7, 2019
  3. markmcrobie

    markmcrobie GBAtemp Advanced Fan

    Member
    6
    May 24, 2008
    Is there any difference between converting an XCI to NSP using NCSB and installing it, versus using SX OS (or similar) to install the XCI?
     
  4. JRoad
    OP

    JRoad Developer

    pip Developer
    8
    May 18, 2018
    Spain
    I can add an option to call the renamer after the file creation automatically, to not rename the files was intentional basically.
    A similar result can be made with mode 2 separating files by baseid, that separates the list by games.
    About the joiner the issue is that it won't be something directly. I separated it to a new mode to not mix those file types when building the list basically.

    Rights Removed, is the old mode it removes the need of tickets or convert from xci. Unmodified only takes unmodified nsps (ncas) and respects the tickets. I can create multicontent nsps that t tinfoil.io can verify without activating the "unsigned code" option.

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

    SX OS rommenu you can call it the more proper way, it doesn't change the isgamecard flag so the nca are unmodified. The disadvantage is that if you change to ReiNX or Atmosphere those game won't work since they lack those patches.
    Now SX installer, tinfoil.io,lithium and NSCB changes isgamecard to 0 that means they work in all CFW with the proper patches.
    If you use only eShop to xci converts I don't change the isgamecard to 1 so even with rommenu they will work on all CFW, if you use proper xci that won't, if you change back a file that was converted to nsp to xci with NSCB it restores the isgamecard to it's original state so the first issue will happen again I could add a non restoration option,the way the verification is handled it wouldn't matter.

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

    Weird, I will try to do one myself for Spyro but I tested the splitter recently.
     
  5. markmcrobie

    markmcrobie GBAtemp Advanced Fan

    Member
    6
    May 24, 2008
    So I created an unmodified NSP of NBA2K20 (7GB base XCI and 32GB update NSP) and the resulting file was 32GB. If I create an XCI or TNSP, it's 40GB. 8GB is a big saving, but should I be using the 40GB one?

    As a side note, SX OS crashes with any of these 2 NSP files or the 40GB XCI file in the sxos/games folder (Switch error 2168-0002). SX Installer seems to install the NSP just fine though.
     
  6. 18Phoenix

    18Phoenix GBAtemp Advanced Fan

    Member
    6
    Nov 21, 2005
    Germany
    Could you please expain short what this nut Database is exactly used for ?
    Till now everything worked fine, so what are the improvements ?
     
  7. LalalaBro

    LalalaBro Newbie

    Newcomer
    1
    Sep 9, 2019
    Indonesia
    Hey. Any update regarding this? I happen to get the same error code as you when mounting and opening custom XCIs I made myself. But the problem isn't there when I tried mounting and opening custom XCIs downloaded from the internet.
     
  8. JRoad
    OP

    JRoad Developer

    pip Developer
    8
    May 18, 2018
    Spain
    Obviously that xci wan't correctly created for some reason. Anyway SX OS won't currently support any xci bigger than 32GB

    DLC naming, games descriptions in game info and genres. It'll be replaced by one format i've been working on that has more data since nut takes the data from the eshop but i want to include a permanent database that includes all the interesting data we can get from the files.
    I've been working on that and autofunctions that, for example autoupdates your xcis when files enter in your library. I'll also will be to add games to your list from your library, like -> Search all games in english, genre Adventure, exclude japanese games or just search a game from name or baseid.
    For example, search X baseid and add to the list all games matching from your library file...

    The error is in your console, i don't have tickets installed and i can play yhe games fine as xci. Someone reported me a similar error and it was due to stuck data in the console, he solved it va a factory reset though i imagine there are easier ways to solve the issue. Either way is console side basically.
    Note: The reply is directed to your previous issue though. Now if for the "same game", you don't get the issue with xcis not made by yourself and when you made them you have that issue the only explanation would be removed ticket without removing titlerights, something that i don't see how it could be possible in recent versions. I could understand bad keys making a bad xci but not a good xci without titlerights removed.
     
    Last edited by JRoad, Sep 9, 2019
    LalalaBro and 18Phoenix like this.
  9. LalalaBro

    LalalaBro Newbie

    Newcomer
    1
    Sep 9, 2019
    Indonesia
    This turned out to be the case. There seems to be residual data stuck in my emunand, resolved the issue by reformatting my SD card then reinstalling emunand from a fresh sysnand backup. Thanks for replying!
     
  10. GameSystem

    GameSystem GBAtemp Advanced Fan

    Member
    7
    Sep 14, 2009
    United States
    A little help please. I keep getting the error
    Code:
    Getting NUTDB json
    Exception: [Errno9] Bad file descriptor
    I downloaded the json files and put them in the zconfig\DB folder, but it doesn't seem to work.
     
  11. JRoad
    OP

    JRoad Developer

    pip Developer
    8
    May 18, 2018
    Spain
    Try with these, I just updated the db:
    https://www.mediafire.com/file/80i81u6afd6gvtv/NSB_90bx64.zip/file
    https://www.mediafire.com/file/nb7grepspssibrg/NSB_90bx86.zip/file
    It's set with the normal config so it will update every 24h the db, if you want a higher value edit the config files in zconfig. I didn't have time yet to add a fallback in case something weird happens with the db in 0.90
     
  12. GameSystem

    GameSystem GBAtemp Advanced Fan

    Member
    7
    Sep 14, 2009
    United States
    I think it worked, but now I get this
    Untitled.

    Still getting
    Getting NUTDB json "America"
    Exception: [Errno 9] Bad file descriptor
     
    Last edited by GameSystem, Sep 10, 2019
  13. JRoad
    OP

    JRoad Developer

    pip Developer
    8
    May 18, 2018
    Spain
    It's saying it can't make the info dir. Either way that's for file-info. The function to patch the nacp is in advanced. Is the funtion number 5 from the advanced mode (mode 6).
    I think your issue will solve itself if you do the INFO directory manually, i don't know why the program can't get permissions to do that. It should go in the root. NSCB\INFO\ I'll check later if it's an issue due to pyinstaller or something, I normally use the python version.

    flow.PNG

    Hmm, I'm not getting the error without the INFO directory, it's creating it fine in my end. Just in case verify your keys.txt. Is in the configuration mode (0) and then 3.
    keys verify.PNG
     
    GameSystem likes this.
  14. GameSystem

    GameSystem GBAtemp Advanced Fan

    Member
    7
    Sep 14, 2009
    United States
    @JRoad everything is working perfectly now. I tried to run it from desktop and that's why it didn't work. I wish people would specify where it goes from the beginning haha.
    I moved the folder to Users\myprofile\NSCB and it worked.
    Untitled.
     
    Last edited by GameSystem, Sep 10, 2019
  15. JRoad
    OP

    JRoad Developer

    pip Developer
    8
    May 18, 2018
    Spain
    Ah I have to add that to the readme. I saw that issue before, the desktop works a little like symlinks and can mess things up.
     
    GameSystem likes this.
  16. phantomrabbit

    phantomrabbit Member

    Newcomer
    1
    Sep 11, 2019
    United States
    Hi sir I have a problem regarding after I install my nsp game "DIABLO III" and when I try to open it it keep asking me to turn off my airplane mode. is there a way to bypass it? I'm currently cfw 8.1 and my FW is 4.1 Ipatched. I hope you can help me cause I don't know what to do anymore please help me thanks
     
  17. Bruno1982

    Bruno1982 Newbie

    Newcomer
    1
    Sep 11, 2019
    Portugal
    hello i need some help, how can i modify a costum xci , i want to now if it´s possivel to remove one update and insert another.
     
  18. JRoad
    OP

    JRoad Developer

    pip Developer
    8
    May 18, 2018
    Spain
    JUst use the multimode with the xci and the new update\dlcs. The program autoselects the newer content from the files you feed it.
    The old mode that removes the update before adding the new content is in "Legacy" (Pressing L when you enter the batch, but is not needed anymore and is slower).

    It should let you skip the turn on airplane mode. The only instance i heard of not letting people skip the message is when someone tries to enter in a game without the appropriate patches. Then the game will keep asking you to turn wifi on even if you later added the patches apparently. The solution is to uninstall, add the patches and try to boot the game again.

    I don't know which CFW you're using. ReiNX and SX OS include all the patches. While atmosphere and Hekate\kosmos have different recommended patches.

    For atmosphere recommended patches are:
    https://gbatemp.net/threads/i-heard-that-you-guys-need-some-sweet-patches-for-atmosphere.521164/

    For kosmos\hekate 5.0 recommended patches are:
    https://github.com/Joonie86/hekate/releases/tag/5.0.0J

    Also if you use hekate is recommended to use Hekate 5.0 if you're using an older hekate since old one supports less patches.
     
    Bruno1982 likes this.
  19. alba93

    alba93 Member

    Newcomer
    3
    Feb 2, 2019
    France
    hello,
    i use an old version of NSCB
    I tried to update it with the last version on Github but i can't find the "update mode" anymore.
    Is this feature still existing?
    I found it in the legacy mode but where can i find it without accessing to the old functions
    thanks
     
  20. JRoad
    OP

    JRoad Developer

    pip Developer
    8
    May 18, 2018
    Spain
    It's not needed. I literally gave the reason in the message above yours. Multimode handles that with a better approach.
     
Quick Reply
Draft saved Draft deleted
Loading...