RELEASE NSP in-place firmware version patcher

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

  1. rrocha
    OP

    rrocha Advanced Member

    Newcomer
    4
    Nov 21, 2016
    Portugal
    No unpacking, no repacking. Directly on your NSP. It's now blazing fast due to the re-use of some of the hactool code in order to obtain direct file offset, hence speeding up the pattern search. Comments regarding where the hactool code start and end are there to give credit where it's due. Big shout to @SciresM for the great tool.

    Depends only on Boost library.
    I'll not provide other pre-compiled versions for your platform.

    g++ yourcode.cpp -lboost_system -lboost_iostreams -std=c++11


    Use with caution, backup your files first.
    Enjoy: https://gist.github.com/rdmrocha/6c74d8c238751f3e5a0aac3119dfc586
     
    Last edited by rrocha, Aug 1, 2018
    hippy dave likes this.
  2. rrocha
    OP

    rrocha Advanced Member

    Newcomer
    4
    Nov 21, 2016
    Portugal
    updated to use direct access to the XML file offset.

    attaching pre-compile x64 MacOS version
     

    Attached Files:

    Last edited by rrocha, Aug 1, 2018
    hippy dave likes this.
  3. tatundria

    tatundria GBAtemp Fan

    Member
    5
    Feb 24, 2009
    Argentina
    Does it work with updates and dlc?
     
  4. rrocha
    OP

    rrocha Advanced Member

    Newcomer
    4
    Nov 21, 2016
    Portugal
  5. aos10

    aos10 ❤ Zelda ❤\(^o^)/

    Member
    11
    Apr 10, 2012
    Saudi Arabia
    Anyone has complied version of this?
     
    Moko, toto621 and tatundria like this.
Loading...