Skip to content

GBX.NET 2.0.6

Compare
Choose a tag to compare
@BigBang1112 BigBang1112 released this 23 Jul 20:20
· 62 commits to master since this release
7e75c7b
  • Enhanced CGameCtnBlock properties (by @tomek0055)
    • Unassigned1 blocks have been discovered as decal properties of the previous block: DecalId, DecalIntensity, DecalVariant
    • Added IsPillar and IsReplacement
    • Added PhyCharSpecialProperty (class CScenePhyCharSpecialProperty)
    • Added SquareCardEventIds
    • Some CGameCtnChallenge method signatures have been updated to address the change (breaking change)
    • HasFlags and Bit17 are now obsolete
  • Added full CPlugPrefab support
  • Added CPlugDynaObjectModel support (moving items in TM2020)
  • Block's X and Z coordinates are now subtracted by 1 in TM2 and TM2020 maps (breaking change)
  • Reworked CPlugTreeVisualMip (breaking change)
    • IDictionary<float, CPlugTree> Levels is now IList<CPlugTreeVisualMip.Level>
    • Level has float FarZ and CPlugTree Tree
  • Enabled lightmap support properly in CGameCtnChallenge
  • Added new read setting SafeSkippableChunks
    • Reads skippable chunks more expensively (similarly to GBX.NET 1) while allowing to ignore skippable chunk data
    • Saving Gbx files with these errors can lead to unpredictable issues
  • Added exceptions = true to external node properties
  • Updated GetChallenge methods in CGameCtnReplayRecord with asyncs and parse configuration
  • Implemented some missing CPlugMaterial and CPlugShader chunks from v1
  • Added CGameCtnChallenge.GenerateMapUid()
  • Added Color.ToRgba()
  • Gbx.Compress now attempts to recompress, which can result in better or worse compression
  • Gbx.Compress and Gbx.Decompress no longer return bool (breaking change)
  • Removed Gbx.Recompress to reduce confusion (breaking change)
  • Fixed Gbx.Compress incorrectly copying over
  • Fixed map metadata writing string lengths to write byte lengths instead of character lengths
  • Fixed CPlugSolid 0x000 version 15-28 not being properly written
  • Fixed CPlugVehicleCarPhyTuning for ManiaPlanet
  • Fixed CGameCtnCollection for ManiaPlanet
  • Attempts to fix CPlugSurface for TM2020
  • Updated TmEssentials to 2.5.0
  • Updated some attributes

GBX.NET.LZO 2.1.0 now uses native LZO implementation with 999 compression by default. This compression has been tested on all Trackmania games with success.

GBX.NET.Imaging.SkiaSharp 1.1.0:

  • Added ImportIcon to CGameCtnCollector extensions
  • Fixed incorrect colors on WebAssembly build

GBX.NET.NewtonsoftJson 1.0.1:

  • Added static GbxJson class and trimming annotations

New package GBX.NET.Imaging.ImageSharp, GBX.NET.Tool and GBX.NET.Tool.CLI!

Assets were automatically generated using the publish workflow.