NXDumpTool error

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by Ebojo, Oct 8, 2019.

  1. Ebojo
    OP

    Ebojo Member

    Newcomer
    1
    Jul 26, 2019
    United States
    I am able to dumb base application NSP without any issues for all games. However, I am getting an error when trying to dump any bundled NSP.

    "Error: invalid magic word for Program NCA section #0 PFS0 partition! Wrong KAEK? (0x490BF3E0)"

    Any help would be greatly appreciated.
     
  2. Naked_Snake

    Naked_Snake Constant Miscreant

    Member
    8
    Oct 6, 2013
    Australia
    Hyrule Field
    You need to have prod.keys in the switch folder
     
  3. Ebojo
    OP

    Ebojo Member

    Newcomer
    1
    Jul 26, 2019
    United States
    Just checked. prod.keys exists in the switch directory
     
  4. Ebojo
    OP

    Ebojo Member

    Newcomer
    1
    Jul 26, 2019
    United States
    I am not sure if this would have anything to do with it, but before installing Atmosphere, I never had an sd card in my switch, so any game updates would have been saved directly do the internal memory. Could that possibly cause an issue like this?
     
  5. Naked_Snake

    Naked_Snake Constant Miscreant

    Member
    8
    Oct 6, 2013
    Australia
    Hyrule Field
    If you read the notes for NXdumptool it states you need prod.keys even to dump installed titles DEEDF6CE-98E9-4E24-8173-82C4201DCC33.
     
    DarkMatterCore likes this.
  6. Razor1993

    Razor1993 GBAtemp Regular

    Member
    3
    Mar 20, 2010
    Germany
    dudes dont talk shit if you know nothing. How would he be able to dump the base game but not its update if he would not have the Keys...
    The same happened to me right now. Dumped all Keys und dumped all of my games and updates flawlesly. But as i tried dumping the Update file of pokemon Lets Go it gave me the same error...
    All other games, updates and DLCs worked before...
     
  7. xakamd

    xakamd Newbie

    Newcomer
    1
    Oct 13, 2019
    United Kingdom
    same her, cannot dump a bundled update, unsure where to get that on the web...
    it IS asking for prog.ketys at "sdmc/:...." so unsure what PARTITION that might be ( i have 2 on the sd card, using atmosphere and its emuMMC)
     
  8. DarkMatterCore

    DarkMatterCore I like turtles.

    pip Developer
    7
    May 30, 2009
    Venezuela
    Cabimas, Zulia, Venezuela
    In that case, I may have to add an exception for Pokemon Let's Go updates. They may use a different Program NCA layout than the common one.

    It's important to report this kind of stuff in the official nxdumptool thread or in its GitHub repository. Otherwise, it's impossible for me to know if anything goes wrong - I can't test everything on my own, sadly.

    @Ebojo @Razor1993 @xakamd If the error can still be reproduced in v1.1.7 (latest one atm) and any of you guys is willing to help me by running some test builds, please get in touch with me. I'd be more than glad to help.
     
    Last edited by DarkMatterCore, Nov 9, 2019 at 3:18 PM
    Razor1993 and satel like this.
  9. satel

    satel Luigi's Big Brother

    Member
    7
    Nov 3, 2004
    Laos
    yes i have the same error in 1.1.7 trying to dump Luigi mansion 3 update,feel free to send me newer builds to test. thanks
     
    DarkMatterCore likes this.
  10. DarkMatterCore

    DarkMatterCore I like turtles.

    pip Developer
    7
    May 30, 2009
    Venezuela
    Cabimas, Zulia, Venezuela
    Alright, thanks for reporting the issue. I'll send you a test build as soon as I get back home.

    In the time being, can you please try running the latest version of Lockpick_RCM (grab it from GitHub) and dumping the update again? Just to be completely sure.
     
    satel likes this.
  11. satel

    satel Luigi's Big Brother

    Member
    7
    Nov 3, 2004
    Laos
    i just did to dump the prod.keys & still the same error
     
    DarkMatterCore likes this.
  12. DarkMatterCore

    DarkMatterCore I like turtles.

    pip Developer
    7
    May 30, 2009
    Venezuela
    Cabimas, Zulia, Venezuela
    @Ebojo @Razor1993 @xakamd @satel Are you guys using an emuMMC? If so, is your emuMMC FW version different than your sysMMC FW version?

    Someone dumped the Pokémon Let's Go update for me and it worked properly.
     
  13. satel

    satel Luigi's Big Brother

    Member
    7
    Nov 3, 2004
    Laos
    i'm not using emuMMC. not yet anyway
     
    DarkMatterCore likes this.
  14. DarkMatterCore

    DarkMatterCore I like turtles.

    pip Developer
    7
    May 30, 2009
    Venezuela
    Cabimas, Zulia, Venezuela
    Alright, here's a test build: -snip-

    It will create a "program_nca_header.bin" file in your SD card root while trying to create the output NSP dump. Please send me that file.
     
    Last edited by DarkMatterCore, Nov 12, 2019 at 4:25 PM
    satel likes this.
  15. satel

    satel Luigi's Big Brother

    Member
    7
    Nov 3, 2004
    Laos
  16. DarkMatterCore

    DarkMatterCore I like turtles.

    pip Developer
    7
    May 30, 2009
    Venezuela
    Cabimas, Zulia, Venezuela
    Oh, I thought you were talking about the "Wrong KAEK" error the other users from this thread mentioned. You're experimenting a whole different error altogether. Please PM me, I'll further instruct you on how to help me debug it.
     
  17. Razor1993

    Razor1993 GBAtemp Regular

    Member
    3
    Mar 20, 2010
    Germany
    Hi, cool that you are Bugfixing this.
    Yeah I am using EmuMMC with the latest firmware and Kosmos Atmosphere.
    SysMMC and EmuMMC had the same latest version(9.0 or something).
    Dumped all Keys with the uptodate version of Lockpick etc. like I have said everything else worked. Only on 2 TitleUpdates It gave me that error message.
     
  18. DarkMatterCore

    DarkMatterCore I like turtles.

    pip Developer
    7
    May 30, 2009
    Venezuela
    Cabimas, Zulia, Venezuela
    Please try to dump any of those updates using the build I previously shared in this thread, and send me the "program_nca_header.bin" file from your SD card root afterwards. That should help me further debug this issue.

    Just to be clear, you have to trigger the error on purpose using that build. That's how you'll get the file.
     
    Last edited by DarkMatterCore, Nov 12, 2019 at 1:22 AM
  19. DarkMatterCore

    DarkMatterCore I like turtles.

    pip Developer
    7
    May 30, 2009
    Venezuela
    Cabimas, Zulia, Venezuela
    satel likes this.
  20. Razor1993

    Razor1993 GBAtemp Regular

    Member
    3
    Mar 20, 2010
    Germany
    Still the same Error if I try dumping Lets Go Pikachu Update:
    https://i.ibb.co/kQmvbZr/2019111219291400-4-E3-C1-F870-D1997912-EA61-E1657-E1-AE11.jpg

    and here proof that I dumped the Key files: https://i.ibb.co/TgKCw1t/2019111219294600-4-E3-C1-F870-D1997912-EA61-E1657-E1-AE11.jpg

    and here is the header.bin file: https://mega.nz/#!mt1VnKaD!DgfKtXZGokzPX4RoOotj8loFo9aClaKtwLecm6shG4I
     
    DarkMatterCore likes this.
Quick Reply
Draft saved Draft deleted
Loading...