Skip to content

Instantly share code, notes, and snippets.

@SDraw
Last active May 19, 2019 15:57
Show Gist options
  • Save SDraw/4071df222f816a38fe9891b30494a407 to your computer and use it in GitHub Desktop.
Save SDraw/4071df222f816a38fe9891b30494a407 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<!DOCTYPE binary_file_format SYSTEM "BinaryFileFormat.dtd">
<binary_file_format name="RMFv3" type_name="" comment="" expr="" default_byte_order="little" default_read_only="false" default_char_set="ansi" web_site="https://github.com/SDraw/run-on-coal/wiki/RMF-structure">
<data type="string" name="Header" len="3" format="default" display=""/>
<data type="int" name="Type" format="signed" byte_order="little" len="1" display=""/><data type="real" name="GeometrySphereRadius" format="ieee" len="4" display=""/><data type="int" name="MaterialCount" format="unsigned" len="4" display=""/><for name="Material" count="MaterialCount" stop_test="" type_name="" comment=""><struct name="" type_name="" comment="" expr=""><data type="int" name="MaterialType" format="unsigned" len="1" display=""/><struct name="MaterialParams" type_name="" comment="" expr=""><data type="real" name="Param1" format="ieee" len="4" display=""/><data type="real" name="Param2" format="ieee" len="4" display=""/><data type="real" name="Param3" format="ieee" len="4" display=""/><data type="real" name="Param4" format="ieee" len="4" display=""/></struct><data type="int" name="DiffuseTextureNameLength" format="unsigned" len="1" display=""/><data type="string" name="DiffuseTextureName" format="default" len="DiffuseTextureNameLength" display=""/><struct name="VertexData" type_name="" comment="" expr=""><data type="int" name="CompressedSize" format="unsigned" len="4" display=""/><data type="int" name="SourceSize" format="unsigned" len="4" display=""/><data type="none" name="Data" len="CompressedSize"/></struct><struct name="NormalData" type_name="" comment="" expr=""><data type="int" name="CompressedSize" format="unsigned" len="4" display=""/><data type="int" name="SourceSize" format="unsigned" len="4" display=""/><data type="none" name="Data" len="CompressedSize"/></struct><struct name="UVData" type_name="" comment="" expr=""><data type="int" name="CompressedSize" format="unsigned" len="4" display=""/><data type="int" name="SourceSize" format="unsigned" len="4" display=""/><data type="none" name="Data" len="CompressedSize"/></struct><if test="Type == 0x2" comment=""><struct name="WeightData" type_name="" comment="" expr=""><data type="int" name="CompressedSize" format="unsigned" len="4" display=""/><data type="int" name="SourceSize" format="unsigned" len="4" display=""/><data type="none" name="Data" len="CompressedSize"/></struct></if><if test="Type == 0x2" comment=""><struct name="IndexData" type_name="" comment="" expr=""><data type="int" name="CompressedSize" format="unsigned" len="4" display=""/><data type="int" name="SourceSize" format="unsigned" len="4" display=""/><data type="none" name="Data" len="CompressedSize"/></struct></if></struct></for><if test="Type == 0x2" comment=""><struct name="Skeleton" type_name="" comment="" expr=""><data type="int" name="BonesCount" format="unsigned" len="4" display=""/><for name="Bone" count="BonesCount" stop_test="" type_name="" comment=""><struct name="" type_name="" comment="" expr=""><data type="int" name="BoneNameLength" format="unsigned" len="1" display=""/><data type="string" name="BoneName" format="default" len="BoneNameLength" display=""/><data type="int" name="ParentBone" format="signed" len="4" display=""/><struct name="Position" type_name="" comment="" expr=""><data type="real" name="X" format="ieee" len="4" display=""/><data type="real" name="Y" format="ieee" len="4" display=""/><data type="real" name="Z" format="ieee" len="4" display=""/></struct><struct name="Rotation" type_name="" comment="" expr=""><data type="real" name="X" format="ieee" len="4" display=""/><data type="real" name="Y" format="ieee" len="4" display=""/><data type="real" name="Z" format="ieee" len="4" display=""/><data type="real" name="W" format="ieee" len="4" display=""/></struct><struct name="Scale" type_name="" comment="" expr=""><data type="real" name="X" format="ieee" len="4" display=""/><data type="real" name="Y" format="ieee" len="4" display=""/><data type="real" name="Z" format="ieee" len="4" display=""/></struct></struct></for></struct></if><if test="Type == 0x2" comment=""><struct name="BoneCollision" type_name="" comment="" expr=""><data type="int" name="CollisionByte" format="unsigned" len="1" display=""/><data type="int" name="StaticCollisionCount" format="unsigned" len="4" display=""/><for name="StaticCollision" count="StaticCollisionCount" stop_test="" type_name="" comment=""><struct name="" type_name="" comment="" expr=""><data type="int" name="CollisionType" format="unsigned" len="1" display=""/><struct name="HalfSize" type_name="" comment="" expr=""><data type="real" name="X" format="ieee" len="4" display=""/><data type="real" name="Y" format="ieee" len="4" display=""/><data type="real" name="Z" format="ieee" len="4" display=""/></struct><struct name="PositionOffset" type_name="" comment="" expr=""><data type="real" name="X" format="ieee" len="4" display=""/><data type="real" name="Y" format="ieee" len="4" display=""/><data type="real" name="Z" format="ieee" len="4" display=""/></struct><struct name="GlobalRotation" type_name="" comment="" expr=""><data type="real" name="X" format="ieee" len="4" display=""/><data type="real" name="Y" format="ieee" len="4" display=""/><data type="real" name="Z" format="ieee" len="4" display=""/><data type="real" name="W" format="ieee" len="4" display=""/></struct><data type="int" name="BoneIndex" format="unsigned" len="4" display=""/></struct></for><data type="int" name="DynamicJointsCount" format="unsigned" len="4" display=""/><for name="DynamicJoint" count="DynamicJointsCount" stop_test="" type_name="" comment=""><struct name="" type_name="" comment="" expr=""><data type="int" name="DynamicJointPartsCount" format="unsigned" len="4" display=""/><if test="DynamicJointPartsCount &gt; 0" comment=""><data type="int" name="BoneIndex" format="unsigned" len="4" display=""/></if><if test="DynamicJointPartsCount &gt; 0" comment=""><for name="DynamicJointPart" count="DynamicJointPartsCount" stop_test="" type_name="" comment=""><struct name="" type_name="" comment="" expr=""><data type="int" name="BoneIndex" format="unsigned" len="4" display=""/><data type="int" name="CollisionType" format="unsigned" len="1" display=""/><struct name="HalfSize" type_name="" comment="" expr=""><data type="real" name="X" format="ieee" len="4" display=""/><data type="real" name="Y" format="ieee" len="4" display=""/><data type="real" name="Z" format="ieee" len="4" display=""/></struct><struct name="PositionOffset" type_name="" comment="" expr=""><data type="real" name="X" format="ieee" len="4" display=""/><data type="real" name="Y" format="ieee" len="4" display=""/><data type="real" name="Z" format="ieee" len="4" display=""/></struct><struct name="GlobalRotation" type_name="" comment="" expr=""><data type="real" name="X" format="ieee" len="4" display=""/><data type="real" name="Y" format="ieee" len="4" display=""/><data type="real" name="Z" format="ieee" len="4" display=""/><data type="real" name="W" format="ieee" len="4" display=""/></struct><data type="real" name="Mass" format="ieee" len="4" display=""/><data type="real" name="Restutition" format="ieee" len="4" display=""/><data type="real" name="Friction" format="ieee" len="4" display=""/><struct name="Damping" type_name="" comment="" expr=""><data type="real" name="Linear" format="ieee" len="4" display=""/><data type="real" name="Angular" format="ieee" len="4" display=""/></struct><struct name="LowerAngularLimit" type_name="" comment="" expr=""><data type="real" name="X" format="ieee" len="4" display=""/><data type="real" name="Y" format="ieee" len="4" display=""/><data type="real" name="Z" format="ieee" len="4" display=""/></struct><struct name="UpperAngularLimit" type_name="" comment="" expr=""><data type="real" name="X" format="ieee" len="4" display=""/><data type="real" name="Y" format="ieee" len="4" display=""/><data type="real" name="Z" format="ieee" len="4" display=""/></struct><struct name="AngularStiffness" type_name="" comment="" expr=""><data type="real" name="X" format="ieee" len="4" display=""/><data type="real" name="Y" format="ieee" len="4" display=""/><data type="real" name="Z" format="ieee" len="4" display=""/></struct><struct name="LowerLinearLimit" type_name="" comment="" expr=""><data type="real" name="X" format="ieee" len="4" display=""/><data type="real" name="Y" format="ieee" len="4" display=""/><data type="real" name="Z" format="ieee" len="4" display=""/></struct><struct name="UpperLinearLimit" type_name="" comment="" expr=""><data type="real" name="X" format="ieee" len="4" display=""/><data type="real" name="Y" format="ieee" len="4" display=""/><data type="real" name="Z" format="ieee" len="4" display=""/></struct><struct name="LinearStiffness" type_name="" comment="" expr=""><data type="real" name="X" format="ieee" len="4" display=""/><data type="real" name="Y" format="ieee" len="4" display=""/><data type="real" name="Z" format="ieee" len="4" display=""/></struct></struct></for></if></struct></for></struct></if></binary_file_format>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment