shadowhearts1object.jpg

Some models are stored in the MODELS.PKB file


Some but not all models are contained in Packages that contain animations and sounds in addition to
one or more models:

4ByteInteger"#numFiles"
4ByteInteger"SizeofPackage"
{4Byte"TypeofSubFile"+4Byte"OffsetofSubFile"}
.......

Possible Types:

dff Models
anm Animation
swd
sed


dff model format:
.....
"HPVT" (48 50 56 54)
4ByteInteger"#numVertexes"
{4ByteFloatVertexes(X,Y,Z)+4ByteFloatNormalMappings(X,Y,Z)+4ByteFloatTextureMappings(U,V)
+4ByteUnknown}
"HPTS" (48 50 54 53)
4ByteInteger"SizeofArray"
[{2ByteVertex#1,2ByteVertex#2,2ByteVertex#3+02 03} OR {2ByteVertex#1+00 00 00 00 02 01}]


dff Real-Time Converted model format:
{4ByteFloatNormalMappings(X,Y,Z)+Unknown4Bytes+ 4ByteFloatTextureMappings(U,V)+Unknown8Bytes+4ByteFloatVertexes(X,Y,Z)+1ByteCONN+00 00 00}
Where 3 consecutive are connected unless the third vertex has CONN=1