Releases: anno-mods/FileDBReader
Pre-Release v2.2.99
- Complete rewrite of serialization code
Support of Tuple Types
- Directly (de)serialize tuples, especially useful in arrays
Seperating Lists and arrays
- Lists behave like arrays did before.
- Arrays always export a size node before their elements.
Renaming Properties
- Types are now properly checked for semantic validity during (de)serialization.
Implemented PropertyLocation attribute for more control over serialization order of inherited properties.
A giant thanks to @Shad0wlife for doing so much work on this.
Release v2.1.2
Changes in this Release
-
Added support for compression version 3
-
fixed some serialization issues by @jakobharder
-
add polymorph support to deserialization by @jakobharder
-
Add Interpreter File for Enbesan Islands by @Taludas
-
Add a7t_Gamedata interpreter by @Taludas
-
Feature: Rename Property Attribute by @Shad0wlife
Release v2.1.1
FileDBSerializer Object serialization
FlatArrayAttribute
On occasions like maptemplates, you will sometimes find arrays that are not contained by any tag, providing you with the following structure:
MapTemplate
ElementCount
PlayableArea
TemplateElement
SomeValues
TemplateElement
SomeValues
TemplateElement
SomeValuesfor ease of serialization, an Array can be marked with the FlatArray attribute. Each Array Entry will be named after the properties Name.
[FlatArray]
public TemplateElement[] TemplateElement { get; set; }OnSerialized method
If the serialized object has a public OnSerialized() method, it will be invoked after it has been deserialized.
New Options
in class FileDBSerializerOptions:
- Added Option IgnoreMissingProperties that ignores missing property errors during deserialization
- Added Option SkipDefaultedValues that only serializes a value if it is not 0 (for Value Types) or null (for reference types)
Behavior Changes
- Nullable is now treated exactly like T.
FileDBReader
Minor bugfixes
Release v2.0.99
- Implementation of Deserialization
- Easy Access via static FileDBConvert class
Release v2.0.5
- Updates to the Serialization library
Release v2.0.4
Fixed a Bug in Node Type determination in file version 2
Release v2.0.3
Updated Handling for Node Names that are illegal in XML but fine in FileDB
- An Error Message will appear that a node name is invalid
- The Node and its children will be ignored as stated in the error message.
Release v2.0.2
Serializing Library:
- Introduced Node Lookups, see Wiki Page
XML <-> FileDB Tool:
- Refactored FC handling from binary data to hex strings
Release v2.0.1
- Support for Invalid NodeNames using the z argument
-z [<Old> <New>] with any number of tuples you want.
i.e. -z "Delayed Construction" "DelayedConstruction" will replace every occurance of the node name "Delayed Construction" with "DelayedConstruction".
This might be nessecary for some files, since XML does not allow whitespace in node names, but FileDB does.
You don't need to reverse your replacement tuples when compressing, the tool does that for you.
- Cosmetic fix for FC root nodes
Release v2.0.0
- Complete Code Refactoring - The Program is now much faster and cleaner.
- Added a Serialization library (FileDBSerializer.dll). Documentation
- Fixed a few bugs in Compression Version 2.
- Added Support for CDATA nodes (Fc Files, Particles etc.) This will be a more powerful alternative to the AnnoFCConverter