Releases: sk-zk/TruckLib
v0.1.7
This release supports map version 901.
TruckLib
* Fix a floating point issue in HermiteSpline.GetSpacedPoints()
Changes to included packages
TruckLib.Core (0.1.2 → 0.1.3)
* Open files without locking read-only access (Extractor#36)
TruckLib.HashFs (0.1.13 → 0.1.15)
+ [v2] Support plain entries with two metadata chunks as introduced in the 1.55 beta
* Open files without locking read-only access (Extractor#36)
TruckLib.Models (0.2.1 → 0.2.2)
+ Allow serializing pmd/pmg to memory
* Improve pmg de/serialization
* Open files without locking read-only access (Extractor#36)
TruckLib.Sii (0.1.6 → 0.1.10)
* [sii] Ignore quoted text when removing comments
* [sii] [breaking] SiiFile.Includes
is now of type HashSet<string>
* [sii] Fix nested relative @include
paths not resolving properly
* [sii] Handle fixed-length arrays which are actually longer than stated
v0.1.6
This release supports map version 901.
TruckLib
+ Enable SourceLink
+ Add Merge Roads flag of Prefab items
+ Add Adaptive Tessellation flag of Terrain items
+ Add trailer length and type properties to CompanySpawnPoint
* [breaking] CompanySpawnPoint
is now a class instead of a struct
* [breaking] Company.SpawnPoints
is now of type CompanySpawnPointList
* [breaking] Rename Curve.LowPolyVegetation
to LowDetail
* Fix deserialization of Prefabs throwing NullReferenceException
(regression in 0.1.5)
* Fix exception when Company.Prefab
is null upon construction or serialization
* Fix CompanySpawnPoint.Type
not being settable
* The Add
/Insert
overloads of CurveLocatorList
, FarModelDataList
, GateActivationPointList
, PathNodeList
and PolygonNodeList
which create a new object now return said object
Changes to included packages
TruckLib.Core (0.1.1 → 0.1.2)
+ Enable SourceLink
TruckLib.HashFs (0.1.11 → 0.1.13)
+ Enable SourceLink
+ Add IHashFsReader.TryGetEntry()
TruckLib.Models (0.2.0 → 0.2.1)
+ Enable SourceLink
TruckLib.Sii (0.1.5 → 0.1.6)
+ Enable SourceLink
v0.1.5
This release supports map version 901.
TruckLib
+ Properly set no. of columns of prefab terrain (if newly created and a model object was passed)
* Fix infinite loop when connecting two ends of a polyline to each other (#8)
Changes to included packages
TruckLib.Models (0.1.3 → 0.2.0)
* [breaking] Parse prefab terrain points into ControlNode.TerrainPoints
TruckLib.HashFs (0.1.10 → 0.1.11)
* Update TruckLib.Models
dependency
v0.1.4
This release supports map version 901.
TruckLib
+ Add functions for interpolating Hermite splines
+ Add PolylineItem.CreateItemsAlongPath()
, .InterpolateCurve()
, .InterpolateCurveDist()
+ Add a Sign.Add()
overload for signs without templates
+ Add DLC guard IDs for Missouri
* Fix final appended polyline item having an incorrect length
* Fix road terrain sometimes having an incorrect no. of columns
Changes to included packages
TruckLib.Sii (0.1.4 → 0.1.5)
+ [sii] Add SiiFile.Includes
, containing the paths of files referenced by a @include
directive
* [mat] Make closing brace of mat files optional
* [mat] Fix another instance of texture
/textureName
type mismatch in legacy mats
* [mat] Handle texture[n]
without corresponding texture_name[n]
in legacy mats
TruckLib.HashFs (0.1.9 → 0.1.10)
* Fix GetEntry
and EntryExists
behaving differently for paths with trailing slashes
v0.1.3
This release supports map version 901.
TruckLib
* Fix serialization of newly created signs throwing exception (#6)
* [breaking] The members of TerrainTransition
have been renamed
Changes to included packages
TruckLib.Sii
* [mat] Small fix for textures in legacy mats
TruckLib.HashFs
* [v2] Fix compressed size of entries not getting read correctly if it is greater than 224-1 bytes, again
v0.1.2
This release supports map version 901.
TruckLib
+ Add new DLC guard values
Changes to included packages
TruckLib.Sii
* [sii+mat] Fix very large floats failing to parse
* [sii+mat] Allow floats with dot but no fractional digits, e.g. 3.
* [sii+mat] Allow space between name and indexer of array attribute name
* [sii+mat] Handle array attributes where the indexer is missing in the name of the first defined element
+ [sii] Add SiiFile.Decode
for decoding 3nK/encrypted without parsing
+ [sii] Support nested @include
s
+ [sii] Make closing brace of SiiNunit
optional
* [mat] Allow comments in mat files
TruckLib.Models
* Ignore the material block size stated in the pmd header because there are files in the wild in which it is incorrect
TruckLib.HashFs
* Fix ExtractToFile
, but really this time
v0.1.1
This release supports map version 901.
TruckLib
+ Maps and selections can now be loaded from a IFileSystem
+ Add ability to serialize a Selection
+ Add CenterOrigin
method to Selection
* Fix multiple imports of a selection failing
Changes to included packages
TruckLib.Core
+ Add IFileSystem
and DiskFileSystem
TruckLib.Sii
+ [sii+mat] Files can now be loaded from a IFileSystem
* [sii+mat] Fix files with byte order mark causing an exception
* [sii+mat] Allow hexadecimal ints with 0x
prefix
* [sii+mat] Allow f
suffix for floats
* [sii+mat] Ignore missing end quote of string attributes
* [sii+mat] Allow fixed-length arrays to exceed their stated length
* [sii+mat] Fix exception if there is no whitespace between the class name and the opening curly brace
+ [sii] Add ability to encode and decode the 3nK format
+ [sii] Add ability to decrypt encrypted SII files
+ [sii] Add ignoreMissingIncludes
parameter to SiiFile
methods as new overload
* [sii] Allow ::
in unit class names
* [sii] Fix owner pointers starting with numbers getting parsed as floats
+ [mat] Reintroduce support for legacy materials
* [mat] Allow float4
type
* [mat] [breaking] Rename MatFile.Serialize(string path)
to Save
for consistency with SiiFile
* [mat] Fix serializer using the wrong tuple delimiters
TruckLib.Models
+ Models can now be loaded from byte[]
, a stream, or IFileSystem
+ Prefab descriptors can now be loaded from a stream or IFileSystem
* [breaking] Remove Model.Name
property and require it as parameter for Model.Save
instead
TruckLib.HashFs
+ Implement IFileSystem
in IHashFsReader
* [v2] Fix compressed size of entries not getting read correctly if it is greater than 224-1 bytes
* [v2] Change type of PackedTobjDdsMetadata.Format
to DxgiFormat
* Replace Ionic.Zlib
dependency with built-in System.IO.Compression
v0.1.0
This release supports map version 901.
I've been procrastinating this for quite a while, but it's time to finally start properly versioning TruckLib and to make it available on NuGet.
For now, the version scheme will be 0.<map>.<minor>, where <map> is the supported map format version, starting with 1 for 901 and increasing by 1 for each new map format version.
The namespaces TruckLib.Sii
, TruckLib.Models
and TruckLib.HashFs
are now separate packages which are versioned independently (because map format changes do not affect them). They are included as dependencies in the main package, but can also be used by themselves.