I'm not sure where you would find the specs, but as a reference, I would probably have a look at the source of xanim, which AFAIK also plays back anim8.
You can find the original documentation on IFF-ANIM in the RKM Devices book (should also be available online somewhere).