Skip to content

Releases: nicoboss/nsz

NSZ 3.1.1

29 Dec 18:06
Compare
Choose a tag to compare
  • Fixed XCZ decompression/verification

NSZ 3.1

29 Dec 15:50
Compare
Choose a tag to compare
  • Fixed broken decompression in v3.0.0 due to an optional argument not marked as such and an outdated file extension comparison
  • Allow the selection of individual files inside the OpenFileDialog
  • Made it visible which drive is currently selected inside the OpenFileDialog and SaveFileDialog
  • Replaced the background_down image with the background_normal one as it looks ugly inside the FileDialogs
  • Removed SaveFileDialog as its unused and a pain to maintain
  • Highly improved the OpenFileDialog by allowing switching between the icon and list layout
  • Added filter to the OpenFileDialog so it only displays nsp, nsz, xci, xcz and ncz files
  • No longer showing the empty placeholder for the device selection on non-Windows platforms an made per OpenFileDialog argument specifiable file filters possible
  • Finally enabled the selection of folders and selecting multiple items at the same time
  • Automatically creating the empty gui folder required for settings to be saved in nsz portable which is exactly the fix manually applied to nsz_v3.0.0_hotfix1_win64_portable.zip
  • Fixed the warnings that appeared in the console on every GUI launch
  • Made the file browser view mode buttons in the same design as the Windows device selection buttons
  • Implemented deletion of selected GameList items using the delete or backspace key
  • Highly improved the GameList item selection and deletion
  • Vixed verification only mode not executing when called from GUI
  • Set the default amount of threads for solid compression to 3 while keeping the number of logical cores the default for block compression because the majority is now using task parallelization for solid compression
  • Fixed: AttributeError: 'RootWidget' object has no attribute 'verify'
  • Dirty fixed Kivy throwing "Error in sys.excepthook" during shutdown if the amount of RecycleView data was ever decreasing
    • I tried multiple hours fixing this the proper way without success. I also tried removing all children what makes it to throw the same exception without even decreasing the amount of data and tried filling it with dummy data on shutdown in self.rootWidget.gameList.recycleView.shutdown() which didn’t worked because it’s already too late to spawn everything needed to avoid this exception.
  • Improved the wording of the error summary
  • Updated testing and deployment scripts
  • Fixed orphan processes remaining after the main process terminated after block compressing a very short task resulting in the orphan processes spamming "AttributeError: 'ForkAwareLocal' object has no attribute 'connection'" exceptions
  • Fixed NSZ GUI icon not showing
  • General system stability improvements to enhance the user's experience.

NSZ 3.0

24 Dec 01:31
Compare
Choose a tag to compare
  • GUI:
    • Contains all functions available using command line arguments
  • XCZ support
    • Block compressed (default)
    • Solid compressed
    • XCZ to XCI decompression
  • Implemented task parallel solid compression. See --multi
  • Implemented titlekey extraction with titlekeys.txt and titledb support. See --titlekeys
  • Added regex support to the extract option to allow the user to specify exactly which files should be extracted from the container. See --extractregex
  • NCZ decompression directly in nsz #38
  • Updated IndependentNczDecompressor to the latest version inside nsz
  • Fully replace tqdm with enlighten
    • Implemented multithreaded multiple process bars communication system for solid compression and verification while avoiding stdout race conditions
  • Endless decompression/verification on a few block compressed games #25
  • Fixed a major bug causing the space between block compressed NCZ files to be filled up with 0x00 to fit their uncompressed size
  • Major Scripts Cleanup
  • Fixed NSZ Decompressor TQDM Progress Bar
  • Fixed --rm-old-version
  • fixed path bug with decompression
  • Removed pycryptodome v3.9.0 restriction as its latest v3.9.3 works fine
  • Improved installation guide
  • Fixed an exception that could occur when trying to receive keys under special circumstances during debugging
  • Fixed a major bug inside the enhanced file existing check leading to files with the same name as a file already existing inside the output directory being overwritten without specifying this behavior using the –overwrite command line argument. This bug was cause by comparing the output file path instead of the output filename with existing filenames.
  • Made nsz pip package building Kivy compatible
  • Switched from Nuitka to PyInstaller due to Kivy compatibility
  • Changed how --extract and --verify arguments are handled internally
  • Set up CI with Azure Pipelines using self-hosted server
  • Fully switched to pathlib. This fixes #41 and a lot of other file path related issues
  • Fixed Enhanced File Existing Check. Adapting to pathlib and finally fixing --overwrite and --rm-old-version
  • Improved exception handling related to outdated keys.txt which fixes issue #29 and #40
  • General system stability improvements to enhance the user's experience.

