scmJS docs

PUPx

UPGR for Brood War: the same tables, for 61 upgrades. The levels players start at in the 15 upgrades Brood War added are set only when Brood War is on.

Name PUPx (50 55 50 78)
Size 2318 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 2318 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 × 732 Per player, per upgrade: the highest level they may research. Player 1's 61 bytes first
732 u8 × 732 Per player, per upgrade: the level they start at
1464 u8 × 61 Per upgrade: the default highest level
1525 u8 × 61 Per upgrade: the default starting level
1586 u8 × 732 Per player, per upgrade: 0 to use this player's own values above; anything else for the defaults