MMD .pmd to Bz2 .xsi

Moderators: GSH, VSMIT, Red Devil, Commando

XxHAMADEHxX
Sabre
Posts: 317
Joined: Mon Aug 13, 2012 8:02 am

Re: MMD .pmd to Bz2 .xsi

Post by XxHAMADEHxX »

Going back on topic now. according to battlezone.log suiseiseiki has too many vertices =(
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: MMD .pmd to Bz2 .xsi

Post by MrTwosheds »

A model you converted from a different format?
Try converting it to .obj format before exporting it as an xsi.
The Silence continues. The War Of Lies has no end.
XxHAMADEHxX
Sabre
Posts: 317
Joined: Mon Aug 13, 2012 8:02 am

Re: MMD .pmd to Bz2 .xsi

Post by XxHAMADEHxX »

Thanks but it didn't work =(
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: MMD .pmd to Bz2 .xsi

Post by MrTwosheds »

hmmm.
More info from you would help.
But I am guessing that you need to "remove unused vertex" or something like that before exporting.
BUT what bz2 is telling you is either that the model is just too complex?... ( a common mistake by those new to modeling, trying to import modern modelling tech into a 14 year old game...)
Or that somewhere in the exported xsi

example.
Mesh body {
72; <--THIS NUMBER
-0.000145;-2.468186;-2.619520;, <--is followed by more than 72 lines defining the vertex's and is broken.
I would not advise attempting to fix this in the xsi, it is the original model that is somehow wrong.
The Silence continues. The War Of Lies has no end.
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: MMD .pmd to Bz2 .xsi

Post by General BlackDragon »

How many verticies does it have?
Battlezone Classic Public Forums
*****General BlackDragon*****
XxHAMADEHxX
Sabre
Posts: 317
Joined: Mon Aug 13, 2012 8:02 am

Re: MMD .pmd to Bz2 .xsi

Post by XxHAMADEHxX »

It appears to have around 20000 which i about how many vertices it had in blender XD

xsi 0101txt 0032

SI_CoordinateSystem coord {
1;
0;
1;
0;
2;
5;
}

Frame frm-wood {
FrameTransformMatrix {
-1.000000,0.000000,0.000000,0.000000,
0.000000,-1.000000,-0.000000,0.000000,
0.000000,-0.000000,1.000000,0.000000,
0.000000,0.000000,0.000000,1.000000;;
}
Mesh wood {
19040;
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: MMD .pmd to Bz2 .xsi

Post by MrTwosheds »

Some would say that is excessive. the orientation is still wrong too, got -1's in the FrameTransformMatrix.

To be "right"
FrameTransformMatrix {
1.000000, 0.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000,
0.000000, 0.000000, 1.000000, 0.000000,
0.000000, 0.000000, 0.000000, 1.000000;;
}
FrameTransformMatrix is the pivot, when a nice diagonal line of 1.000000's is shown, this means all the numbers in the mesh below will be TRUE, ie not rotated at all.
This becomes important if a model uses A LOD or animations.
The Silence continues. The War Of Lies has no end.
Post Reply