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