reNXpack - Repack Nintendo Switch nsps to work on lower firmwares

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:
v1.16
Fixed a bug in file paths

v1.15
Added requiredsystemversion and keygeneration in summary
Fixed a bug in PFS0 validation
Fixed cnmt.xml invalid keygeneration

v1.11
Fixed a bug in exefs hash calculation

v1.10
Added NPDM(ACID/ACI0) kac minimum_kernel_version patching

v1.01
Fixed a bug in repacking updates
Fixed .cnmt.xml invalid RequiredSystemVersion value

v1.00
Initial release
 
Last edited by The-4n,

duckbill007

Well-Known Member
Member
Joined
May 5, 2011
Messages
564
Trophies
1
XP
2,013
Country
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?
 

The-4n

Well-Known Member
OP
Member
Joined
Aug 3, 2018
Messages
372
Trophies
0
Age
43
XP
2,764
Country
United States
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?

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
 
  • Like
Reactions: Mothafuckka

crow132

Well-Known Member
Member
Joined
Jan 19, 2016
Messages
303
Trophies
0
Age
33
XP
1,342
Country
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.
 

duckbill007

Well-Known Member
Member
Joined
May 5, 2011
Messages
564
Trophies
1
XP
2,013
Country
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?
 

The-4n

Well-Known Member
OP
Member
Joined
Aug 3, 2018
Messages
372
Trophies
0
Age
43
XP
2,764
Country
United States
@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?

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
 

duckbill007

Well-Known Member
Member
Joined
May 5, 2011
Messages
564
Trophies
1
XP
2,013
Country
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)
 

tomi1578

Well-Known Member
Member
Joined
Sep 12, 2018
Messages
147
Trophies
0
XP
375
Country
Israel
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
but tinfoil also has the standard proxy option which does what this program does

--------------------- MERGED ---------------------------

@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?
sx album installer and goldleaf seemed tom work with my minecraft+update multinsp
 

The-4n

Well-Known Member
OP
Member
Joined
Aug 3, 2018
Messages
372
Trophies
0
Age
43
XP
2,764
Country
United States
but tinfoil also has the standard proxy option which does what this program does

--------------------- MERGED ---------------------------


sx album installer and goldleaf seemed tom work with my minecraft+update multinsp

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
 

The-4n

Well-Known Member
OP
Member
Joined
Aug 3, 2018
Messages
372
Trophies
0
Age
43
XP
2,764
Country
United States
you need the keys file to use it

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,
  • Like
Reactions: Garou

The-4n

Well-Known Member
OP
Member
Joined
Aug 3, 2018
Messages
372
Trophies
0
Age
43
XP
2,764
Country
United States
How about a list with games that don't work with this method due to lack of IPCs?

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,
  • Like
Reactions: OrGoN3
General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    That sums it up right.
  • Megadriver94 @ Megadriver94:
    I am not it the loop on this, why take it so personally, though? Its just a video game and a work of fiction, at the end of the day.
  • K3N1 @ K3N1:
    I'm sure the devs don't mind refunding my .torrent for it
  • K3N1 @ K3N1:
    @Megadriver94, because these devs take child hood movies and make them look like shit expecting to profit off it
  • SylverReZ @ SylverReZ:
    @K3N1, That's what happens to every movie franchise.
  • Megadriver94 @ Megadriver94:
    Oh alright then, I can see what you are getting at.
  • Sonic Angel Knight @ Sonic Angel Knight:
    Sunday.... sunday dessert night :ninja:
  • K3N1 @ K3N1:
    With unreal engine their should be no excuse to make any animated figure look like complete shit whent hey have rights to it
  • K3N1 @ K3N1:
    The voice actor sounds like he didn't get casted for a tim Burton movie
  • linuxares @ linuxares:
    but you got to pay for the elvish voices
  • linuxares @ linuxares:
    and emotes... in a singleplayer game...
  • K3N1 @ K3N1:
    Damn the rights to LOTR is like all over the place lol
  • SylverReZ @ SylverReZ:
    Deserved
  • SylverReZ @ SylverReZ:
    At least we can point and laugh to an indie game that is not worth playing.
  • K3N1 @ K3N1:
    Last I read Amazon owns some rights you'd think a billion dollar company could fork more over for a decent game but their last game bricked GPUs so theirs that
    +1
  • linuxares @ linuxares:
    Be an e-commerce. Build a game that destroy the GPUs. Sell new GPUs. PROFITS!
  • K3N1 @ K3N1:
    Don't forget your 4090 we promise the next LOTR MMO will make it work for more than a year
  • K3N1 @ K3N1:
    Yay for user end replacement parts
  • SylverReZ @ SylverReZ:
    If your graphics card doesn't work with your game then don't blame us for shitty game performance.
  • K3N1 @ K3N1:
    At least @AncientBoi can run games released in his childhood
    +2
  • K3N1 @ K3N1:
    Marbles and pick up sticks 10/10
    SylverReZ @ SylverReZ: @K3N1, DOOM