1. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    922
    Country:
    Spain
    It verifies fine on my build. I think you are missing master_key_0a since it uses that masterkey. It can't read the nca properly without it, i know i should add key checks in all functions, but i've been lazy about it.
    Anyway it lowers masterkey fine on my computer using the current version, it also verifies fine before and after.
    Anyway i think you should delete the text file from the post due to gbatemp rules.
     
    CD-RIPer likes this.
  2. CD-RIPer

    CD-RIPer Newbie
    Newcomer

    Joined:
    Jan 20, 2020
    Messages:
    4
    Country:
    Ukraine
    It works!
    Thank you very much for your tool, your help and your patience!

    You will have much less support work if your app will have more user friendly error handling )
     
  3. SIMOMEGA

    SIMOMEGA Newbie
    Newcomer

    Joined:
    Jan 21, 2020
    Messages:
    2
    Country:
    Italy
    Where do I get xci_header_key if needed? Lockpick_RCM doesn't dump it.
     
  4. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    922
    Country:
    Spain
    Is optional, if you don't have it erase that line and it'll use one of 2 predone game_infos depending on the file size. The xci_header_key was supplied by BigBlueBox in one of his releases (Nights of Azure 2: Bride of the New Moon), it can normally be found easily in Google searching it's name, though it can't be shared here due to the rules.
     
    SIMOMEGA likes this.
  5. SIMOMEGA

    SIMOMEGA Newbie
    Newcomer

    Joined:
    Jan 21, 2020
    Messages:
    2
    Country:
    Italy
    Aight then, thx dude.
     
  6. Connorsdad

    Connorsdad GBAtemp Regular
    Member

    Joined:
    Feb 9, 2017
    Messages:
    158
    Country:
    Code:
                   ____  _____ ____     / /_  __  __(_) /___/ /__  _____
                    / __ \/ ___/ ___/    / __ \/ / / / / / __  / _ \/ ___/
                   / / / (__  ) /__     / /_/ / /_/ / / / /_/ /  __/ /
                  /_/ /_/____/\___/____/_.___/\__,_/_/_/\__,_/\___/_/
                                 /_____/
    -------------------------------------------------------------------------------------
                            NINTENDO SWITCH CLEANER AND BUILDER
                         (THE XCI MULTI CONTENT BUILDER AND MORE)
    -------------------------------------------------------------------------------------
    =============================     BY JULESONTHEROAD     =============================
    -------------------------------------------------------------------------------------
    "                                POWERED BY SQUIRREL                                "
    "                    BASED ON THE WORK OF BLAWAR AND LUCA FRAGA                     "
                                     VERSION 0.98 (NEW)
    -------------------------------------------------------------------------------------
    Program's github: https://github.com/julesontheroad/NSC_BUILDER
    Blawar's github:  https://github.com/blawar
    Blawar's tinfoil: https://github.com/digableinc/tinfoil
    Luca Fraga's github: https://github.com/LucaFraga
    -------------------------------------------------------------------------------------
                       ,;:;;,
                      ;;;;;
              .=',    ;:;;:,
             /_', "=. ';:;:;
             @=:__,  \,;:;:'
               _(\.=  ;:;;'
              `"_(  _/="`
               `"'
    Traceback (most recent call last):
      File "squirrel.py", line 3494, in <module>
      File "Fs\Nsp.py", line 98, in __init__
      File "Fs\Pfs0.py", line 26, in __init__
      File "Fs\BaseFs.py", line 42, in __init__
      File "Fs\File.py", line 421, in __init__
      File "Fs\File.py", line 298, in __init__
      File "Fs\File.py", line 32, in __init__
      File "Fs\Nsp.py", line 284, in open
      File "Fs\Pfs0.py", line 70, in open
    OSError: Not a valid PFS0 partition b'Date'
    [1356] Failed to execute script squirrel
    DONE
    
       /@
       \ \
     ___\ \
    (__O)  \
    ([email protected]) \
    ([email protected])  \
    (__o)_    \
          \    \
    
    HOPE YOU HAVE A FUN TIME
    ...................................................
    STILL 0 FILES TO PROCESS
    ...................................................
    ---------------------------------------------------
    *********** ALL FILES WERE PROCESSED! *************
    ---------------------------------------------------
    
    Input "0" to go back to the mode selection
    Input "1" to exit the program
    
    Enter your choice:
    Pretty certain I have the latest keys, anyone know the problem please ?
     
  7. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    922
    Country:
    Spain
    The file is bad. A nsp file starts with the magic "PFS0". In your case the first bytes say "Date" you have a bad file for whatever the reason, anyway you can check that using a hex editor. I believe is probably a messed up download.
     
    Last edited: Jan 22, 2020
  8. Connorsdad

    Connorsdad GBAtemp Regular
    Member

    Joined:
    Feb 9, 2017
    Messages:
    158
    Country:
    Ah, thanks for the speedy reply :)
     
  9. JayMathis

    JayMathis GBAtemp Regular
    Member

    Joined:
    Dec 18, 2019
    Messages:
    143
    Country:
    United States
    I'm on 9.0.1 and I have up to master keys 10 included, and I just converted Walking Dead New Frontier which came out yesterday from nsp to xci and I get a white screen on the sx os menu. I'm not sure why. Is there even newer keys or something?

    VERIFY A NSP\XCI\NCA
    ********************************************************
    ***************
    DECRYPTION TEST
    ***************
    010056E00B4F4000 - Content.CONTROL
    38068f316346d269cbeb4528b17f3c71.nca -> is CORRECT
    010056E00B4F4000 - Content.PROGRAM
    6a83dd1b76af2d15a88183215dca31c4.nca -> is CORRECT
    010056E00B4F4000 - Content.META
    d7561b533475df0c7ef99303c9ae9e84.cnmt.nca -> is CORRECT
    010056E00B4F4000 - Content.MANUAL
    ef46fa14b4a7eb0b8e6e3a7d1a2cebf9.nca -> is CORRECT

    VERDICT: XCI FILE IS CORRECT

    ****************
    SIGNATURE 1 TEST
    ****************
    010056E00B4F4000 - Content.CONTROL
    > 38068f316346d269cbeb4528b17f3c71.nca -> is PROPER

    010056E00B4F4000 - Content.PROGRAM
    > 6a83dd1b76af2d15a88183215dca31c4.nca -> is PROPER
    * TITLERIGHTS WERE REMOVED
    * Original titlerights id is : 010056E00B4F4000000000000000000A
    * Original titlekey is : B2CD60FE243FFB6FF7DC6D050FF22B32

    010056E00B4F4000 - Content.MANUAL
    > ef46fa14b4a7eb0b8e6e3a7d1a2cebf9.nca -> is PROPER

    010056E00B4F4000 - Content.META
    > d7561b533475df0c7ef99303c9ae9e84.cnmt.nca -> is PROPER

    VERDICT: XCI FILE IS SAFE
     
    Last edited: Jan 22, 2020
  10. JayMathis

    JayMathis GBAtemp Regular
    Member

    Joined:
    Dec 18, 2019
    Messages:
    143
    Country:
    United States
    I looked up the required firmware for the game and it's 9.01 and that's what I'm on so I have no clue. I tried to shorten the name of the nsp and retried but same results.
     
  11. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    922
    Country:
    Spain
    The file seems fine, yes but make a hash check just in case. Level 2 verification I mostly right but not 100% accuratr since it doesn't test the whole hash.
    I'm talking about the verification in the batch, that allows you to verify the hashes after level 2.
     
  12. JayMathis

    JayMathis GBAtemp Regular
    Member

    Joined:
    Dec 18, 2019
    Messages:
    143
    Country:
    United States
    ***************
    HASH TEST
    ***************
    010056E00B4F4000 - Content.CONTROL
    - File name: 38068f316346d269cbeb4528b17f3c71.nca
    - SHA256: 38068f316346d269cbeb4528b17f3c7179a545514913dd3b34a9af346e53a659
    > FILE IS CORRECT

    010056E00B4F4000 - Content.PROGRAM
    - File name: 6a83dd1b76af2d15a88183215dca31c4.nca
    - SHA256: ac6c0866034fa4b51711ada1974a603a421f66e6acea9f30542ce1d98efc6a20
    - ORIG_SHA256: 6a83dd1b76af2d15a88183215dca31c42ef79cdad28c6ee5266d33eb43fa6f77
    > FILE IS CORRECT

    010056E00B4F4000 - Content.META
    - File name: d7561b533475df0c7ef99303c9ae9e84.cnmt.nca
    - SHA256: d7561b533475df0c7ef99303c9ae9e84c086280d902285bf896cd455fb7406d5
    > FILE IS CORRECT

    010056E00B4F4000 - Content.MANUAL
    - File name: ef46fa14b4a7eb0b8e6e3a7d1a2cebf9.nca
    - SHA256: ef46fa14b4a7eb0b8e6e3a7d1a2cebf9e32e49c0c4445c2e82c23ff2db243e14
    > FILE IS CORRECT

    VERDICT: XCI FILE IS CORRECT



    But I also did a firmware verification and it said 9.1 (I guess google had wrong info?) but I am on 9.0.1 and the nsp works fine. Can the XCI require newer firmware than the NSP of the same game?

    CONTENT ID: 010056e00b4f4000
    -----------------------------
    Titleinfo:
    - Name: The Walking Dead: A New Frontier
    - Editor: Skybound Games
    - Display Version: 1.0.3
    - Meta SDK version: 10.0.0.0
    - Program SDK version: 6.6.0.0
    - Supported Languages: US (eng), UK (eng), FR, DE, LAT (spa), SPA, CAD (fr),
    POR, RU, TW (ch), CH
    - Content type: Base Game or Application
    - Version: 0 -> Application (0)

    Required Firmware:
    Getting NUTDB json "fw"
    - Included Firmware: Deleted
    - RequiredSystemVersion: 605028352 -> (9.1.0)
    - Encryption (keygeneration): 10 -> (9.0.0 - 9.0.1)
    - Patchable to: 603979776 -> (9.0.0)

    ExeFS Data:
    - BuildID8: 580AEA5BE103C1A0
    - BuildID: 580AEA5BE103C1A05D1A7BCA4672E8FD

    Regardless it seems updating is the only solution so I'll do that.
     
    Last edited: Jan 23, 2020
  13. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    922
    Country:
    Spain
    Ok, we know your issue now. You probably installed it with tinfoil and it lowerewd the masterkey for you is something that it does since some versions ago. You need to say you want to patch the RSV when asked and then lower the masterkey when asked. If you lowered it to 9.0 it should work.
    What's happening to you is that your icon is white (I thought you meant screen) that's because the loader can't decrypt the control nca sincere it doesn't have that masterkey.
     
  14. ioann1s

    ioann1s Member
    Newcomer

    Joined:
    Feb 29, 2004
    Messages:
    30
    Country:
    Greece
    How do I get the GUI to appear? so far I only get the CMD menu.
     
  15. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    922
    Country:
    Spain
    Is only for fileinfo but it's on interface.bat
    You need chrome ore chromium for it or you can use other chromium browser if you add a shortcut file (.lnk) in ztools\Chromium. For the second you need to change the config.
    Alternatively it supports slimjet portable or chromium portable if the full portable program is in ztools\chromium.
    Anyway the faster is to install chrome or chromium and execute Interface.bat
     
    ioann1s likes this.
  16. ioann1s

    ioann1s Member
    Newcomer

    Joined:
    Feb 29, 2004
    Messages:
    30
    Country:
    Greece
    thanks for the fast answer Jules :)
     
  17. bostonBC

    bostonBC GBAtemp Maniac
    Member

    Joined:
    Aug 17, 2011
    Messages:
    1,267
    Country:
    United States
    I used the latest version of lockpick to extract the keys from my 9.1.0 system and when verifying keys I get an error verifying just the latest key - all others verify fine...

    master_key_10|master_key_0a is Missing

    Any ideas on what's causing it?

    Just to be clear it did extract key 10...

    master_key_0a = 7xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (replaced with x to not display the key here)
     
    Last edited: Jan 24, 2020
  18. Moko

    Moko Advanced Member
    Newcomer

    Joined:
    Feb 19, 2007
    Messages:
    91
    Country:
    Germany
    deleted...
     
  19. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    922
    Country:
    Spain
    I'll check later, to be sure I have the proper hash, though I think I checked before.
    I will also try to repaste the key in the template to be sure it doesn't have weird end of lines. Notepad++ shows them if that's the case. Anyway I'll check when o get home.
     
    bostonBC likes this.
  20. bostonBC

    bostonBC GBAtemp Maniac
    Member

    Joined:
    Aug 17, 2011
    Messages:
    1,267
    Country:
    United States
    Thanks so much, really appreciate it!
     
Draft saved Draft deleted
Loading...

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