This pull request adds the ability to compress files to the .lz format of type 11 for Wii.
This functionality has been enabled in the Tools > Compressions > LZ77(Wii type 11) > Compress tab.
It has been successfully tested with the game Paper Mario: Color Splash for the Wii U.
It is important to note that this is a modified version of dsdecmp.
Also changed was the SaveFileForCompression method to remove the file extension when decompressing files with multiple extensions. Previously, the method would add a ".dec" extension to the file name when decompressing it. With this change, the method now removes the original file extension when decompressing a file with multiple extensions. These changes should improve the usability of the SaveFileForCompression method by ensuring that decompressed files with multiple extensions are saved with the correct file name.
Supports loading rigged models and viewing textures for both the Wii U and Switch versions of the game.
Keep in mind the Switch version lacks LZSS 3 byte compression and will be missing vertex data for certain models.
* Full support for Oodle descompression
* ups
* Save/Compress support
* throw exception if oo2core_6_win64 dll` dont exists
* Show a MessageBox when the dll is not present
* avoid using LINQ for array slicing
* separate pitch and block linear swizzle functions
* use tegra_swizzle lib for swizzle/deswizzle for block linear
* clean up tegra swizzle and remove redundant allocation
* add an additional binary for 32 bit
* add check to force valid block heights
* fix sizes for 32 bit swizzle ffi
* simplify mipmap offsets, fix clamping blockHeightLog2
* prevent 0 values for width/height
* port updated nutexb block height function from Cross Mod
* update tegra_swizzle to include corrected block height functions