Decode the per-stage Enumerate_Squadrons tables (UnitGroup_S<NN>.tbl) into flight groups: formation shape, AI behaviour, side, and the member craft. Definitions are delimited by the FormationID key; members are the first `count` UN_ craft after the header (anything past them belongs to the next squadron or the stage roster — the naive "all UN_ in span" over-collected). e.g. the player's Rhino flight = a 2-craft TCAF squadron of Delta Sabers flying Formation_2_Rhino. Schema hash varies per stage so we match on the table name. Squadron id is positional and left None when the id list and definitions don't line up (honest, not guessed). +1 test. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
684 B
684 B