RELEASE NSPatch - Patch NSP Files to their actual needed FW version

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by adrifcastr, Jul 30, 2018.

Thread Status:
Not open for further replies.
  1. adrifcastr
    OP

    adrifcastr GBAtemp Addict

    Member
    9
    Sep 12, 2016
    Germany
    THIS TOOL HAS NO USE ANYMORE BECAUSE TINFOIL CAN NOW IGNORE THE REQSYSVER UPON INSTALLATION!

    So today I am presenting you: NSPatch

    What does this do?
    It extracts NSP containers using hactool, patches them to require the minimum needed FW version of the corresponding minimum needed Masterkey Revision required for crypto and then repacks the NSP container using a modified build of @rkk 's nspBuild.

    WUT?
    See this Thread by @Zocker4444 for reference.

    So just Base Games?
    Yep.

    Download when?
    Now. https://github.com/adrifcastr/NSPatch/releases/latest/

    Pics?
    Even better. GIF.
    nspatchpwv.

    nspatchapu.
     
    Last edited by adrifcastr, Aug 5, 2018
    morrison22, Garou, m_babble and 16 others like this.
  2. Adran_Marit

    Adran_Marit Walküre's Hacker

    Member
    8
    Oct 3, 2015
    Australia
    42*South
    Does this just patch the xml
     
    Xyphoseos likes this.
  3. Xyphoseos

    Xyphoseos Hack or no games

    Member
    6
    Jun 29, 2016
    France
    Rivière
    Do you think ut will work on 3.0.0?

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

    If yes that change nothing for lower firmware user :(
     
  4. adrifcastr
    OP

    adrifcastr GBAtemp Addict

    Member
    9
    Sep 12, 2016
    Germany
    I need to have a list of the master key revisions, their corresponding firmware versions and the games that require each key revision, then patching will work on any nsp.

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

    It does if you are on a firmware that uses master key 4 crypto (4.x.x) as it'll allow to play any existing title until the next master key revision.
     
  5. Xenon Hacks

    Xenon Hacks GBAtemp Guru

    Member
    14
    Nov 13, 2014
    United States
    This is a huge stretch but how about 2.2.0?
     
  6. Xyphoseos

    Xyphoseos Hack or no games

    Member
    6
    Jun 29, 2016
    France
    Rivière
    For exemple mario tennis aces can be played on 3.0.0 ? Or keys is a problem ?
     
  7. adrifcastr
    OP

    adrifcastr GBAtemp Addict

    Member
    9
    Sep 12, 2016
    Germany
    that won't work as 3.0.0 uses master key #3 and mario tennis aces requires at least #4 to be decrypted, see the metioned thread for a list.
     
  8. TamarindoJuice

    TamarindoJuice GBAtemp Regular

    Member
    4
    Jan 30, 2016
    Brazil
    After clicking on the Check Fw button just load for 4 seconds and closes by itself...
     
  9. Xyphoseos

    Xyphoseos Hack or no games

    Member
    6
    Jun 29, 2016
    France
    Rivière
    And unpossible too add masterkey 4 on the 3.0.0 ?
     
  10. ZachyCatGames

    ZachyCatGames GBAtemp Advanced Maniac

    Member
    8
    Jun 19, 2018
    United States
    Hell
    I think you have the numbering for the keys wrong :P
    1.0.0-2.3.0 use Master Key 0
    3.0.0 uses Master Key 1
    3.0.1-3.0.2 use Master Key 2
    4.0.0-4.1.0 use Master Key 3
    5.0.0-5.1.0 use Master Key 4
     
    adrifcastr and Xyphoseos like this.
  11. Adran_Marit

    Adran_Marit Walküre's Hacker

    Member
    8
    Oct 3, 2015
    Australia
    42*South

    I think if it was, we wouldn't have any issues with patching and lower fw versions
     
    Xyphoseos likes this.
  12. adrifcastr
    OP

    adrifcastr GBAtemp Addict

    Member
    9
    Sep 12, 2016
    Germany
    Actually they were wrong at first, but I was pretty sure that I got the actual numbering after the other thread was fixed, I'll take some sleep and then get the numbering proofed, as for now NSPatch patches key 4 nsp's if the numbering went wrong, the displayed firmware within NSPatch is incorrect, but that does not affect the xml patch.
     
  13. ZachyCatGames

    ZachyCatGames GBAtemp Advanced Maniac

    Member
    8
    Jun 19, 2018
    United States
    Hell
    what I meant is in replies you made to other people you said that 3.0.0 uses key 3 and 4.x uses key 4 :P
     
  14. aos10

    aos10 ❤ Zelda ❤\(^o^)/

    Member
    11
    Apr 10, 2012
    Saudi Arabia
    same here
     
  15. Kobigov

    Kobigov GBAtemp Regular

    Member
    3
    Jan 10, 2018
    United States
    same
     
  16. Vennetto

    Vennetto Member

    Newcomer
    1
    Nov 13, 2017
    Dominican Republic
    This is just speculative but wouldn't this be counterproductive? I think newer version of FW have things or files that some games may need and they could result in crash or something else, it's not just Stability Improvements.
     
  17. Scarecrow B

    Scarecrow B ScrapTown

    Member
    5
    Dec 29, 2015
    Mexico
    Found the issue. Just add quotes and it works. Plus you have to manually create a tmp Folder in the app directory as shown by --pfs0dir=tmp

    upload_2018-7-29_21-42-37.
     
  18. Kobigov

    Kobigov GBAtemp Regular

    Member
    3
    Jan 10, 2018
    United States
    Neat, I just did what the thread in OP's link said and and put zeros in the required system version.
     
  19. Cdoan34

    Cdoan34 Member

    Newcomer
    2
    Mar 15, 2009
    United States
    I had to put it in a location where the path had no spaces or it would close. The CMD command its running wont work if you have spaces
     
  20. Loke

    Loke GBAtemp Fan

    Member
    5
    Jan 7, 2014
    Netherlands
    I'm getting a "this game is not supported yet" error. Trying a Mario oddysey nsp from cnd
     
Loading...
Thread Status:
Not open for further replies.