NSZ - Homebrew compatible NSP/XCI compressor/decompressor
Actively maintained. Last release 4 months ago, commits in 16 of the last 26 weeks. A safe choice.
pip install nszREADME as published on PyPI with version 5.0.0.
NSZ
A compression/decompression script (with optional GUI) that compresses or decompresses Nintendo Switch dumps losslessly thanks to the zstd compression algorithm. The compressed file can be installed with supported NSW Homebrew Title Installers.
Legal
- This project does NOT incorporate any copyrighted material such as cryptographic keys. All keys must be provided by the user.
- This project does NOT circumvent any technological protection measures. The NSZ file format purposely keeps all technological protection measures in place.
- This project shall only be used for legally purchased games or homebrew applications.
- This project is MIT licensed. Check LICENSE for more information.
Requirements
You need to have a hactool compatible keys file in a suitable directory to use this tool.
You must legally obtain your keys!
The keys file must be named either prod.keys or keys.txt. It must be located either in the directory in which you are running this software or:
| OS | Location |
|---|---|
| linux | $HOME/.switch/, $XDG_CONFIG_HOME/nsz/, $HOME/.config/nsz/ |
| macOS | $HOME/.switch/ |
| windows | %USERPROFILE%/.switch/ |
You can also provide a custom keys path at runtime using the --keys /path/to/prod.keys parameter. This may be a direct path to the file or a directory containing prod.keys or keys.txt.
Running this tool
There are several ways to run this tool. Choose from one of the methods below.