This repository contains some code that can read Sprint Layout (xlay) files.
NOTE: The number of connections (M) is determined as number of objects of type THT_PAD or SMD_PAD. In other words, connection record are skipped for non-pad objects.
It seems that Sprint Layout is written in Delphi. This may be the reason that LAY files use some uncommon data types:
fixstr
: Length prefixed fixed size ANSI stringsvarstr
: Length prefixed variable size ANSI stringsu8bool
: Short (one byte) boolean type