Wednesday, March 26, 2008

Deep Zoom layout.bin file decoded

This is a follow-up to my previous post (Deep Zoom items.bin file decoded)...
The reason for decoding the layout.bin is that the files items.bin and layout.bin are dependent on each other. For the adventurous few who may now decide to play around with the items.bin file, it may be necessary to modify the layout.bin file as well!

Bytes (Hex)

00-04 ItemCount

Item information (Repeat for each item)
05-08 Item Id
09-0C ViewportOrigin.X
0D-10 ViewportOrigin.Y
11-14 ViewportWidth
Pretty straightforward! I played around with these files and was able to add and delete items easily.

No comments: