Animation exporter help - Little Endian format


#1

Hello!
I am trying to script an animation exporter in maya 2016 in phyton. Its a software specific animation format listed here
http://wiki.secondlife.com/wiki/Internal_Animation_Format

The script would analise a joint hierarchy (that must match the videogame specific joint names)
Then he would analise the animation of all joints. Filter only the bones with animation and store all data in the animation file in that specific “little endian” format.

That gives me so many questions. First of all, it specifies the file format is “little endian”, is it possible to write a file in maya with that format?

Any quick hints on how to grab the joint structure, grab the animation etc?

Seems quite a complex task, but I need to do it since nobody else will: there are already made exporters on blender. But i rather go through this (and learn phyton or mel) than forcing myself to use blender which i dont like at all.