GBX.NET.ZLib 1.1.1-nightly.20251128.cee286e5

GBX.NET.ZLib

NuGet Discord

A zlib compression plugin for GBX.NET to allow de/serialization of compressed Gbx parts like ghost/entity data or lightmap cache. This official implementation uses managed Iconic.Zlib.Netstandard.

The compression logic is split up from the read/write logic to separate dependencies better.

Compression has not been tested.

Usage

Additional package GBX.NET.LZO is required in this example.

At the beginning of your program execution, you add the Gbx.ZLib = new ZLib(); to prepare the ZLib compression. It should be run only once.

using GBX.NET;
using GBX.NET.Engines.Game;
using GBX.NET.LZO;
using GBX.NET.ZLib; // Add this

Gbx.LZO = new Lzo();
Gbx.ZLib = new ZLib(); // Add this ONLY ONCE and before you start using Parse methods

var ghost = Gbx.ParseNode<CGameCtnGhost>("Path/To/My.Ghost.Gbx");

// SampleData will (likely) use ZLib decompression
foreach (var sample in ghost.SampleData.Samples)
{
    Console.WriteLine(sample.Position);
}

You should not get the ZLib exception anymore when you attempt to get SampleData.

License

GBX.NET.ZLib library is MIT Licensed.

If you use the LZO compression library, you must license your project under the GNU GPL v3.

No packages depend on GBX.NET.ZLib.

.NET 8.0

.NET 9.0

.NET 10.0

.NET Standard 2.0

