Skip to content

Releases: anno-mods/FileDBReader

Pre-Release v2.2.99

13 Nov 13:06
32e9800

Choose a tag to compare

Pre-Release v2.2.99 Pre-release
Pre-release
  • 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

24 Sep 19:12

Choose a tag to compare

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

12 Jun 22:04

Choose a tag to compare

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
    SomeValues

for 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

22 Mar 13:15

Choose a tag to compare

Release v2.0.99 Pre-release
Pre-release
  • Implementation of Deserialization
  • Easy Access via static FileDBConvert class

Release v2.0.5

10 Feb 14:54

Choose a tag to compare

Release v2.0.5 Pre-release
Pre-release
  • Updates to the Serialization library

Release v2.0.4

01 Jan 11:13

Choose a tag to compare

Fixed a Bug in Node Type determination in file version 2

Release v2.0.3

31 Dec 14:18

Choose a tag to compare

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

28 Nov 22:45

Choose a tag to compare

Serializing Library:

XML <-> FileDB Tool:

  • Refactored FC handling from binary data to hex strings

Release v2.0.1

13 Nov 17:36

Choose a tag to compare

Release v2.0.1 Pre-release
Pre-release
  • 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

04 Nov 23:10

Choose a tag to compare

Release v2.0.0 Pre-release
Pre-release
  • 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