1. Juanpalomo88

    Juanpalomo88 Newbie
    Newcomer

    Joined:
    Feb 4, 2020
    Messages:
    1
    Country:
    Venezuela
    Hi there! i don't know why but Im having several issues with more less the shame files. "NSZ".
    I'm trying to covert into an XCI file, but it allways shows the shame message:

    Exception: Not a valid PFS0 partition b'\x00\x00\x00\x00'

    What should I do? I have the proper key but I have no idea how to solve it. Thanks!
     
  2. 78_Alpha

    78_Alpha Member
    Newcomer

    Joined:
    Jan 10, 2019
    Messages:
    14
    Country:
    United States

    Did you decompress them before trying to convert them?
     
  3. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    930
    Country:
    Spain
    I'd say the file is bad. A nsp file starts by the magic\word "PFS0", yours apparently starts by "000000" .
    You can check with q hex editor if you want.
     
  4. pcwizard7

    pcwizard7 GBAtemp Advanced Fan
    Member

    Joined:
    Aug 2, 2013
    Messages:
    847
    Country:
    Australia
    Trying to repack two nsp games to xci files but I get an error

    File: The Walking Dead A New Frontier [010056E00B4F4000] [v0].nsp

    Error:
    Processing: O:\Tools\NSC Builder x64 v0.98b\work\The Walking Dead A New Frontier [010056E00B4F4000] [v0].nsp
    Exception: Mismatched masterKeyRevs!

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

    VERDICT: NSP FILE IS CORRECT

    ****************
    SIGNATURE 1 TEST
    ****************
    010056E00B4F4000 - Content.PROGRAM
    > 6a83dd1b76af2d15a88183215dca31c4.nca -> is PROPER

    010056E00B4F4000 - Content.CONTROL
    > 38068f316346d269cbeb4528b17f3c71.nca -> is PROPER

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

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

    VERDICT: NSP FILE IS SAFE

    ********************************************************
    Do you want to verify the hash of the nca files?
    ********************************************************
    Input "1" to VERIFY hash of files
    Input "2" to NOT verify hash of files

    Input your answer: 1


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

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

    010056E00B4F4000 - Content.CONTROL
    - File name: 38068f316346d269cbeb4528b17f3c71.nca
    - SHA256: 38068f316346d269cbeb4528b17f3c7179a545514913dd3b34a9af346e53a659
    > FILE IS CORRECT

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

    VERDICT: NSP FILE IS CORRECT


    File: The Walking Dead Season Two [010099100B6AC000] [v0].nsp

    Error
    Processing: O:\Tools\NSC Builder x64 v0.98b\work\The Walking Dead Season Two [010099100B6AC000] [v0].nsp
    Exception: Mismatched masterKeyRevs!

    Verify Process
    ********************************************************
    VERIFY A NSP\XCI\NCA
    ********************************************************
    ***************
    DECRYPTION TEST
    ***************
    010099100B6AC000 - Content.META
    3042fe2e2337d796f606d7eab41528b9.cnmt.nca -> is CORRECT
    010099100B6AC000 - Content.PROGRAM
    1430c5d5005385a09ce58e717985841c.nca -> is CORRECT
    010099100B6AC000 - Content.CONTROL
    afa1f26e4da27a54abb0ae6f4237b5d9.nca -> is CORRECT
    010099100B6AC000 - Content.MANUAL
    e8c3cfadc69eca4337bc8c4c18ef4d1b.nca -> is CORRECT
    Content.TICKET
    010099100b6ac000000000000000000a.tik -> is CORRECT

    VERDICT: NSP FILE IS CORRECT

    ****************
    SIGNATURE 1 TEST
    ****************
    010099100B6AC000 - Content.PROGRAM
    > 1430c5d5005385a09ce58e717985841c.nca -> is PROPER

    010099100B6AC000 - Content.CONTROL
    > afa1f26e4da27a54abb0ae6f4237b5d9.nca -> is PROPER

    010099100B6AC000 - Content.MANUAL
    > e8c3cfadc69eca4337bc8c4c18ef4d1b.nca -> is PROPER

    010099100B6AC000 - Content.META
    > 3042fe2e2337d796f606d7eab41528b9.cnmt.nca -> is PROPER

    VERDICT: NSP FILE IS SAFE

    ********************************************************
    Do you want to verify the hash of the nca files?
    ********************************************************
    Input "1" to VERIFY hash of files
    Input "2" to NOT verify hash of files

    Input your answer: 1


    ***************
    HASH TEST
    ***************
    010099100B6AC000 - Content.META
    - File name: 3042fe2e2337d796f606d7eab41528b9.cnmt.nca
    - SHA256: 3042fe2e2337d796f606d7eab41528b9ab8dcd4bdc32c4230271a0cfc6d532ea
    > FILE IS CORRECT

    010099100B6AC000 - Content.PROGRAM
    - File name: 1430c5d5005385a09ce58e717985841c.nca
    - SHA256: 1430c5d5005385a09ce58e717985841cd4598201f5e04afa780bb1f47fcc03ef
    > FILE IS CORRECT

    010099100B6AC000 - Content.CONTROL
    - File name: afa1f26e4da27a54abb0ae6f4237b5d9.nca
    - SHA256: afa1f26e4da27a54abb0ae6f4237b5d9f9a84be74ec21a3dc5cd34f6d4edd55b
    > FILE IS CORRECT

    010099100B6AC000 - Content.MANUAL
    - File name: e8c3cfadc69eca4337bc8c4c18ef4d1b.nca
    - SHA256: e8c3cfadc69eca4337bc8c4c18ef4d1b131ed8553273aa2a99453403a165d88a
    > FILE IS CORRECT

    VERDICT: NSP FILE IS CORRECT
     
  5. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    930
    Country:
    Spain
    That normally means the masterkey in the ticket doesn't match the one in the files. I'll check when I can, it can be related to how it was dumped.
    Worse scenario I could change that check to a "warn'.
     
  6. markmcrobie

    markmcrobie GBAtemp Advanced Fan
    Member

    Joined:
    May 24, 2008
    Messages:
    606
    Getting the following error trying to combine the latest FUZE4 update into my XCI:

    Code:
    Exception: Failed to decrypt NCA header: b'\x0b\xe9\xdan'
     
  7. morvoran

    morvoran Trumpican
    Member

    Joined:
    Dec 19, 2010
    Messages:
    718
    Country:
    United States
    If you haven't already found the solution, the issue is that the nsp's are compilations games. This means they contain files from multiple games (in this case, main game with DLC files). This is why you are getting the mismatched masterkey as different game files require different masterkey revisions. I had the same problem when I tried to convert the Trine series collection.

    In order for NSC_builder to process them, you have to choose option 2 - multi-pack mode.
     
  8. pcwizard7

    pcwizard7 GBAtemp Advanced Fan
    Member

    Joined:
    Aug 2, 2013
    Messages:
    847
    Country:
    Australia
    I ended up doing this and worked fine,
     
  9. iTz_Renzokuken

    Newcomer

    Joined:
    Nov 30, 2018
    Messages:
    27
    Country:
    Brazil
    installed the 0.98b version, updated the key files, drag and drop a folder to convert nsp to xci, got the following message:
    __ _ __ __
    ____ _____ ____ / /_ __ __(_) /___/ /__ _____
    / __ \/ ___/ ___/ / __ \/ / / / / / __ / _ \/ ___/
    / / / (__ ) /__ / /_/ / /_/ / / / /_/ / __/ /
    /_/ /_/____/\___/____/_.___/\__,_/_/_/\__,_/\___/_/
    /_____/
    -------------------------------------------------------------------------------------
    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
    -------------------------------------------------------------------------------------
    --------------------------------------
    Auto-Mode. Multi-repacking is set
    --------------------------------------
    - Generating filelist
    DONE
    ......................................
    REPACKING FOLDER CONTENT TO NSP
    ......................................

    ......................................
    REPACKING FOLDER CONTENT TO XCI
    ......................................

    ---------------------------------------------------
    *********** ALL FILES WERE PROCESSED! *************
    ---------------------------------------------------

    /@
    \ \
    ___\ \
    (__O) \
    ([email protected]) \
    ([email protected]) \
    (__o)_ \
    \ \

    HOPE YOU HAVE A FUN TIME

    Input "0" to go to the mode selection
    Input "1" to exit the program

    Enter your choice:

    but nothing happens, i'm missing something?
     
  10. pcwizard7

    pcwizard7 GBAtemp Advanced Fan
    Member

    Joined:
    Aug 2, 2013
    Messages:
    847
    Country:
    Australia
    @iTz_Renzokuken use option 2 but don’t merge them, option 1 is broken atm
     
  11. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    930
    Country:
    Spain
    Is not broken, it has a check against different masterkey set in the tickets that may need to be removed for official games with several content + tickets I guess, which was your issue apparently reading old messages.
    Also he's using the auto mode.
    The multi-mode doesn't have that check.

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

    Do you have the program or the folder you're dragging in the desktop? Is what I can think off.
     
    Last edited by JRoad, Feb 18, 2020
  12. Zer151

    Zer151 Advanced Member
    Newcomer

    Joined:
    Aug 14, 2015
    Messages:
    51
    Country:
    Thailand
    hello, thank for made a great tools

    I would like to know if i had made custom xci and that game got new update , can I download just update and merge to the previous custom xci? or I need to start from clean xci
     
  13. huma_dawii

    huma_dawii GBAtemp Psycho!
    Member

    Joined:
    Apr 3, 2014
    Messages:
    3,489
    Country:
    United States
    I start splitting the previous updated XCI to make sure is done right.... But i think you could just update directly
     
    Zer151 likes this.
  14. pcwizard7

    pcwizard7 GBAtemp Advanced Fan
    Member

    Joined:
    Aug 2, 2013
    Messages:
    847
    Country:
    Australia
    you can do this but most people do it from a clean to avoid corruption. I keep my original base files and my custom files and use the base files to make a new one and replace old customs
     
    Zer151 likes this.
  15. pcwizard7

    pcwizard7 GBAtemp Advanced Fan
    Member

    Joined:
    Aug 2, 2013
    Messages:
    847
    Country:
    Australia
    @JRoad I m getting invalid ticket format on few files and i ve force update nut and verify keys

    EDIT. and one more invalid for masterkey set

    EDIT2. a new error "list index out of range"
     
    Last edited by pcwizard7, Mar 3, 2020
  16. Shiesty

    Shiesty Newbie
    Newcomer

    Joined:
    Nov 30, 2017
    Messages:
    9
    Country:
    Canada
    I have been using this program for compression for a while but now I am having problems when making multi-content xci files. The file seems to be put into the temporary work folder and then the file AND folder is immediately deleted after completion. Does anyone know what is going on?
     
  17. pcwizard7

    pcwizard7 GBAtemp Advanced Fan
    Member

    Joined:
    Aug 2, 2013
    Messages:
    847
    Country:
    Australia
    something to do with the folder treatment setting in config, reset the settings to default and reconfig how u want again but leave anything to do with work folder alone
     
  18. JRoad

    OP JRoad Developer
    Developer

    Joined:
    May 18, 2018
    Messages:
    930
    Country:
    Spain
    The program expects the file to get moved properly to the output folder. If that errors for some reason it gets deleted on the cleanup. Not sure why it errors out in your case.
    The thing there is that I would need to see those tickets. Basically I have to support 2 offsets for the keygeneration on tickets since some programs dumped it incorrectly before. Some dumps deviating from the standards format of tickets doesn't help there I guess but as I said I would need to see those tickets. Are you using the last version? I added something before to be able to support both offsets and some nxdumptool dumps that deviated from the standard dump format.
    Basically I would need to see the ticket myself if someone made more changes on it because I don't have access to any dump that doesn't have the standard scene format.
    Other way would be to ignore the ticket completely and trust the key is encrypted with the same masterkey as the nca headers which should be true. Alternatively I could make it pass a key verification check and force standardize the ticket to avoid issues.
    One issue here is that I don't have time lately but I should at least release something this weekend since I added the RSV for 9.2.0 in the beta and well I also added the ability to show info for xc0, ns0 and 00 splitter files in the interface though is still missing the verification stuff. I'll probably add an option to ignore the ticket keygeneration check.
     
    Last edited by JRoad, Mar 4, 2020
  19. JayMathis

    JayMathis GBAtemp Fan
    Member

    Joined:
    Dec 18, 2019
    Messages:
    349
    Country:
    United States
    I'm a little confused about what Master Key 10 is. I have Master Key 10 so will I need new keys for 9.2 or not?
     
  20. Moko

    Moko Advanced Member
    Newcomer

    Joined:
    Feb 19, 2007
    Messages:
    95
    Country:
    Germany
    9.2 have no new keys....
     
Draft saved Draft deleted
Loading...

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