nsz Installation Information ============================= Tool: nsz (Nintendo Switch Compression) Version: 4.6.1 Install Method: pip3 (Python package) Install Date: 2025-10-12 Location: ~/.local/bin/nsz Repository: https://github.com/nicoboss/nsz Package: https://pypi.org/project/nsz/ Dependencies Installed: ----------------------- - pycryptodome 3.23.0 (Nintendo encryption support) - zstandard 0.25.0 (Zstandard compression) - enlighten 1.14.1 (progress bars) - blessed 1.22.0 (terminal formatting) - prefixed 0.9.0 (unit formatting) - wcwidth 0.2.14 (terminal width detection) Installation Command: --------------------- pip3 install --user nsz Features: --------- - Compress NSP → NSZ (20-30% savings) - Compress XCI → XCZ (20-30% savings) - Decompress NSZ → NSP - Decompress XCZ → XCI - Multi-threaded compression - Configurable compression levels (1-22) - Batch processing support Requirements: ------------- ⚠️ Requires Nintendo Switch cryptographic keys! Keys must be placed at one of: - ~/.local/bin/keys.txt - ~/.switch/prod.keys Keys must be dumped from your own Switch using: https://github.com/shchmue/Lockpick_RCM/releases Compatible With: ---------------- - Atmosphere custom firmware - Tinfoil installer - Awoo Installer - Goldleaf (with plugin) NOT compatible with: - Official Nintendo firmware (must decompress first) - Yuzu emulator (must decompress to NSP) - Ryujinx emulator (must decompress to NSP) Typical Usage: -------------- # Compress NSP to NSZ nsz -C -l 22 game.nsp # Decompress NSZ to NSP nsz -D game.nsz # Batch compress directory nsz -C -l 22 /path/to/games/*.nsp Performance: ------------ - Compression level 18: 2-4 min per 3GB file (fast) - Compression level 22: 4-8 min per 3GB file (max) - Memory usage: ~500MB-1GB during compression - CPU: Multi-threaded (uses all cores by default) Space Savings: -------------- Typical Nintendo Switch collection (100 games @ 3GB avg): - Original NSP: 300 GB - Compressed NSZ: 210-240 GB - Saved: 60-90 GB (20-30%) Example compression ratios: - Small games (< 1GB): 25-35% savings - Medium games (1-5GB): 20-30% savings - Large games (> 10GB): 15-25% savings Integration: ------------ Can be tracked in ROM Groomer transformation database: - Track NSP → NSZ transformations - Record compression settings - Query reverse transformations - Support hash lookups via temporary decompression Notes: ------ - NSZ is a Python tool (not compiled binary) - Installed in Python user directory - Can be updated with: pip3 install --user --upgrade nsz - Legal requirement: Must use keys from your own Switch