This is an approximate Backus Naur form for the contents of ASCII cmod files. For brevity, the categories ; and aren't defined here. They have the obvious definitions. ::=
::= #celmodel__ascii ::= { } { } ::= material { } end_material ::= texture0 | normalmap | specularmap | emissivemap ::= ::= diffuse | specular | emissive | specpower | opacity | ::= ::= """ { letter } """ ::= mesh { } end_mesh ::= vertexdesc { } end_vertexdesc ::= ::= position | normal | color0 | color1 | tangent | texcoord0 | texcoord1 | texcoord2 | texcoord3 ::= f1 | f2 | f3 | f4 | ub4 ::= vertices { } ::= ::= { } ::= trilist | tristrip | trifan | linelist | linestrip | points :: | -1