Sections
The sections are listed here in the order StarEdit writes them, and each has a page below
in the same order. The last three columns are the game's three
reads: needed means the read fails without the section,
read that the read uses it when it is there, a number in brackets limits either to the
revisions with that VER, and a blank means the read does not use it. A
section with no entry in any column is not read by 1.16.1: most are for editors, and a map
plays the same without them. Its Read by row says who does read it.
| Section | Holds | Map list | Melee start | Use Map Settings start |
|---|---|---|---|---|
TYPE |
Which game the file is for | |||
VER␠ |
The file's revision, which decides which sections the game reads | needed | needed | needed |
IVER |
A version stamp older versions of StarEdit wrote | |||
IVE2 |
StarEdit's version stamp | |||
VCOD |
A verification table the game checks the file against when it loads a map, and refuses the map when the check fails | needed | ||
IOWN |
StarEdit's own copy of OWNR |
|||
OWNR |
Who controls each of the 12 player slots: a human, a computer, a rescuable player, a neutral one, or nobody | needed | ||
ERA␠ |
The tileset | needed | ||
DIM␠ |
The map's size in tiles | needed | ||
SIDE |
Each player's race | needed | ||
MTXM |
The terrain the game draws: one 16-bit tile number per tile, including the tiles of placed doodads | needed | needed | |
PUNI |
Which unit types each player may build | needed | ||
UPGR |
How far each player may research each upgrade, and the level they start at, for the 46 upgrades of the original game | needed (59, 63) | ||
PTEC |
Whether each player may research each ability, and whether they start with it, for the 24 abilities of the original game | needed (59, 63) | ||
UNIT |
The units placed on the map, 36 bytes each | needed | needed | |
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 | |||
TILE |
The terrain with the doodads left out: what is under each doodad | |||
DD2␠ |
The doodads placed on the map, as objects an editor can select and remove | |||
THG2 |
Sprites placed on the map | needed | needed | |
MASK |
Fog of war at the start: which players begin with each tile unexplored | needed | ||
STR␠ |
The string table | needed | needed | needed |
STRx |
The string table of StarCraft: Remastered: the same as STR with 32-bit numbers, so the table has no 64 KB limit |
|||
UPRP |
The 64 unit properties slots used by the Create Unit with Properties action | needed | ||
UPUS |
Which of the 64 UPRP slots StarEdit considers in use |
|||
MRGN |
The locations | needed | ||
TRIG |
The triggers, 2400 bytes each, in the order they run | needed in Remastered | needed | |
MBRF |
The mission briefings, in the same 2400-byte record as a trigger, with their own set of actions | briefing only | ||
SPRP |
The scenario's name and description, as string numbers | needed | ||
FORC |
The four forces: which force each of Players 1 to 8 is in, each force's name, and its settings | needed | ||
WAV␠ |
StarEdit's list of the sounds in the map: the name of each sound file in the archive, as a string number | |||
UNIS |
Unit settings for the original game | needed (59, 63) | ||
UPGS |
Upgrade costs and research times for the 46 upgrades of the original game | needed (59, 63) | ||
TECS |
Ability costs, research times and energy costs for the 24 abilities of the original game | needed (59, 63) | ||
SWNM |
The names of the 256 switches, as string numbers | |||
COLR |
The colour of each of Players 1 to 8 | needed (205) | needed (205) | |
PUPx |
UPGR for Brood War: the same tables, for 61 upgrades |
needed (205), read (59, 63) | ||
PTEx |
PTEC for Brood War: the same tables, for 44 abilities |
needed (205), read (59, 63) | ||
UNIx |
UNIS for Brood War: the same tables, with 130 weapons |
needed (205), read (59, 63) | ||
UPGx |
UPGS for Brood War: the same tables for 61 upgrades, with one unused byte after the first column |
needed (205), read (59, 63) | ||
TECx |
TECS for Brood War: the same tables, for 44 abilities |
needed (205), read (59, 63) | ||
CRGB |
StarCraft: Remastered's player colours |
How to read a section's page#
Each page starts with what the section is for, then a table of these rows, where they apply:
| Row | Says |
|---|---|
| Name | The four characters, and their bytes in hex |
| Size | How long the section is, or how its length follows from the map |
| Read by | Which of the game's reads use it, or that only editors do |
| Required | Whether a map loads without it, and what the player sees when it does not |
| The game accepts | Which lengths the game takes; see Lengths |
| More than one copy | What a second copy does; see Repeated sections |
| In scmJS | Whether this editor models the section or carries its bytes unchanged |
The Layout table under it gives each field's offset from the start of the section's data, its type and what it holds, followed by tables of the values a field takes. Some pages end with an Example: real bytes, with what each one means.