Version Downloads Last updated
1.1.1 52 09/12/2025
1.1.1-nightly.20251130.cee286e5 1 11/30/2025
1.1.1-nightly.20251129.cee286e5 1 11/29/2025
1.1.1-nightly.20251128.cee286e5 3 11/28/2025
1.1.1-nightly.20251127.cee286e5 4 11/27/2025
1.1.1-nightly.20251126.cee286e5 4 11/26/2025
1.1.1-nightly.20251125.cee286e5 5 11/25/2025
1.1.1-nightly.20251124.cee286e5 7 11/24/2025
1.1.1-nightly.20251123.cee286e5 6 11/23/2025
1.1.1-nightly.20251122.cee286e5 7 11/22/2025
1.1.1-nightly.20251121.cee286e5 8 11/21/2025
1.1.1-nightly.20251120.cee286e5 8 11/20/2025
1.1.1-nightly.20251119.cee286e5 9 11/19/2025
1.1.1-nightly.20251118.cee286e5 8 11/18/2025
1.1.1-nightly.20251117.cee286e5 7 11/17/2025
1.1.1-nightly.20251116.cd6cbb8f 9 11/16/2025
1.1.1-nightly.20251115.cd6cbb8f 11 11/15/2025
1.1.1-nightly.20251114.cd6cbb8f 9 11/14/2025
1.1.1-nightly.20251113.cc7ee0c7 8 11/13/2025
1.1.1-nightly.20251112.cc7ee0c7 6 11/12/2025
1.1.1-nightly.20251111.cc7ee0c7 7 11/11/2025
1.1.1-nightly.20251110.cc7ee0c7 10 11/10/2025
1.1.1-nightly.20251109.cc7ee0c7 9 11/09/2025
1.1.1-nightly.20251108.cc7ee0c7 10 11/08/2025
1.1.1-nightly.20251107.cc7ee0c7 9 11/07/2025
1.1.1-nightly.20251106.cc7ee0c7 9 11/06/2025
1.1.1-nightly.20251105.cc7ee0c7 14 11/05/2025
1.1.1-nightly.20251104.cc7ee0c7 12 11/04/2025
1.1.1-nightly.20251103.cc7ee0c7 13 11/03/2025
1.1.1-nightly.20251102.c43def11 11 11/02/2025
1.1.1-nightly.20251101.c43def11 10 11/01/2025
1.1.1-nightly.20251031.c43def11 11 10/31/2025
1.1.1-nightly.20251030.c43def11 15 10/30/2025
1.1.1-nightly.20251029.c43def11 18 10/29/2025
1.1.1-nightly.20251028.ce6a6ed6 15 10/28/2025
1.1.1-nightly.20251027.ce6a6ed6 19 10/27/2025
1.1.1-nightly.20251026.ce6a6ed6 22 10/26/2025
1.1.1-nightly.20251025.ce6a6ed6 16 10/25/2025
1.1.1-nightly.20251024.ce6a6ed6 16 10/24/2025
1.1.1-nightly.20251023.ce6a6ed6 20 10/23/2025
1.1.1-nightly.20251022.ce6a6ed6 18 10/22/2025
1.1.1-nightly.20251021.ce6a6ed6 20 10/21/2025
1.1.1-nightly.20251020.cd56d4a7 19 10/20/2025
1.1.1-nightly.20251019.cf7d66e0 21 10/19/2025
1.1.1-nightly.20251018.cf7d66e0 19 10/18/2025
1.1.1-nightly.20251017.c5a52eb9 21 10/17/2025
1.1.1-nightly.20251016.c5a52eb9 20 10/16/2025
1.1.1-nightly.20251015.c5a52eb9 22 10/15/2025
1.1.1-nightly.20251014.c5a52eb9 19 10/14/2025
1.1.1-nightly.20251013.c5a52eb9 24 10/13/2025
1.1.1-nightly.20251012.c5a52eb9 20 10/12/2025
1.1.1-nightly.20251011.c5a52eb9 21 10/11/2025
1.1.1-nightly.20251010.c5a52eb9 21 10/10/2025
1.1.1-nightly.20251009.c5a52eb9 21 10/09/2025
1.1.1-nightly.20251008.c5a52eb9 20 10/08/2025
1.1.1-nightly.20251007.c55d6ba0 25 10/07/2025
1.1.1-nightly.20251006.c55d6ba0 27 10/06/2025
1.1.1-nightly.20251005.c2c8c81e 30 10/05/2025
1.1.1-nightly.20251004.c2c8c81e 33 10/04/2025
1.1.1-nightly.20251003.cce76ab7 34 10/03/2025
1.1.1-nightly.20251002.cce76ab7 26 10/02/2025
1.1.1-nightly.20251001.cce76ab7 33 10/01/2025
1.1.1-nightly.20250930.cce76ab7 23 09/30/2025
1.1.1-nightly.20250929.cce76ab7 35 09/29/2025
1.1.1-nightly.20250928.cce76ab7 36 09/28/2025
1.1.1-nightly.20250927.cce76ab7 39 09/27/2025
1.1.1-nightly.20250926.cce76ab7 38 09/26/2025
1.1.1-nightly.20250925.cce76ab7 31 09/25/2025
1.1.1-nightly.20250924.cce76ab7 42 09/24/2025
1.1.1-nightly.20250923.cce76ab7 41 09/23/2025
1.1.1-nightly.20250922.cce76ab7 41 09/22/2025
1.1.1-nightly.20250921.cce76ab7 31 09/21/2025
1.1.1-nightly.20250920.cce76ab7 33 09/20/2025
1.1.1-nightly.20250919.cce76ab7 33 09/19/2025
1.1.1-nightly.20250918.cce76ab7 31 09/18/2025
1.1.1-nightly.20250917.cce76ab7 42 09/17/2025
1.1.1-nightly.20250916.cce76ab7 45 09/16/2025
1.1.1-nightly.20250915.cce76ab7 34 09/15/2025
1.1.1-nightly.20250914.cce76ab7 41 09/14/2025
1.1.1-nightly.20250913.cce76ab7 46 09/13/2025
1.1.1-nightly.20250912.cba11d3c 33 09/12/2025
1.1.1-nightly.20250911.cba11d3c 45 09/11/2025
1.1.1-nightly.20250910.cba11d3c 50 09/10/2025
1.1.1-nightly.20250909.cba11d3c 46 09/09/2025
1.1.1-nightly.20250908.cba11d3c 33 09/08/2025
1.1.1-nightly.20250907.cba11d3c 33 09/07/2025
1.1.1-nightly.20250906.cba11d3c 45 09/06/2025
1.1.1-nightly.20250905.cba11d3c 49 09/05/2025
1.1.1-nightly.20250904.cba11d3c 48 09/04/2025
1.1.1-nightly.20250903.cba11d3c 42 09/03/2025
1.1.1-nightly.20250902.cba11d3c 50 09/02/2025
1.1.1-nightly.20250901.cba11d3c 49 09/01/2025
1.1.1-nightly.20250831.cba11d3c 50 08/31/2025
1.1.1-nightly.20250830.cba11d3c 53 08/30/2025
1.1.1-nightly.20250829.cba11d3c 55 08/29/2025
1.1.1-nightly.20250828.cde940d2 37 08/28/2025
1.1.1-nightly.20250827.c8257ead 53 08/27/2025
1.1.1-nightly.20250826.c1aa6590 54 08/26/2025
1.1.1-nightly.20250825.c3a861aa 52 08/25/2025
1.1.1-nightly.20250824.c3a861aa 56 08/24/2025
1.1.1-nightly.20250823.c3a861aa 40 08/23/2025
1.1.1-nightly.20250822.c3a861aa 51 08/22/2025
1.1.1-nightly.20250821.c3a861aa 42 08/21/2025
1.1.1-nightly.20250820.c3a861aa 56 08/20/2025
1.1.1-nightly.20250819.c3a861aa 39 08/19/2025
1.1.1-nightly.20250818.c5bbab68 42 08/18/2025
1.1.1-nightly.20250817.ce814990 40 08/17/2025
1.1.1-nightly.20250817.c6817f0a 38 08/17/2025
1.1.1-nightly.20250816.c6817f0a 39 08/16/2025
1.1.1-nightly.20250815.c6817f0a 56 08/15/2025
1.1.1-nightly.20250814.c6817f0a 40 08/14/2025
1.1.1-nightly.20250813.c6817f0a 41 08/13/2025
1.1.1-nightly.20250812.c6817f0a 56 08/12/2025
1.1.1-nightly.20250811.c6817f0a 39 08/11/2025
1.1.1-nightly.20250810.c6817f0a 53 08/10/2025
1.1.1-nightly.20250809.c6817f0a 38 08/09/2025
1.1.1-nightly.20250808.c6817f0a 41 08/08/2025
1.1.1-nightly.20250807.c6817f0a 41 08/07/2025
1.1.1-nightly.20250806.c6817f0a 46 08/06/2025
1.1.1-nightly.20250805.c6817f0a 46 08/05/2025
1.1.1-nightly.20250804.c6817f0a 38 08/04/2025
1.1.1-nightly.20250803.c6817f0a 58 08/03/2025
1.1.1-nightly.20250802.c6817f0a 58 08/02/2025
1.1.1-nightly.20250801.c6817f0a 45 08/01/2025
1.1.1-nightly.20250731.c6817f0a 63 07/31/2025
1.1.1-nightly.20250730.c6817f0a 71 07/30/2025
1.1.1-nightly.20250729.c6817f0a 62 07/29/2025
1.1.1-nightly.20250728.ca7f9be8 65 07/28/2025
1.1.1-nightly.20250727.cd7b47aa 45 07/27/2025
1.1.1-nightly.20250726.cd7b47aa 80 07/26/2025
1.1.1-nightly.20250725.cd7b47aa 52 07/25/2025
1.1.1-nightly.20250724.cd7b47aa 67 07/24/2025
1.1.1-nightly.20250723.cd7b47aa 67 07/23/2025
1.1.1-nightly.20250722.cd7b47aa 68 07/22/2025
1.1.1-nightly.20250721.cd7b47aa 69 07/21/2025