Here is a sample file:
http://ps23dformat.wikispaces.com/file/view/FIW_000.PCK
Here is what I know about the format:
4ByteInteger#ofFiles
{FirstFileOffset,SecondFileOffset,....}
The first file takes to the mesh (other ones take you to animatios), which begins at offset 0x20
Then at offset 0x24 it takes you to the data section (relative to offset 0x20),
so in this case: 0x20+0x1580=0x15A0
There are 0x1B subsections and the first one begins at offset 0x15B0
The 48Byte Header is:
{4ByteInteger#ofVertexes,4ByteOffset:VertexSection,4ByteOffset:TextureMappingSection,4ByteOffset:NormalMappingSection,4ByteOffset:UnknownSection#1 ,4ByteOffset:UnknownSection#2,4ByteOffset:TriStripInfoSection,4ByteInteger,4ByteInteger,4ByteInteger,4ByteOffset:BaseSection,4ByteInteger} Relative to the start of the header so in this case there are 0x34 Vertexes and they begin 0x10+0x15B0+0x520=0x1AE0
Here are the vertexes that I need to convert, but I don't see their format:
Code: Select all
00 00 00 00 00 00
E2 00 DA 00 DD 00
DE FF EC 00 5D FD
A9 00 8E 00 03 01
B8 00 8B 00 E4 FD
41 00 0E 00 83 01
75 01 F2 FF 7D FE
BF FF 0E 00 83 01
A2 01 D9 FE 96 FF
57 FF 8E 00 03 01
6A 01 AC FD C3 00
1D FF DA 00 DD 00
9F 00 5F FD E9 00
26 FF 4A 01 64 00
2E FF 93 FD E2 00
AA FF BF 01 D6 FF
3C FE 41 FE 2A 00
56 00 BF 01 D6 FF
FE FD 64 FF E4 FE
DA 00 4A 01 64 00
E3 FE 7D 00 D6 FD
E2 00 DA 00 DD 00
F9 03 A9 FE 4D 01
3B 00 57 01 B3 FE
28 FF 61 00 5F 00
72 FF 1C 01 BD FE
98 FE 00 00 00 00
4E 01 96 00 AB FE
CC FE 00 00 00 00
00 00 00 00 00 00
07 FF 67 FF 99 00
DF 00 03 00 BC 00
73 FF E4 FE 43 01
83 02 00 00 00 00
72 FF F2 FE 0E 01
2B 01 56 FF E0 FF
D8 FE 52 FF B8 00
B6 FD 7F 03 5B FC
79 FF 86 FE A0 01
D9 00 61 00 5F 00
8D 00 F2 FE 0E 01
68 01 00 00 00 00
95 FE A8 FE 98 00
6E 01 00 00 00 00
92 FE 00 00 00 00
03 00 58 01 68 FF
D5 FE 56 FF E0 FF
C5 FF 57 01 B3 FE
B4 02 13 02 C7 FD
1A 00 6A FF 55 01
DF 00 FD FF 44 FF
87 00 86 FE A0 01
http://ps23dformat.wikispaces.com/file/ ... unting.bms