Putting it all together, a VCR record looks like this:
WORD Random number seed WORD PHost: signature; HOST: 0 WORD PHost: capabilities; HOST: planet temperature WORD Battle type (0=s/s, 1=s/p) WORD[2] Left and right mass OBJ[2] Left and right object, see below WORD[2] Left and right shields
Each object has the following format:
BYTE[20] Name WORD Initial damage WORD Crew WORD Id BYTE Player number BYTE PHost: Race, 0 if same as player [*] BYTE Picture number BYTE PHost: Hull number [*] WORD Beam type BYTE Beam count BYTE PHost: experience level [*] WORD Fighter bays WORD Torpedo type WORD Torpedo/Fighter count [**] BYTE Torpedo launcher count BYTE PHost: Torpedo count [**]
[*] = These fields are 0 if HOST or an older version of PHost are used
[**] = When the object is a planet, and PlanetsHaveTubes is enabled, the first field contains the number of fighters and the second one the number of torps. In all other cases, the unit has only one secondary weapons, so the first field contains the number of torps/fighters and the second one is zero.