I'm looking at Warhammer Online MYP files too, and I can't figure out how Unpacker is calculating where
the next block starts?
http://img516.imageshack.us/img516/3647/test2ti1.png
For example, take data.myp (from Beta, file size is 58184182 bytes).
It has 2433 files. Block size is 1000, so it has 3 blocks (1000,1000,433).
The table offset begins at 891. Now, I can read in the first block ok (0 to 999 files), but I don't
know how to get to the next block?
I had to hex the file to figure out the next block starts at 33939322, but this doesn't immediately
follow the first block.
Code: Alles auswählen
BLOCK 0, FILE 999: (last file in block)
start_offset: 33938604
data_offset: 136
comp_size: 42
uncomp_size: 64
hash1: 6B7BF6A5
hash2: 506FDF03
crc: 4BC0A9D3
comp_method: 1
There is some extra file data at 33938782, so next block doesn't immediately follow. Unpacker seems
to handle this without problems, but I can't figure it out.