PDA

View Full Version : Chunk tag longer than 4 bytes in preset files, why??



benhaines
09-11-2006, 09:06 AM
Why oh why... is there a 8 byte Chunk tag in preset files when the documentation says they should only be 4 bytes?

Specifically you start with FORM and then are suddenly confronted with a PST_NAME chunk tag just for fun...

How often should I account for a 4 byte chunk tag in my preset data loader?

http://www.newtek.com/lightwave/developer/LW80/8lwsdk/docs/filefmts/lwo2.html#H_file

Thanks for any help in advance... :)

Jarno
09-11-2006, 05:03 PM
It's not an 8 byte chunk ID. It's a 4 byte FORM ID ("PST_") followed by a CHUNK tag ("NAME"), in perfect accordance with the format.

---JvdL---

benhaines
09-12-2006, 06:24 AM
Thanks Jarno. It seems I haven't quite understood the file format... will go back and read it again.

Whilst I'm here... has anybody seen/written/discovered a EA IFF 85 reader that nicely shows you chunks and sub-chunks?