scmJS docs

PTEC

Whether each player may research each ability, and whether they start with it, for the 24 abilities of the original game. A Brood War file has PTEx in its place; in an older file the game reads this table and then PTEx on top, if the file has one. Only Use Map Settings reads either.

Name PTEC (50 54 45 43)
Size 912 bytes.
Read by The game, at the start of a Use Map Settings game, in a VER 59 or 63 file, or Remastered's 64. A Brood War file's copy is never read.
Required For Use Map Settings in a StarCraft 1.00 or hybrid file (VER 59 or 63), and in Remastered's VER 64.
The game accepts Exactly 912 bytes. Any other length refuses the map.
More than one copy The last copy replaces the others. Every copy must still be the right size, or the map is refused.
In scmJS Read, and written again when you change what it holds.

Layout:

Offset Type Holds
0 u8 × 288 Per player, per ability: 1 if they may research it. Player 1's 24 bytes first
288 u8 × 288 Per player, per ability: 1 if they start with it
576 u8 × 24 Per ability: the default for may research
600 u8 × 24 Per ability: the default for start with
624 u8 × 288 Per player, per ability: 0 to use this player's own values above; anything else for the defaults