scmJS docs

MASK

Fog of war at the start: which players begin with each tile unexplored. A new map made in StarEdit or the editor starts every tile unexplored for every player. A map with no MASK plays fully fogged.

Name MASK (4D 41 53 4B)
Size 1 byte per tile: width × height.
Read by The game.
Required No.
More than one copy Every copy is written over the start of the same fixed-size space, in file order, so a later copy replaces only as many bytes as it carries.
In scmJS Read, and written again when you change what it holds.

Only Players 1 to 8 have a bit. A byte of 0x05, bits 0 and 2, means Players 1 and 3 start with that tile unexplored and the other six start with it explored. Every Blizzard melee map checked has 0xFF in every byte; some of the campaign and scenario maps, where the maker set the fog, do not.