Difference between revisions of "SEC File Format"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 16: Line 16:
  
 
The data in the sector text files is laid out in column format:
 
The data in the sector text files is laid out in column format:
+
1-14: Name
1-14: Name
 
  
 
15-18: HexNbr
 
15-18: HexNbr
Line 23: Line 22:
 
20-28: UWP
 
20-28: UWP
  
  31: Bases
+
31: Bases
  
 
33-47: Codes & Comments
 
33-47: Codes & Comments
  
  49: Zone
+
49: Zone
  
 
52-54: PBG
 
52-54: PBG
Line 35: Line 34:
 
59-74: Stellar Data
 
59-74: Stellar Data
 
   
 
   
....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
+
....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
 
+
Zeycude      0101 C330698-9    Na Ni Po De        613 Zh M9 V
Zeycude      0101 C330698-9    Na Ni Po De        613 Zh M9 V
+
Reno          0102 C1207B9-A    Na Po De          603 Zh G8 V M1 D
 
 
Reno          0102 C1207B9-A    Na Po De          603 Zh G8 V M1 D
 
  
 
----
 
----

Revision as of 19:29, 10 February 2008

SEC File Format

This file format for a single Sector is a fixed field layout, typically described in the file header.

The data includes the Primary World Name, Location within the sector as a grid reference, UWP, Bases present, Trade codes, Travel Zones, Population Multiplier, Asteroid Belt count, Gas Giant count, allegiance code, and data about the types and sizes of stars present.

Known locations for SEC Sector files as of February 10, 2008 are:

+ <List needed>


An example for the Spinward Marches sector is provided below. Note that the actual system data does not start until line #18 within the file.

SPINWARD MARCHES SECTOR

The data in the sector text files is laid out in column format: 1-14: Name

15-18: HexNbr

20-28: UWP

31: Bases

33-47: Codes & Comments

49: Zone

52-54: PBG

56-57: Allegiance

59-74: Stellar Data

....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
Zeycude       0101 C330698-9    Na Ni Po De        613 Zh M9 V
Reno          0102 C1207B9-A    Na Po De           603 Zh G8 V M1 D