Difference between revisions of "SEC File Format"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
(Update to input where sector files are found (in the wiki))
Line 5: Line 5:
 
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.
 
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:
+
All known SEC Sector files are in the wiki, attached to each sector article under the data file link in the Infobox.
  
+ <List needed>
+
==Example==
 
+
An example for the [[Spinward Marches Sector|Spinward Marches]] sector is provided below.  Note that the actual system data does not start until line 18 within the file.
----
 
 
 
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
 
SPINWARD MARCHES SECTOR
  
 
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
+
:20-28: UWP
 
+
:31: Bases
20-28: UWP
+
:33-47: Codes & Comments
 
+
:49: Zone
31: Bases
+
:52-54: PBG
 
+
:56-57: Allegiance
33-47: Codes & Comments
+
:59-74: Stellar Data
 
 
49: Zone
 
 
 
52-54: PBG
 
 
 
56-57: Allegiance
 
 
 
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
  
----
+
[[Category: Meta]]

Revision as of 00:58, 11 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.

All known SEC Sector files are in the wiki, attached to each sector article under the data file link in the Infobox.

Example

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