scmJS docs

Sections

The sections are listed here in the order StarEdit writes them. Read by editors means the game skips the section and a map plays the same without it. By revision means the section is required in some revisions of the file and not others.

Section Holds Read by Required
TYPE Which game the file is for the game
VER␠ The file's revision, which decides which sections the game reads the game yes
IVER A version stamp older versions of StarEdit wrote editors
IVE2 StarEdit's version stamp editors
VCOD A verification table the game checks the file against when it loads a map, and refuses the map when the check fails the game yes
IOWN StarEdit's own copy of OWNR editors
OWNR Who controls each of the 12 player slots: a human, a computer, a rescuable player, a neutral one, or nobody the game yes
ERA␠ The tileset the game yes
DIM␠ The map's size in tiles the game yes
SIDE Each player's race the game yes
MTXM The terrain the game draws: one 16-bit tile number per tile, including the tiles of placed doodads the game yes
PUNI Which unit types each player may build the game yes
UPGR How far each player may research each upgrade, and the level they start at, for the 46 upgrades of the original game the game by revision
PTEC Whether each player may research each ability, and whether they start with it, for the 24 abilities of the original game the game by revision
UNIT The units placed on the map, 36 bytes each the game yes
ISOM The isometric record, which an editor's isometric brush paints with: the lattice of terrain diamonds from which it works out the cliffs and edges between terrain types editors
TILE The terrain with the doodads left out: what is under each doodad editors
DD2␠ The doodads placed on the map, as objects an editor can select and remove editors
THG2 Sprites placed on the map the game yes
MASK Fog of war at the start: which players begin with each tile unexplored the game
STR␠ The string table the game yes
STRx The string table of StarCraft: Remastered: the same as STR with 32-bit numbers, so the table has no 64 KB limit the game
UPRP The 64 unit properties slots used by the Create Unit with Properties action the game yes
UPUS Which of the 64 UPRP slots StarEdit considers in use editors
MRGN The locations the game yes
TRIG The triggers, 2400 bytes each, in the order they run the game yes
MBRF The mission briefings, in the same 2400-byte record as a trigger, with their own set of actions the game yes
SPRP The scenario's name and description, as string numbers the game yes
FORC The four forces: which force each of Players 1 to 8 is in, each force's name, and its settings the game yes
WAV␠ StarEdit's list of the sounds in the map: the name of each sound file in the archive, as a string number editors
UNIS Unit settings for the original game the game by revision
UPGS Upgrade costs and research times for the 46 upgrades of the original game the game by revision
TECS Ability costs, research times and energy costs for the 24 abilities of the original game the game by revision
SWNM The names of the 256 switches, as string numbers editors
COLR The colour of each of Players 1 to 8 the game
PUPx UPGR for Brood War: the same tables, for 61 upgrades the game by revision
PTEx PTEC for Brood War: the same tables, for 44 abilities the game by revision
UNIx UNIS for Brood War: the same tables, with 130 weapons the game by revision
UPGx UPGS for Brood War: the same tables for 61 upgrades, with one unused byte after the first the game by revision
TECx TECS for Brood War: the same tables, for 44 abilities the game by revision
CRGB StarCraft: Remastered's player colours the game