Skip to content
4NXCI is a tool for converting XCI(NX Card Image) files to NSP
Branch: master
Clone or download
The-4n Added nca sig2 signing
Bumped version
Bumped GUI version
Updated CHANGELOG
Latest commit 5358a60 Mar 12, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
4nxci-GUI
mbedtls
patches Added ACID patch for 7.0.0 Feb 22, 2019
CHANGELOG.txt
ConvertUTF.c Initial Release Aug 3, 2018
ConvertUTF.h Initial Release Aug 3, 2018
LICENSE
Makefile Added nca sig2 signing Mar 12, 2019
README.md
aes.c
aes.h Initial Release Aug 3, 2018
bktr.h Code cleanup Aug 20, 2018
cnmt.c Added support for download cnmts without rightsid, Fix #25 Feb 1, 2019
cnmt.h Added --rename and --keepncaid options Jan 23, 2019
config.mk.template Initial Release Aug 3, 2018
extkeys.c Removed keys warning message, closes #39 Mar 9, 2019
extkeys.h Initial Release Aug 3, 2018
filepath.c Added remove temp directory Oct 13, 2018
filepath.h
hfs0.c
hfs0.h Added support for xcis with patch and addon Aug 18, 2018
ivfc.h Added --rename and --keepncaid options Jan 23, 2019
main.c
nacp.h Added --rename and --keepncaid options Jan 23, 2019
nca.c
nca.h Added --rename and --keepncaid options Jan 23, 2019
npdm.h Code cleanup Aug 20, 2018
nsp.c Added options Sep 10, 2018
nsp.h Added --rename and --keepncaid options Jan 23, 2019
pfs0.h Code cleanup Aug 20, 2018
pki.c Added Support for keygeneration 7 Dec 1, 2018
pki.h
romfs.c Added special character escaping, Fix #24 Jan 29, 2019
romfs.h
rsa.c
rsa.h
rsa_keys.h
settings.h Added --rename and --keepncaid options Jan 23, 2019
sha.c
sha.h
types.h Initial Release Aug 3, 2018
utils.c Enhanced compilers compatibility Aug 21, 2018
utils.h Added Support for gamecards with multiple addon metadatas Aug 30, 2018
version.h Added nca sig2 signing Mar 12, 2019
xci.c Initial Release Aug 3, 2018
xci.h

README.md

4NXCI

License

4NXCI is a tool for converting XCI(NX Card Image) files to NSP

4NXCI is based on hactool by SciresM
Thanks: SciresM, Rajkosto, Switch Brew
Thanks TehPsychedelic for working on 4NXCI-GUI

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 4NXCI
Required keys are:

Key Name Description
header_key NCA Header Key
key_area_key_application_xx Application key area encryption keys

By defaullt, Created NSP files are located in the same folder as 4NXCI with 'titleid.nsp' filename
You can change output directory with -o, --outdir option and use titlename for filenames with -r, --rename option
4NXCI creates "4nxci_extracted_xci" 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 4NXCI deletes it

*nix: ./4nxci [options...] <path_to_file.xci>  
Windows: .\4nxci.exe [options...] <path_to_file.xci>  
  
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  
-r, --rename             Use Titlename instead of Titleid in nsp name  
--keepncaid              Keep current ncas ids  

Licensing

This software is licensed under the terms of the ISC License.
You can find a copy of the license in the LICENSE file.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.