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. 18Phoenix

    18Phoenix GBAtemp Advanced Fan

    Member
    6
    Nov 21, 2005
    Germany
    Hi, @JRoad,
    thanks again for you awesome work and your wish for optimization :bow:
    what I use veeeeery often and is very helpfull is still the function "rebuild nsp by cnmt order",
    so that I can check NSPs with the small but nice XCI-Explorer.
    I think many other options like build a XCI out of a pack of files are used often.
    Here my little wish:
    Could it be possible to add an extra dra&drop-bat for single functions.
    I made it once myself by just chancel the selections and give the next step.
    But that worked only for snigle files to repair them (add xml) but not for folders with more files.
    Perhaps an extra folder with drag'n'drop batches - would be extremly cool and nice :D
     
  2. alba93

    alba93 Member

    Newcomer
    3
    Feb 2, 2019
    France
    thanks for your feedback
    sorry i posted a quick reply and i didn't see your last message with the answer to my question
     
  3. adventezenn

    adventezenn Newbie

    Newcomer
    1
    Sep 15, 2019
    Canada
    Hello

    Quick question here and forgive me if im asking a silly question.

    Love the tool and am using it daily. I run SX os as i prefer to have xci mounting when in docked mode for selection purposes.

    Anyways I love the tool , but currently use linux for work, the only thing keeping me using a windows dual boot and eating up space is literally this tool. I have tried using a app called crossover but cant drag the files or folders into the window.

    IVe googled quite a bit and havent found any answers, so was wondering if anyone had any tips or tricks so i can end my dreaded dual boot? Please dont tell me to just dualboot .etc as for work purposes having windows is a issue and i cant stand it tbh... Its a personal chice.

    again sorry if this is the wrong place or a unwelcome question.
     
  4. JRoad
    OP

    JRoad GBAtemp Advanced Fan

    Member
    7
    May 18, 2018
    Spain
    I'll eventually add a command line interface to squirrel, steps are being taken that way currently.

    Yeah i thought about this before but need to add more things to auto. What is currently in auto can be done easilly by using multiple profiles with profile linking.
    Remember that you can clone the batch and the NSCB_options.cmd file. Then you rename them like:
    mymainbatch.bat and mymainbatch_options.cmd and you can configure that batch trough options. Then you can have both together with the original batch.

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

    @adventezenn I forgot to tell you that virtualbox works fine with drag and drop, i imagine vmware would too.
     
    18Phoenix likes this.
  5. Neuil49

    Neuil49 Newbie

    Newcomer
    3
    Dec 27, 2015
    France
    Hello and first of all thank you so much for your work on this tool!

    Since V0.90 NSC_Builder didn't want to rename all the files in a directory. after the first file the path was wrong with double "\\".

    I've modified NSCB.bat line 1200 (py version) removing the rem to make it possible again.
    rem %pycommand% "%nut%" --strip_lines "%prog_dir%list.txt" "1" "true"

    May need a look
     
    Last edited by Neuil49, Sep 17, 2019
  6. 18Phoenix

    18Phoenix GBAtemp Advanced Fan

    Member
    6
    Nov 21, 2005
    Germany
    Are there new keys coming with FW 9.0.0 ???
     
  7. Moquedami

    Moquedami GBAtemp Fan

    Member
    5
    Nov 16, 2006
    Argentina
    I´ve been having problems converting recent releases like Ellen, Sinking city and River City Girls to XCI.
    Every other game i converted worked fine but these give a corrupt error when i trry to launch them.
    Anyone else experiencing this?
     
  8. JRoad
    OP

    JRoad GBAtemp Advanced Fan

    Member
    7
    May 18, 2018
    Spain
    Did you check you have the keys those need?
    Ok, I'll take a look. I don't remember putting a rem in the python function, at least my intention was to add it to the one that used windows to strip items from the lists, the one that uses "more".

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

    Yes, I'll add the hash with the new release but I think even master_key_08 wasn't used yet.

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

    Actually I think I know what the issue may be. If you up threads over 1 the function that creada threads strips the list but I modified it after to only launch when there's more than one thread used.
    Can you try upping the workers in the config to 2 or more?
    I'll fix it later anyway but I think that's the issue.
     
    18Phoenix likes this.
  9. Moquedami

    Moquedami GBAtemp Fan

    Member
    5
    Nov 16, 2006
    Argentina
    I though i had every key up to 08
    How can i check wich key do these games need?
     
  10. JRoad
    OP

    JRoad GBAtemp Advanced Fan

    Member
    7
    May 18, 2018
    Spain
    In the info functions. You can also verify all keys till masterkey8 in the program configuration. And finally something usefull to debug this is if you verify both the original files and the new files with the verify function.
    Mode 4 - File Info -> Verify or Mode 1 - Verify to mass verify files.

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

    Commited the fix to github. I'll do a "C" version later but for now the fix is to replace that line by:
    if "%workers%" EQU "-threads 1" ( %pycommand% "%nut%" --strip_lines "%prog_dir%list.txt" "1" "true" )
    That will strip the processed file when you aren't using several instances to process them faster.
     
    Neuil49 likes this.
  11. Moquedami

    Moquedami GBAtemp Fan

    Member
    5
    Nov 16, 2006
    Argentina
    Thanks for your answer. Im going to try this when i get home today.
    Thank you for this awesome program!
     
  12. mav2010

    mav2010 Advanced Member

    Newcomer
    4
    May 29, 2018
    Germany
    I have the very same issue with Gear Club Unlimited 2. Using normal XCI and NSP as basis with update 1.1.0, everything works fine. Every update from 1.2.0 upwards leads to the issue mentioned by Moquedami. Installing the XCI/NSP + update manually onto the SD card works perfectly fine.

    Verification for all files is fine, keys are all present.

    Any other ideas what I could still try?
     
  13. atomik22

    atomik22 Member

    Newcomer
    1
    Dec 18, 2014
    Canada
    Thanks!
     
  14. JRoad
    OP

    JRoad GBAtemp Advanced Fan

    Member
    7
    May 18, 2018
    Spain
    @Neuil49 So apparently i messed up something when making 0.90b or the final 0.90 because i broke multithreading for renames, it works in the database fine. I'll fix it when i have time to spare since it's not evident, i blocked it for now.
    https://github.com/julesontheroad/NSC_BUILDER/releases/tag/v0.90c

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

    Gear Club 2 working fine on my end, all dlcs are v0 so no idea what your issue can be exactly, unless you had it installed before, some users had issues with data being catched when they had installed the game previously and the game had tickets and they solved it with a factory reset, though i don't think that's actually necessary.
    I tested a xci including this:
    ------------------------------------------------
    BASE CONTENT ID: 010072900aff0000
    ------------------------------------------------
    Name: Gear.Club Unlimited 2
    Editor: Micro ïds
    ------------------------------------------------
    010072900aff0000 [BASE] v0
    010072900aff0800 [UPD] v458752 -> Patch(7)
    010072900aff1002 [DLC 2] v0
    010072900aff1004 [DLC 4] v0
    010072900aff1005 [DLC 5] v0
    010072900aff1008 [DLC 8] v0
    010072900aff100a [DLC 10] v0
    010072900aff100d [DLC 13] v0
    010072900aff100e [DLC 14] v0
    010072900aff100f [DLC 15] v0
    010072900aff1010 [DLC 16] v0
    010072900aff1013 [DLC 19] v0
    010072900aff1017 [DLC 23] v0
    010072900aff101a [DLC 26] v0
    010072900aff101e [DLC 30] v0
    010072900aff101f [DLC 31] v0
    010072900aff1020 [DLC 32] v0
    010072900aff1021 [DLC 33] v0
    010072900aff1022 [DLC 34] v0
    010072900aff1023 [DLC 35] v0
    ------------------------------------------------
    CONTENT INCLUDES: 1 BASEGAME 1 UPDATES 18 DLCS
    ------------------------------------------------

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

    Also tested Ellen and working fine on my end, need to test Sinking City and River City Girls.
     
    18Phoenix likes this.
  15. mav2010

    mav2010 Advanced Member

    Newcomer
    4
    May 29, 2018
    Germany
    That's a good point. I actually had it installed before. How can I remove the data/tickets without a factory reset? Clearing cache I tried already, but to no avail.
     
  16. JRoad
    OP

    JRoad GBAtemp Advanced Fan

    Member
    7
    May 18, 2018
    Spain
    The ticket should be deleted by tinfoil.io version of tinfoil, try with that that uninstalling the game, not only archiving it.
    It's a weird issue actually. I never encountered it myself.
     
  17. mav2010

    mav2010 Advanced Member

    Newcomer
    4
    May 29, 2018
    Germany
    OK, I just managed to fix it. I reinstalled the game once more (to SD, before it was installed to NAND) and then deleted it again in the normal switch system settings. Now the generated XCI works flawlessly! Whatever...

    Anyway - thanks for the hint into the direction and the great and ever improving tool!
     
  18. JRoad
    OP

    JRoad GBAtemp Advanced Fan

    Member
    7
    May 18, 2018
    Spain
    Cool, now we know a proper way to fix it if it happens to other user. The Factory Reset method seemed excesive.
     
  19. disown

    disown Member

    Newcomer
    1
    Jun 22, 2019
    United States
    Fat32 mode fails to split properly for "AI: The Somnium Files".
    1 part is very slightly bigger than the Fat32 limit.
     
  20. disown

    disown Member

    Newcomer
    1
    Jun 22, 2019
    United States
    More on the issue I described above:

    _If I drag the NSP file directly over the "NSCB.bat" file -> the split is improper with 1 part being bigger than the Fat32 limit

    _If I put the same NSP file into a new folder, then drag this folder over the "NSCB.bat" file -> the split is proper

    Very strange indeed, putting the file into a folder shouldn't make any different, but it does.
    With this workaround, the issue is fixed.
     
Quick Reply
Draft saved Draft deleted
Loading...