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,

Sunnyboy

Well-Known Member
Member
Joined
Mar 22, 2008
Messages
416
Trophies
1
XP
1,836
Country
United States
i got MK11 with the update V1.0.2 in one singel XCI file
i see it on SXOS but when i wanne start the game it`s say gamecard could read?
 

Attachments

  • 20190421_133832.jpg
    20190421_133832.jpg
    768.6 KB · Views: 184
  • 20190421_134136.jpg
    20190421_134136.jpg
    601.8 KB · Views: 207

2Siralv

Well-Known Member
Member
Joined
May 12, 2018
Messages
109
Trophies
0
Age
27
XP
521
Country
Canada
I have an idea or question can you add so that if it finds any brick code or unsigned code that seems it shouldnt be thier and get removed and let us know in the log so ppl can let others know whrre that nsp came from and it had bad code to brick
 

shano

Well-Known Member
Member
Joined
Aug 27, 2012
Messages
200
Trophies
1
XP
1,499
Country
Australia
When using this for DLC (only tried with small under 200kb nsp dlc) the Switch says upon trying to start the game "Unplayable downloadable content was found" but it's still playable if you press Start Software.

Is all the DLC like this after repacking or just the small unlock ones?
 
Last edited by shano,

The-4n

Well-Known Member
OP
Member
Joined
Aug 3, 2018
Messages
372
Trophies
0
Age
43
XP
2,764
Country
United States
When using this for DLC (only tried with small under 200kb nsp dlc) the Switch says upon trying to start the game "Unplayable downloadable content was found" but it's still playable if you press Start Software.

Is all the DLC like this after repacking or just the small unlock ones?

This is a known issue for standard crypto dlcs (download type, not gamecard type)
DLCs work fine. That message is not important
 
  • Like
Reactions: shano

Philliyxx

Well-Known Member
Member
Joined
Sep 21, 2018
Messages
315
Trophies
0
Age
35
XP
912
Country
United States
But 4NXCI does that too. So why would you use this over that?
Well there are multiple apps in the scene, everyone is free to develop what he/she wants
We have hactool and hactoolnet, dz and goldleaf, edizon and checkpoint, ....

And i don't follow most of the scene apps, I didn't know such an app exist

But i've already mentioned the features, I try to make my apps easy to use, usually one click, and currently they are only apps that doesn't require acid sig patches (change acid public key and sign nca sig 2)
So feel free to use every app you want
 

Rune

Well-Known Member
Member
Joined
Feb 15, 2017
Messages
682
Trophies
0
XP
2,199
Country
United Kingdom
4nxci converts XCI files to NSP. That's not what reNXpack does.
4NXCI also converts NSP to XCI, or XCI to XCI, or whatever you like. And it can also take an NSP, re-encrypt it with lower keys, and repack it in a new NSP (or XCI). Which is exactly what reNXpack does.
And both of these tools are made by the same person as well.

Which is why I'm asking. Is reNXpack just a lite version of the same tool with one specific purpose (as opposed to the multi-tool that 4NXCI is)? So am I missing something?
 

stick267

Well-Known Member
Member
Joined
Dec 17, 2018
Messages
598
Trophies
0
Age
32
XP
1,157
Country
United States
4NXCI also converts NSP to XCI, or XCI to XCI, or whatever you like. And it can also take an NSP, re-encrypt it with lower keys, and repack it in a new NSP (or XCI). Which is exactly what reNXpack does.
And both of these tools are made by the same person as well.

Which is why I'm asking. Is reNXpack just a lite version of the same tool with one specific purpose (as opposed to the multi-tool that 4NXCI is)? So am I missing something?
I'm unaware of all of those features you mentioned. They're not even listed in the github. Are you sure you're talking about 4nxci?

https://github.com/The-4n/4NXCI
 

Rune

Well-Known Member
Member
Joined
Feb 15, 2017
Messages
682
Trophies
0
XP
2,199
Country
United Kingdom
Ok, I may have mistaken this for something else :blush:
I dont even know where I got the tool I'm using anymore. :lol:


EDIT
Just realised I'm actually talking about NSC Builder. Sorry.
 
Last edited by Rune,
  • Like
Reactions: wicksand420

Philliyxx

Well-Known Member
Member
Joined
Sep 21, 2018
Messages
315
Trophies
0
Age
35
XP
912
Country
United States
If someone wants to edit the wiki the below games all worked when repacked to 5.1 keys. Not sure about some of the FW bypass requirements as I am not on higher FW to check. Also the Tales of Vesperia DLC's all installed and work on 5.1 I did not find their title ID's

{{Nxfw | name= Darksiders Warmastered Edition | tid= [0100E1400BA96000] | type=FULL | fw= 6.2 | fwbypass= 5 | fwrepack= 5.1 | notes= }}
{{Nxfw | name= Vaporum | tid= [010030F00CA1E000] | type=FULL | fw= 6.2 | fwbypass= | fwrepack= 5.1 | notes= }}
{{Nxfw | name= FINAL FANTASY XX-2 HD Remaster | tid= [0100BC300CB48000] | type=FULL | fw= | fwbypass= | fwrepack= 5.1 | notes= }}
{{Nxfw | name= SteamWorld Quest | tid= [0100F6D00D83E000] | type=FULL | fw= | fwbypass= | fwrepack= 5.1 | notes= }}
{{Nxfw | name= Cuphead | tid=[0100A5C00D162800 v131072]| type= UPD | fw= 8.0 | fwbypass= | fwrepack= 5.1 | notes= }}
{{Nxfw | name= Cuphead | tid= [0100A5C00D162000][v0] | type=FULL | fw= 8.0| fwbypass= | fwrepack= 5.1 | notes= }}
{{Nxfw | name= Tales of Vesperia Definitive Edition | tid= [01002C0008E52000][v0] | type=FULL | fw= 6.2 | fwbypass= | fwrepack= 5.1 | notes= }}
{{Nxfw | name= FINAL FANTASY IX | tid= [01007EF00B094000][v0] | type= FULL | fw= | fwbypass= | fwrepack= 5.1 | notes= }}
 
  • Like
Reactions: The-4n

The-4n

Well-Known Member
OP
Member
Joined
Aug 3, 2018
Messages
372
Trophies
0
Age
43
XP
2,764
Country
United States
If someone wants to edit the wiki the below games all worked when repacked to 5.1 keys. Not sure about some of the FW bypass requirements as I am not on higher FW to check. Also the Tales of Vesperia DLC's all installed and work on 5.1 I did not find their title ID's

{{Nxfw | name= Darksiders Warmastered Edition | tid= [0100E1400BA96000] | type=FULL | fw= 6.2 | fwbypass= 5 | fwrepack= 5.1 | notes= }}
{{Nxfw | name= Vaporum | tid= [010030F00CA1E000] | type=FULL | fw= 6.2 | fwbypass= | fwrepack= 5.1 | notes= }}
{{Nxfw | name= FINAL FANTASY XX-2 HD Remaster | tid= [0100BC300CB48000] | type=FULL | fw= | fwbypass= | fwrepack= 5.1 | notes= }}
{{Nxfw | name= SteamWorld Quest | tid= [0100F6D00D83E000] | type=FULL | fw= | fwbypass= | fwrepack= 5.1 | notes= }}
{{Nxfw | name= Cuphead | tid=[0100A5C00D162800 v131072]| type= UPD | fw= 8.0 | fwbypass= | fwrepack= 5.1 | notes= }}
{{Nxfw | name= Cuphead | tid= [0100A5C00D162000][v0] | type=FULL | fw= 8.0| fwbypass= | fwrepack= 5.1 | notes= }}
{{Nxfw | name= Tales of Vesperia Definitive Edition | tid= [01002C0008E52000][v0] | type=FULL | fw= 6.2 | fwbypass= | fwrepack= 5.1 | notes= }}
{{Nxfw | name= FINAL FANTASY IX | tid= [01007EF00B094000][v0] | type= FULL | fw= | fwbypass= | fwrepack= 5.1 | notes= }}

Can you please use the latest version of reNXpack, It tells you the required system version and keygeneration, if you tell me those values i can fill the wiki table
 

nraudigy2

Member
Newcomer
Joined
Jan 12, 2019
Messages
11
Trophies
0
Age
43
XP
133
Country
United States
Confirm: Mortal Kombat 11 [0] & [v65536] works after standard encryption with 6.2 (SDK 6.5.x)

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


Cuphead Update doesnt show anything with XCI-Explorer. I get the same massage with reNXpack, tested different sources.
You had to choose standard encryption in Tinfoil?
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,016
Trophies
2
Age
35
XP
4,457
Country
United States
Deltafragments are totally useless
reNXpack deletes them, some title installers ignore them too
Can you talk a little more about DeltaFragments? Why are they listed in the CNMT along with the Control, Meta, Program, and LegalInfo NCAs if they're not used for anything? Why do some games fail to launch when updates not containing DeltaFragments are installed?
 

tansoftware

Member
Newcomer
Joined
Apr 15, 2019
Messages
23
Trophies
0
Age
41
XP
157
Country
Canada
Tried repacking MK11... v0 (6.8gb) was successfully repacked and working but its game modes are limited indicating that it does require the update file.

When I tried repacking the update file, v131072 (16.9gb), I get this weird error:
----------------------------------------------------------------------------------------------------------------
reNXpack execution started. Please wait...

reNXpack v1.16 by The-4n

Loading 'D:\Downloads\Mortal Kombat 11 [NSP]\renxpack-v1.16_GUI\keys.dat' keyset file

Saving 5885aea238298030c4ac3681e036dc92.cnmt.nca to renxpack_extracted_nsp\5885aea238298030c4ac3681e036dc92.cnmt.nca...
Unknown meta type! Are keys correct?
----------------------------------------------------------------------------------------------------------------

If I try to install the update without repacking it, it installs, but then the game icon shows as a spinning wheel (as if trying to load something) and nothing else happens. I can't even remove the update or the original app which forces me to restore my entire switch from a backup.

I downloaded both files from two different sources, and the same thing happens.

Using FW6.2.0, SX Pro 2.6.1, Emunand

Would appreciate any help in figuring out why this is happening.

Thanks.
 

KnightMars

Well-Known Member
Newcomer
Joined
Mar 22, 2019
Messages
66
Trophies
0
XP
504
Country
Malaysia
Tried repacking MK11... v0 (6.8gb) was successfully repacked and working but its game modes are limited indicating that it does require the update file.

When I tried repacking the update file, v131072 (16.9gb), I get this weird error:
----------------------------------------------------------------------------------------------------------------
reNXpack execution started. Please wait...

reNXpack v1.16 by The-4n

Loading 'D:\Downloads\Mortal Kombat 11 [NSP]\renxpack-v1.16_GUI\keys.dat' keyset file

Saving 5885aea238298030c4ac3681e036dc92.cnmt.nca to renxpack_extracted_nsp\5885aea238298030c4ac3681e036dc92.cnmt.nca...
Unknown meta type! Are keys correct?
----------------------------------------------------------------------------------------------------------------

If I try to install the update without repacking it, it installs, but then the game icon shows as a spinning wheel (as if trying to load something) and nothing else happens. I can't even remove the update or the original app which forces me to restore my entire switch from a backup.

I downloaded both files from two different sources, and the same thing happens.

Using FW6.2.0, SX Pro 2.6.1, Emunand

Would appreciate any help in figuring out why this is happening.

Thanks.

the game requires a specific IPC added in a later firmware, the MK11 update will not work on fw6.2 , even if encrypted using a compatible encryption key.
 
General chit-chat
Help Users
  • Skelletonike @ Skelletonike:
    I'm an exemplary Christian, shame on you
  • SylverReZ @ SylverReZ:
    @Skelletonike, And a true pervert.
    +1
  • Skelletonike @ Skelletonike:
    Both things aren't mutually exclusive. :P
    +2
  • Skelletonike @ Skelletonike:
    3h left until work finishes, bah
  • Skelletonike @ Skelletonike:
    link doesn't work
    +2
  • Skelletonike @ Skelletonike:
    1H left, such a slow week.
  • Sonic Angel Knight @ Sonic Angel Knight:
    Okay, I had spaghetti :P
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
    Psionic Roshambo @ Psionic Roshambo: Link I'm not the princess your looking for.... *Pulls a crying game*