IanBruntlett
Emperor Mongoose
Hi
For the life of me, I cannot remember the meanings of all the components of a UWP/UPP codes.
So, today, I wrote a small (just over 300 lines long) C program, create-datasheet, written in what I think is portable standard C. I run it on a Linux (x86_64) system but it should compile and run OK on other systems and architectures.
It takes input files like this (abbreviated)..
Name,Location,Statistics,Trade Codes
567-908,1031,E532000-0,Ba Po
Asteltine,931,B7A7402-A,Fl Ni
Avastan,1037,C433520-A,Ni Po
And generates output such as this:-
Name: 567-908, Location: 1031 UWP: E532000-0 Trade Codes : Ba Po
StarPort : E. Frontier. No facilities.
Size: 8000km
Atmosphere: Very Thin
Hydrographic: 16%-25% A few small seas
Population: None
Government: None
Law-Level: No weapon or armour restrictions
Tech-Level: 0 - Primitive - Stone Age
Name: Asteltine, Location: 931 UWP: B7A7402-A Trade Codes : Fl Ni
StarPort : B. Good. Shipyard (spacecraft). Repair. Refined fuel
Size: 11200km
Atmosphere: Exotic
Hydrographic: 66%-75% Earth-like world
Population: Tens of Thousands
Government: None
Law-Level: Banned: Portable energy and laser weapons and Combat armour
Tech-Level: A - Early Stellar - Nearby systems reachable. Orbital habitats and factories common. Colonies viable. Economic boom
Name: Avastan, Location: 1037 UWP: C433520-A Trade Codes : Ni Po
StarPort : C. Routine. Shipyard (smallcraft). Repair. Unrefined fuel
Size: 6400km
Atmosphere: Very Thin
Hydrographic: 26%-35% Small seas and oceans
Population: Hundreds of Thousands
Government: Participating Democracy
Law-Level: No weapon or armour restrictions
Tech-Level: A - Early Stellar - Nearby systems reachable. Orbital habitats and factories common. Colonies viable. Economic boom
I'd like to point out that the program, while it works, I haven't proofread it fully (yet). That will happen over the coming days.
I took the data from Behind the Claw - in particular, District 268.
Basically, I intend to use it to take a subsector's worth of UWP/UPP codes and produce a simple document of the worlds within it - with the intent to expanding the document with material written by myself (I hope).
I was wondering... has anyone else done this already?
TIA,
Ian
For the life of me, I cannot remember the meanings of all the components of a UWP/UPP codes.
So, today, I wrote a small (just over 300 lines long) C program, create-datasheet, written in what I think is portable standard C. I run it on a Linux (x86_64) system but it should compile and run OK on other systems and architectures.
It takes input files like this (abbreviated)..
Name,Location,Statistics,Trade Codes
567-908,1031,E532000-0,Ba Po
Asteltine,931,B7A7402-A,Fl Ni
Avastan,1037,C433520-A,Ni Po
And generates output such as this:-
Name: 567-908, Location: 1031 UWP: E532000-0 Trade Codes : Ba Po
StarPort : E. Frontier. No facilities.
Size: 8000km
Atmosphere: Very Thin
Hydrographic: 16%-25% A few small seas
Population: None
Government: None
Law-Level: No weapon or armour restrictions
Tech-Level: 0 - Primitive - Stone Age
Name: Asteltine, Location: 931 UWP: B7A7402-A Trade Codes : Fl Ni
StarPort : B. Good. Shipyard (spacecraft). Repair. Refined fuel
Size: 11200km
Atmosphere: Exotic
Hydrographic: 66%-75% Earth-like world
Population: Tens of Thousands
Government: None
Law-Level: Banned: Portable energy and laser weapons and Combat armour
Tech-Level: A - Early Stellar - Nearby systems reachable. Orbital habitats and factories common. Colonies viable. Economic boom
Name: Avastan, Location: 1037 UWP: C433520-A Trade Codes : Ni Po
StarPort : C. Routine. Shipyard (smallcraft). Repair. Unrefined fuel
Size: 6400km
Atmosphere: Very Thin
Hydrographic: 26%-35% Small seas and oceans
Population: Hundreds of Thousands
Government: Participating Democracy
Law-Level: No weapon or armour restrictions
Tech-Level: A - Early Stellar - Nearby systems reachable. Orbital habitats and factories common. Colonies viable. Economic boom
I'd like to point out that the program, while it works, I haven't proofread it fully (yet). That will happen over the coming days.
I took the data from Behind the Claw - in particular, District 268.
Basically, I intend to use it to take a subsector's worth of UWP/UPP codes and produce a simple document of the worlds within it - with the intent to expanding the document with material written by myself (I hope).
I was wondering... has anyone else done this already?
TIA,
Ian