@buran There is a file, this is a skeleton file, a binary file, and this file has a format, I can import this file for the blender, but I want to restore it to the original file format, but there is a problem when restoring it, quaternion and translations are not export, I guess the values of bones not coming out.
Here I am upload scripts and sample file.everything looks fine, only the values of the bones are not exported ///I can import this file and now I want to revert/// Converter .bsk to .fbx * .fbx to .bsk
https://mega.nz/file/3uBCXDZD#0HDh8pLjIK...NCY4RuqN1U
and file format here
https://github.com/DummkopfOfHachtendude...XVBSK-0101
The skeleton of the original file I imported first on the blender screen, and I exported it to the desktop according to the file format, but the values of the bones did not come out when exporting quaternion and translations, anyway, I reopened the file on the desktop and the bones were intertwined, the trouble is here f.write (struct.pack (" 4f, 0.0,0.0,0.0,0.0)) here but I don't know how to do it here
Here I am upload scripts and sample file.everything looks fine, only the values of the bones are not exported ///I can import this file and now I want to revert/// Converter .bsk to .fbx * .fbx to .bsk
https://mega.nz/file/3uBCXDZD#0HDh8pLjIK...NCY4RuqN1U
and file format here
https://github.com/DummkopfOfHachtendude...XVBSK-0101
The skeleton of the original file I imported first on the blender screen, and I exported it to the desktop according to the file format, but the values of the bones did not come out when exporting quaternion and translations, anyway, I reopened the file on the desktop and the bones were intertwined, the trouble is here f.write (struct.pack (" 4f, 0.0,0.0,0.0,0.0)) here but I don't know how to do it here