This PR gets rid of chunk handler for version 0x80000800 and alike, and instead, makes it just use the handler for version 0x800 and alike, but using big endian binary reader. EndiannessChangeableBinaryReader has been added.
Also, I had to make a minor edit to COLLADA.cs (check the first commit), to make it not complain when trying to convert from .chr files shipped with Rise of Lyric.
Confirmed that this works at least for Rise of Lyric, for the .chr and .cgf files that I've run through.
Explicit casting has been used in Model.Read in order to reduce the number of changed files.
This PR gets rid of chunk handler for version
0x80000800
and alike, and instead, makes it just use the handler for version0x800
and alike, but using big endian binary reader.EndiannessChangeableBinaryReader
has been added.Also, I had to make a minor edit to COLLADA.cs (check the first commit), to make it not complain when trying to convert from .chr files shipped with Rise of Lyric.
Confirmed that this works at least for Rise of Lyric, for the .chr and .cgf files that I've run through.
Explicit casting has been used in
Model.Read
in order to reduce the number of changed files.