GBX.NET.ZLib 1.1.1-nightly.20250218.2caca5a

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.

Framework support

  • .NET 9
  • .NET 8
  • .NET 6
  • .NET Standard 2.0

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 6.0

.NET 8.0

.NET 9.0

.NET Standard 2.0

Version Downloads Last updated
1.1.1 42 12/31/2024
1.1.1-nightly.20250410.5dafd02 0 04/10/2025
1.1.1-nightly.20250409.5dafd02 0 04/09/2025
1.1.1-nightly.20250408.5dafd02 0 04/08/2025
1.1.1-nightly.20250407.5dafd02 0 04/07/2025
1.1.1-nightly.20250406.5dafd02 0 04/06/2025
1.1.1-nightly.20250405.5dafd02 1 04/05/2025
1.1.1-nightly.20250404.5dafd02 1 04/04/2025
1.1.1-nightly.20250403.5dafd02 4 04/03/2025
1.1.1-nightly.20250402.5dafd02 4 04/02/2025
1.1.1-nightly.20250401.5dafd02 5 04/01/2025
1.1.1-nightly.20250331.5dafd02 5 03/31/2025
1.1.1-nightly.20250330.5dafd02 6 03/30/2025
1.1.1-nightly.20250329.5dafd02 6 03/29/2025
1.1.1-nightly.20250328.5dafd02 7 03/28/2025
1.1.1-nightly.20250327.5dafd02 6 03/27/2025
1.1.1-nightly.20250326.5dafd02 7 03/26/2025
1.1.1-nightly.20250325.5dafd02 7 03/25/2025
1.1.1-nightly.20250324.5dafd02 9 03/24/2025
1.1.1-nightly.20250323.5dafd02 8 03/23/2025
1.1.1-nightly.20250322.014a2f7 6 03/22/2025
1.1.1-nightly.20250321.014a2f7 8 03/21/2025
1.1.1-nightly.20250320.014a2f7 10 03/20/2025
1.1.1-nightly.20250319.014a2f7 9 03/19/2025
1.1.1-nightly.20250318.014a2f7 9 03/18/2025
1.1.1-nightly.20250317.014a2f7 9 03/17/2025
1.1.1-nightly.20250316.014a2f7 11 03/16/2025
1.1.1-nightly.20250315.014a2f7 7 03/15/2025
1.1.1-nightly.20250314.014a2f7 11 03/14/2025
1.1.1-nightly.20250313.014a2f7 10 03/13/2025
1.1.1-nightly.20250312.014a2f7 9 03/12/2025
1.1.1-nightly.20250311.014a2f7 9 03/11/2025
1.1.1-nightly.20250310.014a2f7 10 03/10/2025
1.1.1-nightly.20250309.014a2f7 9 03/09/2025
1.1.1-nightly.20250308.014a2f7 20 03/08/2025
1.1.1-nightly.20250307.014a2f7 10 03/07/2025
1.1.1-nightly.20250306.014a2f7 16 03/06/2025
1.1.1-nightly.20250305.014a2f7 11 03/05/2025
1.1.1-nightly.20250304.014a2f7 12 03/04/2025
1.1.1-nightly.20250303.014a2f7 21 03/03/2025
1.1.1-nightly.20250302.4b887f5 14 03/02/2025
1.1.1-nightly.20250301.2caca5a 12 03/01/2025
1.1.1-nightly.20250228.2caca5a 13 02/28/2025
1.1.1-nightly.20250227.2caca5a 14 02/27/2025
1.1.1-nightly.20250226.2caca5a 14 02/26/2025
1.1.1-nightly.20250225.2caca5a 15 02/25/2025
1.1.1-nightly.20250224.2caca5a 15 02/24/2025
1.1.1-nightly.20250223.2caca5a 15 02/23/2025
1.1.1-nightly.20250222.2caca5a 16 02/22/2025
1.1.1-nightly.20250221.2caca5a 17 02/21/2025
1.1.1-nightly.20250220.2caca5a 15 02/20/2025
1.1.1-nightly.20250219.2caca5a 14 02/19/2025
1.1.1-nightly.20250218.2caca5a 14 02/18/2025
1.1.1-nightly.20250217.2caca5a 15 02/17/2025
1.1.1-nightly.20250216.2caca5a 16 02/16/2025
1.1.1-nightly.20250215.2caca5a 16 02/15/2025
1.1.1-nightly.20250214.2caca5a 17 02/14/2025
1.1.1-nightly.20250212.2caca5a 16 02/12/2025
1.1.1-nightly.20250211.2caca5a 16 02/11/2025
1.1.1-nightly.20250210.2caca5a 16 02/10/2025
1.1.1-nightly.20250209.2caca5a 25 02/09/2025
1.1.1-nightly.20250208.2caca5a 18 02/08/2025
1.1.1-nightly.20250207.f3adb17 24 02/07/2025
1.1.1-nightly.20250206.64e8ce1 22 02/06/2025
1.1.1-nightly.20250205.64e8ce1 18 02/05/2025
1.1.1-nightly.20250204.c697731 18 02/04/2025
1.1.1-nightly.20250203.f092940 20 02/03/2025
1.1.1-nightly.20250202.f092940 26 02/02/2025
1.1.1-nightly.20250201.f092940 25 02/01/2025
1.1.1-nightly.20250131.f092940 24 01/31/2025
1.1.1-nightly.20250130.f092940 21 01/30/2025
1.1.1-nightly.20250129.f092940 21 01/29/2025
1.1.1-nightly.20250128.51b0057 22 01/28/2025
1.1.1-nightly.20250127.51b0057 22 01/27/2025
1.1.1-nightly.20250126.51b0057 23 01/26/2025
1.1.1-nightly.20250125.51b0057 21 01/25/2025
1.1.1-nightly.20250124.51b0057 25 01/24/2025
1.1.1-nightly.20250123.5299e59 31 01/23/2025
1.1.1-nightly.20250122.e879e94 23 01/22/2025
1.1.1-nightly.20250121.eca3bc1 24 01/21/2025
1.1.1-nightly.20250120.878fbec 31 01/20/2025
1.1.1-nightly.20250119.878fbec 25 01/19/2025
1.1.1-nightly.20250118.17b9973 32 01/18/2025
1.1.1-nightly.20250117.52f4005 23 01/17/2025
1.1.1-nightly.20250116.52f4005 20 01/16/2025
1.1.1-nightly.20250115.52f4005 20 01/15/2025
1.1.1-nightly.20250114.52f4005 20 01/14/2025
1.1.1-nightly.20250113.8f44eff 20 01/13/2025
1.1.1-nightly.20250112.8f44eff 34 01/12/2025
1.1.1-nightly.20250111.3d6d76b 21 01/11/2025
1.1.1-nightly.20250110.b7035f4 22 01/10/2025
1.1.1-nightly.20250109.9e4811a 22 01/09/2025
1.1.1-nightly.20250108.9e4811a 22 01/08/2025
1.1.1-nightly.20250107.9e4811a 22 01/07/2025
1.1.1-nightly.20250106.9e4811a 22 01/06/2025
1.1.1-nightly.20250105.9e4811a 27 01/05/2025
1.1.1-nightly.20250104.f23ed36 22 01/04/2025
1.1.1-nightly.20250103.2a85c39 24 01/03/2025
1.1.1-nightly.20250102.2a85c39 21 01/02/2025
1.1.1-nightly.20250101.0cb2f89 21 01/01/2025
1.1.1-nightly.20241231.b52bf90 21 12/31/2024
1.1.1-nightly.20241230.e1bc0ba 21 12/30/2024
1.1.1-nightly.20241230.773ff0a 20 12/30/2024
1.1.1-nightly.20241229.54be67b 66 12/29/2024
1.1.1-nightly.20241228.0a759de 20 12/28/2024
1.1.0 52 09/29/2024