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.

  1. sergux

    sergux Advanced Member

    Newcomer
    2
    Jul 14, 2018
    Afghanistan
    __ _ __ __
    ____ _____ ____ / /_ __ __(_) /___/ /__ _____
    / __ \/ ___/ ___/ / __ \/ / / / / / __ / _ \/ ___/
    / / / (__ ) /__ / /_/ / /_/ / / / /_/ / __/ /
    /_/ /_/____/\___/____/_.___/\__,_/_/_/\__,_/\___/_/
    /_____/
    --------------------------------------------------------------------------------
    -----
    NINTENDO SWITCH CLEANER AND BUILDER
    --------------------------------------------------------------------------------
    -----
    ============================= BY JULESONTHEROAD ========================
    =====
    --------------------------------------------------------------------------------
    -----
    " POWERED WITH NUT BY BLAWAR
    "
    " AND LUCA FRAGA'S HACBUILD
    "
    VERSION 0.78
    --------------------------------------------------------------------------------
    -----
    Program's github: https://github.com/julesontheroad/NSC_BUILDER
    Revised hacbuild: https://github.com/julesontheroad/hacbuild
    Blawar's NUT : https://github.com/blawar/nut
    SciresM hactool : https://github.com/SciresM/hactool
    --------------------------------------------------------------------------------
    -----
    Processing E:\NSCB\Valkyria_Chronicles.nsp

    ,;:;;,
    ;;;;;
    .=', ;:;;:,
    /_', "=. ';:;:;
    @=:__, \,;:;:'
    _(\.= ;:;;'
    `"_( _/="`
    `"'
    NSP HAS TITLERIGHTS AND TICKET EXISTS
    rightsId = 0x100caf00b7440000000000000000005
    titleKeyDec = b'208e3a3d8afbd0c3033484b2435bf246'
    masterKeyRev = 0x5
    Copying files:

    Copying: 614644462fecc9153934145c7c0fd63b.nca
    Removing titlerights for 614644462fecc9153934145c7c0fd63b.nca
    Writing masterKeyRev for 614644462fecc9153934145c7c0fd63b.nca, 5

    3F 53 7A 8D 75 90 31 66 15 60 71 36 EC 47 FB 85 | ?Sz.u.1f.`q6.G.. |
    3F 53 7A 8D 75 90 31 66 15 60 71 36 EC 47 FB 85 | ?Sz.u.1f.`q6.G.. |
    3F 53 7A 8D 75 90 31 66 15 60 71 36 EC 47 FB 85 | ?Sz.u.1f.`q6.G.. |
    3F 53 7A 8D 75 90 31 66 15 60 71 36 EC 47 FB 85 | ?Sz.u.1f.`q6.G.. |


    -> Copying: 155a11c5f3c9737fb541d5b19e36929a.nca

    Copying: 0a518d343dcf14155ed694c63caac86d.nca
    Removing titlerights for 0a518d343dcf14155ed694c63caac86d.nca
    Writing masterKeyRev for 0a518d343dcf14155ed694c63caac86d.nca, 5

    3F 53 7A 8D 75 90 31 66 15 60 71 36 EC 47 FB 85 | ?Sz.u.1f.`q6.G.. |
    3F 53 7A 8D 75 90 31 66 15 60 71 36 EC 47 FB 85 | ?Sz.u.1f.`q6.G.. |
    3F 53 7A 8D 75 90 31 66 15 60 71 36 EC 47 FB 85 | ?Sz.u.1f.`q6.G.. |
    3F 53 7A 8D 75 90 31 66 15 60 71 36 EC 47 FB 85 | ?Sz.u.1f.`q6.G.. |


    -> Copying: 19f556dce84cf4e9a890df75b941533d.cnmt.nca

    -> Copying: 1539de54dc0db34dcdb667ff4e700002.nca

    Making zip for E:\NSCB\Valkyria_Chronicles.nsp

    -----------------
    Repacking as nsp
    -----------------
    Its stuck in this process since more than a couple of hours, any advice? i just want convert nsp to xci to read them from hdd
     
  2. JRoad
    OP

    JRoad GBAtemp Fan

    Member
    5
    May 18, 2018
    Spain
    Click on the console an press enter you probably touched the console while it was working and freezed the program, a Windows issue. It gets solved pressing enter. Though I would've just close the console and tried again XD it won't take that long with any file.
    And try to not add the part with the decrypted key in gbatemp, dunno about their policy regarding that. If you want to add the full log just PM it to me the next time.
     
  3. jf_saturos

    jf_saturos Newbie

    Newcomer
    1
    Dec 5, 2018
    Spain
    I have the same problem, Do you still have the problem?
     
    Last edited by jf_saturos, Jan 9, 2019
  4. angelhp

    angelhp GBAtemp Fan

    Member
    4
    Nov 30, 2014
    Yes, I still have the same problem.
    Do you have a linked account?
     
  5. IBNobody

    IBNobody I try to keep myself amused.

    Member
    5
    Nov 16, 2006
    United States
    Texas, Hang 'Em High
    This utility worked like a charm. I stumbled on it, played around with it, and was able to patch a 6.2 update nsp back down to 5.10 without any issues (or without a guide to follow). Thanks @JRoad .

    My only suggestion would be to better advertise the RSV patching feature in the opening post. I've seen a lot of confusion from people trying to figure out how some of the game updates were being pre-patched to work on 5.10. Adding a blurb saying that you can use your utility to repack and patch the RSV to allow usage on older FWs might help alleviate that confusion.
     
  6. Moquedami

    Moquedami GBAtemp Fan

    Member
    5
    Nov 16, 2006
    Argentina
    wow, i didnt know this could patch the games to run with an older firmware.
    Yesterday i updated to play Gris because it wouldnt allow me to install it
     
  7. jf_saturos

    jf_saturos Newbie

    Newcomer
    1
    Dec 5, 2018
    Spain
    No I don't have a linked account. But I don't know how can I do it without ban risk
     
  8. IBNobody

    IBNobody I try to keep myself amused.

    Member
    5
    Nov 16, 2006
    United States
    Texas, Hang 'Em High
    Yeah, Gris was the second thing I tried this on. Gris and its update are tied to masterkey 6.2, but NSC_Builder was able to repack the NSPs and allow them to be installed on 5.10. I was very pleased.
     
  9. Moquedami

    Moquedami GBAtemp Fan

    Member
    5
    Nov 16, 2006
    Argentina
    oh, i wish i knew this!
    As you said before, it is a very convenient feature and should be advertised
     
    IBNobody likes this.
  10. DaRockLobsta

    DaRockLobsta Newbie

    Newcomer
    1
    Jan 10, 2019
    Bangladesh
    Traceback (most recent call last):
    File "C:\Users\\Desktop\Custom XCI\NSC_BUILDER-master\ztools\squirrel.py", line 38, in <module>
    import Titles
    File "lib\Titles.py", line 7, in <module>
    import Title
    File "lib\Title.py", line 15, in <module>
    import Nsps
    File "lib\Nsps.py", line 4, in <module>
    import Fs
    File "C:\Users\Desktop\Custom XCI\NSC_BUILDER-master\ztools\Fs\__init__.py", line 1, in <module>
    from Fs.Xci import Xci
    File "C:\Users\\Desktop\Custom XCI\NSC_BUILDER-master\ztools\Fs\Xci.py", line 2, in <module>
    from Fs.Hfs0 import Hfs0
    File "C:\Users\\Desktop\Custom XCI\NSC_BUILDER-master\ztools\Fs\Hfs0.py", line 10, in <module>
    from Fs.Pfs0 import Pfs0
    File "C:\Users\\Desktop\Custom XCI\NSC_BUILDER-master\ztools\Fs\Pfs0.py", line 13, in <module>
    import Keys
    File "lib\Keys.py", line 92, in <module>
    load('keys.txt')
    File "lib\Keys.py", line 84, in load
    titleKeks.append(crypto.decrypt(uhx(keys['titlekek_source'])).hex())
    KeyError: 'titlekek_source'


    i get this error whenever i try to do anything
     
  11. JRoad
    OP

    JRoad GBAtemp Fan

    Member
    5
    May 18, 2018
    Spain
    It's telling you your "titlekek_source" is wrong or missing.
     
  12. JRoad
    OP

    JRoad GBAtemp Fan

    Member
    5
    May 18, 2018
    Spain
    Yeah I know I need to update all my readme and to do a proper FAQ. I was terribly busy this last month, that's why it hasn't been much progress in the program either. Let's hope I have some time in the following weeks to get done the things I've been working on.
     
    IBNobody likes this.
  13. angelhp

    angelhp GBAtemp Fan

    Member
    4
    Nov 30, 2014
    Well, I think, that must be the problem.I do not have a linked account either.
     
  14. JRoad
    OP

    JRoad GBAtemp Fan

    Member
    5
    May 18, 2018
    Spain
    I wasn't buying the link account thing since I remember NES online asked for it before starting the game but now that I remember some games ask for it ingame. It may be a combination of not being able to connect and not having a linked account, you may be right.
     
  15. angelhp

    angelhp GBAtemp Fan

    Member
    4
    Nov 30, 2014
    Would it be possible to patch the linked account in some way?
    I have saw youtube for example
     
  16. JRoad
    OP

    JRoad GBAtemp Fan

    Member
    5
    May 18, 2018
    Spain
    Maybe. I didn't really look into those control flags, though I seem to remember YouTube case was a little different. I think it didn't need just a linked account but a non banned device.
     
  17. angelhp

    angelhp GBAtemp Fan

    Member
    4
    Nov 30, 2014
    it Is possible patch youtube for banned consoles

    YouTube (patched for banned consoles)search on Google
    I have ban console and this run very well
     
    Last edited by angelhp, Jan 11, 2019
  18. JRoad
    OP

    JRoad GBAtemp Fan

    Member
    5
    May 18, 2018
    Spain
    Yeah I know XD. I meant it's not exactly the same restriction.
     
  19. 18Phoenix

    18Phoenix GBAtemp Regular

    Member
    4
    Nov 21, 2005
    Germany
    One more thing you don't seem to know:
    Just update your Switch to the newest firmware !!! It makes no sense to keep an old one.

    You can't await that all games run on lower FW just by patching them.
    The FW doesn't only change their number, there're many changes.
    I'm always on the newest FW, solong it has CFW support. And all support the new FW now.
    Staying on an old FW gives you less functions, less compatibility and makes all MUCH more complicated.


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


    So just start OFW and link it.
    Needs 100 times less time than you've invested in texting here.
     
    Last edited by 18Phoenix, Jan 11, 2019
  20. angelhp

    angelhp GBAtemp Fan

    Member
    4
    Nov 30, 2014
    Ahhh
    Jajaaj Sorry! =)
     
    Last edited by angelhp, Jan 11, 2019
Loading...