Motion Capture Data Format

Maybe I should not ask this question here, but I really need help. I am writing a tool to convert the .trc motion capture data to .bvh file. There are many marker names in the .trc file which I do not know how to name it as JOINT in the .bvh file. Does anyone know where I can find some DETAILED file format document about the .trc and .bvh file?

[This message has been edited by Nil_z (edited 02-01-2001).]