mirror of
https://github.com/storytold/AniCraft.git
synced 2026-11-28 17:19:31 +01:00
Item streams are an MFC CArchive object graph (class declarations, 0x8000|n class references, back references, 00 00 for none). A bounded reader (archive.rs) walks it: pages, layers (type, colour, folders, parents), keyframes with their raw artwork, duration, tween type and flags, ease, labels and six custom ease curves, and symbol instances (matrix, transformation point, first frame, loop mode, colour effect, blend, library item id from Contents). Library symbols get their full timelines; Contents also yields each item's type and the stage size. Undecoded objects (texts, bitmaps, filters, button settings) are skipped to where their parent continues and counted; a stream that does not decode falls back to the structure-only reading. Verified differentially against the Animate twins on every corpus pair: 337/337 timelines, 1628/1628 layers, 6993/6993 keyframes and 4457/4457 instances match (matrix within 0.01 / 0.05 px); rendered movietemplate frames 1, 70, 120 and 184 are byte-identical to the twin's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>