I'm working on a little utility that has to do with jms files. I need to know how the information (mat info, vertex locations, faces, ect...) is stored in a jms file. Obviously some of you guys in the community know because there are many other custom programs which involve jms files.
Here is the syntax for a simple cube with 12 polygons and 1 texture that was exported as if it were level geometry. This is what you get when you open the jms file in Notepad:
Quote: 8200
3251
1
frame
-1
-1
0.000000 0.000000 0.000000 1.000000
91.398018 8.717700 0.000000
1
+sky
0
1
unnamed
36
0
-5.000000 0.000000 -5.000000
0.000000 1.000000 0.000000
-1
0
1.000000
0.000000
0
0
-5.000000 -0.000000 5.000000
0.000000 1.000000 0.000000
-1
0
1.000000
1.000000
0
0
5.000000 -0.000000 5.000000
0.000000 1.000000 0.000000
-1
0
0.000000
1.000000
0
0
5.000000 -0.000000 5.000000
0.000000 1.000000 0.000000
-1
0
0.000000
1.000000
0
0
5.000000 0.000000 -5.000000
0.000000 1.000000 0.000000
-1
0
0.000000
0.000000
0
0
-5.000000 0.000000 -5.000000
0.000000 1.000000 0.000000
-1
0
1.000000
0.000000
0
0
-5.000000 -10.000000 -5.000000
0.000000 -1.000000 -0.000000
-1
0
0.000000
0.000000
0
0
5.000000 -10.000000 -5.000000
0.000000 -1.000000 -0.000000
-1
0
1.000000
0.000000
0
0
5.000000 -10.000000 5.000000
0.000000 -1.000000 -0.000000
-1
0
1.000000
1.000000
0
0
5.000000 -10.000000 5.000000
0.000000 -1.000000 -0.000000
-1
0
1.000000
1.000000
0
0
-5.000000 -10.000000 5.000000
0.000000 -1.000000 -0.000000
-1
0
0.000000
1.000000
0
0
-5.000000 -10.000000 -5.000000
0.000000 -1.000000 -0.000000
-1
0
0.000000
0.000000
0
0
-5.000000 0.000000 -5.000000
0.000000 0.000000 -1.000000
-1
0
0.000000
0.000000
0
0
5.000000 0.000000 -5.000000
0.000000 0.000000 -1.000000
-1
0
1.000000
0.000000
0
0
5.000000 -10.000000 -5.000000
0.000000 0.000000 -1.000000
-1
0
1.000000
1.000000
0
0
5.000000 -10.000000 -5.000000
0.000000 0.000000 -1.000000
-1
0
1.000000
1.000000
0
0
-5.000000 -10.000000 -5.000000
0.000000 0.000000 -1.000000
-1
0
0.000000
1.000000
0
0
-5.000000 0.000000 -5.000000
0.000000 0.000000 -1.000000
-1
0
0.000000
0.000000
0
0
5.000000 0.000000 -5.000000
1.000000 0.000000 0.000000
-1
0
0.000000
0.000000
0
0
5.000000 -0.000000 5.000000
1.000000 0.000000 0.000000
-1
0
1.000000
0.000000
0
0
5.000000 -10.000000 5.000000
1.000000 0.000000 0.000000
-1
0
1.000000
1.000000
0
0
5.000000 -10.000000 5.000000
1.000000 0.000000 0.000000
-1
0
1.000000
1.000000
0
0
5.000000 -10.000000 -5.000000
1.000000 0.000000 0.000000
-1
0
0.000000
1.000000
0
0
5.000000 0.000000 -5.000000
1.000000 0.000000 0.000000
-1
0
0.000000
0.000000
0
0
5.000000 -0.000000 5.000000
0.000000 -0.000000 1.000000
-1
0
0.000000
0.000000
0
0
-5.000000 -0.000000 5.000000
0.000000 -0.000000 1.000000
-1
0
1.000000
0.000000
0
0
-5.000000 -10.000000 5.000000
0.000000 -0.000000 1.000000
-1
0
1.000000
1.000000
0
0
-5.000000 -10.000000 5.000000
0.000000 -0.000000 1.000000
-1
0
1.000000
1.000000
0
0
5.000000 -10.000000 5.000000
0.000000 -0.000000 1.000000
-1
0
0.000000
1.000000
0
0
5.000000 -0.000000 5.000000
0.000000 -0.000000 1.000000
-1
0
0.000000
0.000000
0
0
-5.000000 -0.000000 5.000000
-1.000000 0.000000 0.000000
-1
0
0.000000
0.000000
0
0
-5.000000 0.000000 -5.000000
-1.000000 0.000000 0.000000
-1
0
1.000000
0.000000
0
0
-5.000000 -10.000000 -5.000000
-1.000000 0.000000 0.000000
-1
0
1.000000
1.000000
0
0
-5.000000 -10.000000 -5.000000
-1.000000 0.000000 0.000000
-1
0
1.000000
1.000000
0
0
-5.000000 -10.000000 5.000000
-1.000000 0.000000 0.000000
-1
0
0.000000
1.000000
0
0
-5.000000 -0.000000 5.000000
-1.000000 0.000000 0.000000
-1
0
0.000000
0.000000
0
12
0
0
0 1 2
0
0
3 4 5
0
0
6 7 8
0
0
9 10 11
0
0
12 13 14
0
0
15 16 17
0
0
18 19 20
0
0
21 22 23
0
0
24 25 26
0
0
27 28 29
0
0
30 31 32
0
0
33 34 35
Edited by DAS_G_Lion on Apr 5, 2011 at 05:39 PM