@ross-g The problem i currently have is that the normal values computed in blender don't match the values in the .mesh file i previously imported
so the shading is quite off cause the tangent and normal maps are incorrect.
Have you accounted for the fact that Blender uses right-handed Z-up space by default, whereas the Clausewitz models will be in left-handed Y-up space?
I don't think getting the file format specs will help you to solve that. As far as I can tell the general format of the .mesh files goes ...
@@b@ (header)
then either of the following ...
! (indicates property data to follow)
[ (indicates object data to follow)
objects just consist of an object name, an object has properties.
properties consist of a property name and array of values.
you can read the data type character (either: i-integer, f-float, s-string) and data length (integer) from the binary.
so you might get
[object[[shape[[[mesh!pf60 followed by a series of sixy float values, indicating that this mesh has property p with 60 float values (ie a mesh with 20 vertices)