milkshape ->.x not working

Right, so i’m a complete noob, and whenever i export from milkshape into x and try to open in pview or convert to egg, i get a huge list of errors, even for somthing as simple as a cube. Most of them are too many data elements in structure, but there are also lots of unknown template: STRING, DWORD, WORD and UCHAIR, unknown identifiers: nkeys, nVertexColors, nFaceWrapValues, nIndices, and nWeights.

nothing i’ve tried exporting has animations or bones.

No idea what’s going on. Help please!

Which version of Panda are you using? There is a bug in 1.5.0 that prevents it from loading .x files.

well… that would indeed explain it. even the converter things dont work? bugger.

-edit trying that. also, here is an (incomplete) error log from cmd prompt using -ignore.

Error in standardTemplates.x at line 180, column 17:
DWORD truefalse;
^
Unknown template: DWORD

Error in standardTemplates.x at line 197, column 23:
DWORD nFaceWrapValues;
^
Unknown template: DWORD

Error in standardTemplates.x at line 198, column 48:
array Boolean2d faceWrapValues[nFaceWrapValues];
^
Unknown identifier: nFaceWrapValues

Error in standardTemplates.x at line 203, column 18:
DWORD openclosed;
^
Unknown template: DWORD

Error in standardTemplates.x at line 204, column 23:
DWORD positionquality;
^
Unknown template: DWORD

Error in standardTemplates.x at line 234, column 12:
STRING key;
^
Unknown template: STRING

Error in standardTemplates.x at line 235, column 14:
STRING value;
^
Unknown template: STRING

Error in standardTemplates.x at line 245, column 20:
DWORD bRightHanded;
^
Unknown template: DWORD

Error in standardTemplates.x at line 250, column 31:
WORD nMaxSkinWeightsPerVertex;
^
Unknown template: WORD

Error in standardTemplates.x at line 251, column 29:
WORD nMaxSkinWeightsPerFace;
^
Unknown template: WORD

Error in standardTemplates.x at line 252, column 13:
WORD nBones;
^
Unknown template: WORD

Error in standardTemplates.x at line 257, column 16:
DWORD nIndices;
^
Unknown template: DWORD

Error in standardTemplates.x at line 258, column 25:
DWORD nOriginalVertices;
^
Unknown template: DWORD

Error in standardTemplates.x at line 259, column 21:
array DWORD indices[nIndices];
^
Unknown template: DWORD

Error in standardTemplates.x at line 259, column 30:
array DWORD indices[nIndices];
^
Unknown identifier: nIndices

Error in standardTemplates.x at line 264, column 26:
STRING transformNodeName;
^
Unknown template: STRING

Error in standardTemplates.x at line 265, column 16:
DWORD nWeights;
^
Unknown template: DWORD

Error in standardTemplates.x at line 266, column 27:
array DWORD vertexIndices[nWeights];
^
Unknown template: DWORD

Error in standardTemplates.x at line 266, column 36:
array DWORD vertexIndices[nWeights];
^
Unknown identifier: nWeights

Error in standardTemplates.x at line 267, column 21:
array FLOAT weights[nWeights];
^
Unknown template: FLOAT

Error in standardTemplates.x at line 267, column 30:
array FLOAT weights[nWeights];
^
Unknown identifier: nWeights

:angry:file(error): Internal error: Unable to parse built-in
standardTemplates.x!

Error in untitled.x at line 6, column 17:
DWORD nIndices;

            ^

Unknown template: DWORD

Error in untitled.x at line 7, column 26:
DWORD nOriginalVertices;

                     ^

Unknown template: DWORD

Error in untitled.x at line 8, column 22:
array DWORD indices[nIndices];

                 ^

Unknown template: DWORD

Error in untitled.x at line 8, column 31:
array DWORD indices[nIndices];

                          ^

Unknown identifier: nIndices

Error in untitled.x at line 12, column 32:
WORD nMaxSkinWeightsPerVertex;

                           ^

Unknown template: WORD

Error in untitled.x at line 13, column 30:
WORD nMaxSkinWeightsPerFace;

                         ^

Unknown template: WORD

Error in untitled.x at line 14, column 14:
WORD nBones;

         ^

Unknown template: WORD

Error in untitled.x at line 18, column 27:
STRING transformNodeName;

                      ^

Unknown template: STRING

Error in untitled.x at line 19, column 17:
DWORD nWeights;

            ^

Unknown template: DWORD

Error in untitled.x at line 20, column 28:
array DWORD vertexIndices[nWeights];

                       ^

Unknown template: DWORD

Error in untitled.x at line 20, column 37:
array DWORD vertexIndices[nWeights];

                                ^

Unknown identifier: nWeights

Error in untitled.x at line 21, column 31:
array float weights[nWeights];

                          ^

Unknown identifier: nWeights

Error in untitled.x at line 32, column 3:
}

^
Too many data elements in structure.

Error in untitled.x at line 40, column 5:
}

^

Too many data elements in structure.

Error in untitled.x at line 112, column 3:
} //End of Material

^
Too many data elements in structure.

Error in untitled.x at line 113, column 5:
} //End of MeshMaterialList

^

Too many data elements in structure.

Error in untitled.x at line 165, column 1:
} //End of MeshNormals

^
Too many data elements in structure.

Error in untitled.x at line 204, column 1:
} //End of MeshTextureCoords

^
Too many data elements in structure.

Error in untitled.x at line 205, column 3:
} // End of the Mesh Mesh

^
Too many data elements in structure.

Error in untitled.x at line 214, column 5:
}

^

Too many data elements in structure.

Error in untitled.x at line 262, column 3:
} //End of Material

^
Too many data elements in structure.

Error in untitled.x at line 263, column 5:
} //End of MeshMaterialList

^

Too many data elements in structure.

Error in untitled.x at line 297, column 1:
} //End of MeshNormals

^
Too many data elements in structure.

Error in untitled.x at line 298, column 3:
} // End of the Mesh Cube

^
Too many data elements in structure.

Unable to open X file: untitled.x
Unable to read untitled.x

This is a pretty serious bug. I’m going to see if I can hurry up a bugfix for this.

There is a workaround though - you can download version 1.4.2 and use that. Or, if you really want to use 1.5.0, you could download both versions, and use the converter in 1.4.2, and use everything else in 1.5.0. I know it’s awkward, but it’s temporary.

60% as i speak ;p

yep works great. thanks.