nsz_v3.0.0_hotfix1_win64_portable.zip adds a missing empty folder that prevented GUI configurations from being saved in inside nsz_v3.0.0_win64_portable.zip

NSZ 2.1.1

14 Nov 21:39
Compare
Choose a tag to compare

How to install:

Put dumped prod.keys to %userprofile%/.switch, install python, execute "pip install nsz" and use "nsz" like every other cmd command.

NSZ 2.1.1 Changelog:

  • Fixed block compression for pip and Nuitka (nsz_win64_portable) by using sys.argv[0] instead of __main__.__file__ so threads no longer need to be prevented from initializing their own nut environment
  • Made installation instructions easier to see and understand
  • Scripts to automate testing and publishing

NSZ 2.1

14 Nov 11:14
baed9be
Compare
Choose a tag to compare
NSZ 2.1 Pre-release
Pre-release

NSZ 2.1 Changelog:

  • 98 commits worth of changes since v2.0
  • Added pip support
  • Added Nuitka standalone windows build support
  • Enhanced File Existing Check #20
    • Skip already compressed/decompressed files by default
    • --overwrite
    • --rm-old-version
    • Extracting TitleIDs and Versions from filename if possible (#17 and #19)
      • The titleID checking is now immensely faster than when extracting from Cnmt
    • --parseCnmt to get TitleID/version from Cnmt if not extractable from filename
      • Otherwise it falls back to simple filename checking which is much faster
  • Batch error handling with tracebacks (#16)
    • Some debugging codes to find out erroneous files
    • Prevent batch process raising errors
    • Batch error handling with tracebacks
  • The --thread option now works even for solid compression however the progress bar still has some visual glitches
  • NSP/NSZ file hash verification now uses the hashes inside Cnmt instead of the nca filename (#22)
  • Fixed decompression memory leak (#21)
    • The memory leak only occurs for dctx.stream_reader and was fixed by switching to the simple decompressing API which makes more sense for block decompression anyways
  • Improved pageReadSize calculation speed by using math instead of a while loop
  • Added option --remove-source that deletes the source file after compression or decompression (#24)
    • For this we finally properly closed file containers too
  • Fix huge compression memory leak (#13)
  • Fixed wrong working directory when starting nut.py from a different directory (#18)
  • Improved exception handling during TitleID/Version extraction
    • Added support for prod.keys
  • Reorganized file structure
  • Fixed keys.txt path to always be the folder containing nsz.py
  • Fixed default thread amount to be cpu_count()
  • Implemented python version checking to prevent python from showing the users confusing compatibility related exceptions
    • Compatible and tested with Python 3.6 and later
  • General system stability improvements to enhance the user's experience.

NSZ 2.0

20 Oct 12:48
Compare
Choose a tag to compare

NSZ 2.0 Changelog:

  • Fully implemented block compression which can be enabled using the --block option
    • Supports for random read access on compressed files
    • Highly multithreaded compression when block compressing
    • Technically supports playing compressed games in the future
    • Current title installers do not support this yet
    • Comes with a low compression ratio cost
  • Implemented NSP/NSZ file hash verification
  • Overwrite/Duplicate protection
  • Reorganized the project's folder structure and enhanced code readability
  • Improved user feedback in form of better understandable messages and errors
  • Fixed a lot of bugs and non-working features
  • Added MIT License so all code inside this project can be used for whatever you like
  • General system stability improvements to enhance the user's experience.

NSZ 1.0

13 Oct 01:48
c398fd2
Compare
Choose a tag to compare

Scripts to compress and decompress NSZ files.