Difference between revisions of "LCS/VCS SCM"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with " 32 bit int MAIN size - 8 32 bit int Largest mission size (02 00 06)h + 32 bit int Jump to second segment - 8 byte ...")
 
m (Article added to the right categories.)
Line 18: Line 18:
 
  (MAIN code)                  MAIN section, equal to size defined earlier
 
  (MAIN code)                  MAIN section, equal to size defined earlier
 
  (mission code)              The mission data, missions stored at offsets defined earlier
 
  (mission code)              The mission data, missions stored at offsets defined earlier
 +
 +
[[Category:Mission Script]] [[Category:File Formats]]

Revision as of 18:26, 30 August 2012

  32 bit int                 MAIN size - 8
  32 bit int                 Largest mission size
(02 00 06)h + 32 bit int     Jump to second segment - 8
byte                         Align (always 6Dh)
  (global vars)              Space for variable saving
(02 00 06)h + 32 bit int     Jump to third segment - 8
byte                         Align (always 0)
  32 bit int                 Subsegments size
  (data of 2 subsegments)    (1 byte value incrementing by 4 each time and 1 byte value incrementing by 1 each block) * (subsegments size * 2)
  32 bit int                 Number of models
  (model names)              24 byte model names * number of models (model 0 name is empty and therefore unused)
(02 00 06)h + 32 bit int     Jump to fourth segment - 8
byte                         Align (always 0)
  32 bit int                 Unknown size
  32 bit int                 Largest mission size
  32 bit int                 Number of missions
  (mission addresses)        (32 bit addresses - 8) * number of missions
(MAIN code)                  MAIN section, equal to size defined earlier
(mission code)               The mission data, missions stored at offsets defined earlier