mirror of
https://github.com/storytold/AniCraft.git
synced 2026-11-28 17:19:31 +01:00
New L2 crate anicraft-fla, from the public Microsoft [MS-CFB] specification only (ADR 0096), like the workspace's own zip and XML readers: - a hardened container reader: header validation, DIFAT/FAT/mini-FAT chains, the directory tree with full paths, cycle guards and ADR 0054's caps profile (1 GiB file, 256 MiB stream), one-sentence errors, no panic on hostile input; - the record-tag scanner behind the corpus reverse engineering: streams hold ff fe ff- and 01 80 17-marked UTF-16 strings (one-byte lengths) around raw numerics; the CPic*/C* record vocabulary is observed, not guessed; - the structure decode into the document model: the Contents index (one CDocumentPage per scene, the library's stream-name/label pairs) and page streams' layer records (bottom-first, behind the constant layer anchor); frame records, artwork, tweens, text and media stay for the record-level decode pass and are counted per kind in an XFL-shaped import report; - an independent spec-written compound-file writer for the tests (as ADR 0054 does for zip), plus env-gated tests against the local EDAP corpus (CC BY-NC-SA, kept out of the repo): scenes and layer names match the corpus's modern twins on every legacy rig.