AuroraLib.Compression
1.0.3
See the version list below for details.
dotnet add package AuroraLib.Compression --version 1.0.3
NuGet\Install-Package AuroraLib.Compression -Version 1.0.3
<PackageReference Include="AuroraLib.Compression" Version="1.0.3" />
<PackageVersion Include="AuroraLib.Compression" Version="1.0.3" />
<PackageReference Include="AuroraLib.Compression" />
paket add AuroraLib.Compression --version 1.0.3
#r "nuget: AuroraLib.Compression, 1.0.3"
#:package AuroraLib.Compression@1.0.3
#addin nuget:?package=AuroraLib.Compression&version=1.0.3
#tool nuget:?package=AuroraLib.Compression&version=1.0.3
AuroraLib.Compression
Supports a wide range of compression algorithms mainly used in video games.
Supported Algorithms
| Algorithm | Description |
|---|---|
| LZ10 | Nintendo LZ10 compression algorithm used in various games. |
| LZ11 | Nintendo LZ11 compression algorithm used in various games. |
| LZ77 | Nintendo LZ77 based on LZ10 algorithm used in some games. |
| MIO0* | Nintendo MIO0 compression algorithm used in some Nintendo games. |
| Yaz0* | Nintendo Yaz0 compression algorithm used in various games. |
| Yaz1* | Identical to Yaz0 only with a different identifier. |
| Yay0* | Nintendo YAY0 compression algorithm used in some Nintendo games. |
| RLE30 | Nintendo RLE30 compression algorithm used in GameBoy games. |
| PRS* | Sega PRS compression algorithm used in various Sega games. |
| LZSega | LZSega based on LZSS compression used in some GameCube Sega games. |
| CNX2 | Sega CNX2 algorithm, used in some Puyo Puyo. |
| COMP | Sega COMP based on LZ11 algorithm, used in some Puyo Puyo. |
| CXLZ | Sega CXLZ based on LZ10 algorithm, used in some Puyo Puyo. |
| LZ00 | Sega LZ00 is based on LZSS algorithm with encryption. |
| LZ01 | Sega LZ01 based on LZSS algorithm, used in some Puyo Puyo. |
| AKLZ | A LZSS based algorithm used in Skies of Arcadia Legends. |
| CNS | CNS compression algorithm, used in Games from Red Entertainment. |
| CLZ0 | CLZ0 compression algorithm, used in Games from Victor Interactive Software. |
| FCMP | FCMP based on LZSS algorithm, used in Muramasa The Demon Blade. |
| GCLZ | GCLZ based on LZ10 algorithm, used in Pandora's Tower. |
| LZ02 | LZ02 compression algorithm used in Mario Golf: Toadstool Tour. |
| LZHudson | LZHudson based on LZSS compression algorithm used in Mario Party 4. |
| LZShrek | LZShrek compression algorithm used in Shrek Super Slam. |
| LZSS | LZSS compression algorithm used in many games. |
| RefPack | RefPack compression algorithm used in EA games. |
| GZip | GZip based on DEFLATE compression algorithm. |
| ZLib | ZLib based on DEFLATE compression algorithm. |
| AsuraZlb | AsuraZlb based on ZLib compression algorithm used in Simpsons The Game. |
| ZLB | ZLB based on ZLib compression algorithm used in Star Fox Adventures. |
| ALLZ | Aqualead LZ compression algorithm used by a handful of games. |
* Big-endian and little-endian version are supported.
How To Use
Decompress a file with a specific algorithm.
using FileStream source = new("input.dat", FileMode.Open, FileAccess.Read, FileShare.Read);
using FileStream destination = new("output.dat", FileMode.Create, FileAccess.ReadWrite, FileShare.None);
new LZSS().Decompress(source, destination);
Compress a file with a specific algorithm.
using FileStream source = new("input.dat", FileMode.Open, FileAccess.Read, FileShare.Read);
using FileStream destination = new("output.dat", FileMode.Create, FileAccess.ReadWrite, FileShare.None);
new LZSS().Compress(source, destination);
Check if the file can be decompressed with a specific algorithm.
using FileStream source = new("input.dat", FileMode.Open, FileAccess.Read, FileShare.Read);
bool canDecompressed = new LZSS().IsMatch(source);
Credits
- Nickworonekin Puyo Tools inspired the LZ Decode and Encode code and reference for CNX2, LZ00, LZ01, LZ10, LZ11, PRS algorithms.
- Haruhiko Okumura reference his original C implementation of the LZSS algorithm.
- Daniel-McCarthy reference for MIO0, YAZ0, YAY0 algorithm.
- Niotso.wiki reference for RefPack algorithm.
- Sukharah reference for CLZ0 algorithm.
- Gamemasterplc reference for LZHudson algorithm.
- KirbyUK reference for LZShrek algorithm.
- Brolijah reference for ALLZ algorithm.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net6.0
- AuroraLib.Core (>= 1.3.0.1)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on AuroraLib.Compression:
| Package | Downloads |
|---|---|
|
AuroraLib.Compression-Extended
Has additional specific compression algorithms that are rarely used. |
|
|
FSALib
Bibliotek for working with FSA files. |
|
|
AeonSake.NintendoTools
General purpose extraction, parsing and deserialization tools for Nintendo file formats. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.5.3 | 353 | 9/23/2025 |
| 1.5.2 | 565 | 7/24/2025 |
| 1.5.1 | 327 | 5/21/2025 |
| 1.5.0 | 310 | 3/20/2025 |
| 1.4.1 | 220 | 1/23/2025 |
| 1.4.0 | 290 | 1/18/2025 |
| 1.3.0.1 | 618 | 11/8/2024 |
| 1.3.0 | 160 | 11/5/2024 |
| 1.2.1 | 177 | 10/30/2024 |
| 1.2.0.1 | 637 | 10/8/2024 |
| 1.2.0 | 288 | 9/16/2024 |
| 1.1.1 | 504 | 6/14/2024 |
| 1.1.0 | 166 | 6/11/2024 |
| 1.0.6 | 621 | 2/13/2024 |
| 1.0.5.1 | 186 | 2/4/2024 |
| 1.0.4 | 327 | 12/13/2023 |
| 1.0.3 | 242 | 11/17/2023 |