RELEASE reNXpack - Repack Nintendo Switch nsps to work on lower firmwares

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by The-4n, Apr 10, 2019.


    42,330

    239
    Front-page RELEASE
    reNXpack is a tool for repacking Nintendo Switch nsps to work on lower firmwares

    Features:
    • Repack games, updates and dlcs with lowest encryption keys
    • Convert titlekey encrypted ncas to standard encrypted ncas
    • Patch required firmware version and required application version to zero
    • Support nsps containing multiple games, updates and dlcs

    Some nsps may not work on lower firmwares due to lack of required IPCs
    You can check games compatibility here:
    https://wiki.gbatemp.net/wiki/Switch_games_firmware_requirement

    Usage:
    You should load your keyset file with -k or --keyset option followed by a path to it or place your keyset file with "keys.dat" filename in the same folder as reNXpack
    By default, Created nsp files are located in the same folder as reNXpack with 'titleid_reNXpack.nsp' filename
    You can change output directory with -o, --outdir option
    reNXpack creates "renxpack_extracted_nsp" folder as a temp directory, It deletes the directory content before and after conversion
    If you use -t, --tempdir option to choose a temporary directory, Make sure it's an empty directory and it's not the same as output directory otherwise reNXpack deletes it
    Code:
    *nix: ./renxpack [options...] <path_to_file.nsp>
    Windows: .\renxpack.exe [options...] <path_to_file.nsp>
     
    Options:
    -k, --keyset             Set keyset filepath, default filepath is ./keys.dat
    -h, --help               Display usage
    -t, --tempdir            Set temporary directory path
    -o, --outdir             Set output directory path  
    Current version: v1.16

    https://github.com/The-4n/reNXpack/
    https://github.com/The-4n/reNXpack/releases/

    Changelog:
     
    Discussion (239 replies)
  1. Essasetic

    Essasetic Neutral

    Member
    10
    Jun 16, 2018
    United Kingdom
    This looks interesting. If Nintendo decides to break something in a newer FW this will come into use.
     
  2. The-4n
    OP

    The-4n GBAtemp Fan

    Member
    9
    Aug 3, 2018
    United States
    Please test this software and report me your feedbacks
     
    astrocapsule likes this.
  3. hallo23

    hallo23 GBAtemp Regular

    Member
    5
    Sep 13, 2009
    Germany
    But why?
    You can just ignore the required fw when installing a .nsp with tinfoil.
    Works perfectly.
     
  4. The-4n
    OP

    The-4n GBAtemp Fan

    Member
    9
    Aug 3, 2018
    United States
    Nop
    If the game is encrypted with higher fw keys, you can't
    Just try running power rangers on 6.2.0 or lower, it fails
     
  5. duckbill007

    duckbill007 Advanced Member

    Newcomer
    4
    May 5, 2011
    Russia
    I wonder - how can nsp contain more than one title?
    Does it contain multiple cnmt.nca? Is it normal? What nsp installer supports such nsp?
     
  6. The-4n
    OP

    The-4n GBAtemp Fan

    Member
    9
    Aug 3, 2018
    United States
    Currently, no installer supports it and there's no nsp like this
    But In theory, it can be
    It's like a zip file containing multiple exes, it's possible for sure
     
    Mothafuckka likes this.
  7. crow132

    crow132 GBAtemp Regular

    Member
    5
    Jan 19, 2016
    Saint Helena
    This is really interesting, I recently updated to 7.01 because of game compatibility. Kinda late for me to test, but really interesting indeed.
     
  8. duckbill007

    duckbill007 Advanced Member

    Newcomer
    4
    May 5, 2011
    Russia
    @The-4n so, if I wanna create such nsp right now, all I need to do: get app nsp, update nsp, all dlc nsp, unpack all it's contents via hactoll to one folder and repack all that folder contents into single nsp via hacpack. Am I right? And hope that one day some installer will have support for such multiNSP?
     
  9. The-4n
    OP

    The-4n GBAtemp Fan

    Member
    9
    Aug 3, 2018
    United States
    Yup, It's easy as you've mentioned
    Idk why title installer don't support it, nsp is like xci, xci can contain multiple games, updates and dlcs, nsps can contain them too
     
  10. duckbill007

    duckbill007 Advanced Member

    Newcomer
    4
    May 5, 2011
    Russia
    I looked through code of all opensource installers - all of them at the moment just get first cnmt.nca, first tik and first cert file and processes them. Why not all such files in the nsp? I do not know.
    Also installers reads and registers all ncas from nsp. So, if it process update cnmt.nca and not main app, it will allocate a lot of space in the nintendo/content/registered folder for app nca, but not create application record for them, so you can not delete this nca through system settings (it will be just a junk files in the filesystem)
     
  11. tomi1578

    tomi1578 GBAtemp Regular

    Member
    3
    Sep 12, 2018
    Israel
    but tinfoil also has the standard proxy option which does what this program does

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

    sx album installer and goldleaf seemed tom work with my minecraft+update multinsp
     
  12. The-4n
    OP

    The-4n GBAtemp Fan

    Member
    9
    Aug 3, 2018
    United States
    I've never tried that app
    But there's no way to do it on homebrew unless you manually give it keys or the developer hardcoded keys in it
     
  13. tomi1578

    tomi1578 GBAtemp Regular

    Member
    3
    Sep 12, 2018
    Israel
    you need the keys file to use it
     
  14. The-4n
    OP

    The-4n GBAtemp Fan

    Member
    9
    Aug 3, 2018
    United States
    As i've read, it just standard crypto title encrypted ncas, doesn't repack it for lower firmwares
    And also, it requires acid patches

    Anyway, I'm not interested in discussing about that app, everyone is free to choose what they want to use
     
    Last edited by The-4n, Apr 10, 2019
    Garou likes this.
  15. leon315
    This message by leon315 has been removed from public view by porkiewpyne, Apr 10, 2019, Reason: Flamebait.
    Apr 10, 2019
  16. gizmomelb
    This message by gizmomelb has been removed from public view by porkiewpyne, Apr 10, 2019, Reason: Reply to trashed post.
    Apr 10, 2019
  17. duckbill007

    duckbill007 Advanced Member

    Newcomer
    4
    May 5, 2011
    Russia
    ok, then, its good to know that there are installers that supports multinsp
     
    Last edited by duckbill007, Apr 10, 2019
  18. leon315
    This message by leon315 has been removed from public view by porkiewpyne, Apr 10, 2019, Reason: Flamebait.
    Apr 10, 2019
  19. OrGoN3

    OrGoN3 GBAtemp Addict

    Member
    8
    Apr 23, 2007
    United States
    How about a list with games that don't work with this method due to lack of IPCs?
     
    Garou likes this.
  20. The-4n
    OP

    The-4n GBAtemp Fan

    Member
    9
    Aug 3, 2018
    United States
    I don't know any
    Users should check and report
    For example a 7.0.0 game may work on 6.2.0 but not 5.1.0
    Some other 7.0.0 game may even work on 1.0.0
    One other may only work on 7.0.0
     
    Last edited by The-4n, Apr 10, 2019
    OrGoN3 likes this.
  21. TR_mahmutpek

    TR_mahmutpek medic

    Member
    7
    Jul 28, 2015
    Turkey
    Useful homebrew for scene. Thx for your work.
     
  22. Frankbel

    Frankbel GBAtemp Regular

    Member
    5
    Feb 10, 2004
    Italy
    Messina
    Nice work. It will be useful.
     
    Zumoly likes this.
Loading...