Okay, the crashes are fixed. However, these vertices you are speaking about in the other topic - yes they really seem to be unused. The problem is, that we still cannot say, how many vertices are really used in a model ... that seems to differ very much. If you have taken a look at any of our p format description, you'll see something called Value3. Thsi value is a real mistery to me ... it has got to do something with texture coords, but also with the polygon count ...
The way Ultima used to calculate the real number of Polygons is:
If Value3 = 0 Then
PolyGonS = NumPolys
ElseIf Value3 >= Additional Then
PolyGonS = NumPolys
Scele = 0.01 'Scale for Model -> Battle Location
Else
PolyGonS = NumPolys - Value3 + 6
End If
now it is:
If Value3 = 0 Or Value3 <= 6 Then
PolyGonS = NumPolys
ElseIf Value3 >= Additional Then
PolyGonS = NumPolys
Scele = 0.01
Else
PolyGonS = NumPolys - Value3 + 6
End If
The problem is, that when Value3 is: 0 < Value3 < 6, then Ultima crashed, b'cause it calculated more polygons than it can read out...
However, the bugfix in Ultima is a temporary solution - we have to find out how the real count of polygons is calculated ...
- Alhexx