scmJS docs

TECx

TECS for Brood War: the same tables, for 44 abilities.

Name TECx (54 45 43 78)
Size 396 bytes.
Read by The game, at the start of a Use Map Settings game, in a file of any revision.
Required For Use Map Settings in a Brood War file (VER 205, or Remastered's 206). In a VER 59, 63 or 64 file it is optional, and read after the original table when present.
The game accepts Exactly 396 bytes. Any other length refuses the map.
More than one copy Combined entry by entry: a copy changes only the entries it marks as not using the game's own values, and every other entry keeps what an earlier copy gave it.
In scmJS Read, and written again when you change what it holds.

Layout:

Offset Type Holds
0 u8 × 44 Per ability: 0 to use this section's values; anything else for the game's own
44 u16 × 44 Mineral cost
132 u16 × 44 Gas cost
220 u16 × 44 Research time, in game frames
308 u16 × 44 Energy cost