Star System Generator

roymartin

Mongoose
I've been writing a star system generator, based on the World Builder's Handbook. It's in its early days, with only the stars, worlds and moons completed. It's a command-line tool generating output to the console, but also creates an HTML file (system.html). The output is based on the style used in the WBH.

2.0.0 Release

Hopefully, some will find it useful.

Roy

Update, today I released version 2.0.0. Details are below, and I have updated the link above.
 
Last edited:
It's a command-line tool generating output to the console, but also creates an HTML file (system.html).
I would like to look at this program but I am not sure where to start. So here are some questions:
you've written a commandline (CL) tool but where do you recommend users download the pre-compiled github files (.exe and .dll)?
Does the program run on 64-bit only machines or on 32-bit as well?
Does the program always generate a Html file, or is that an option?
Is the Html output saved to disk, or is it simply output to a browser window?
Does the default Html file have to be called "system.html" as my Windows AV might pick that up as a potential virus threat. Please, could it be called something like StarSystem.html or world_system.html? as that would be much less ambiguous for me.
If I specify a new filename for the Html file, would I need to supply the complete filepath, or does the output default to the documents folder, or somewhere else? And, if I specify a new filename, do I need to specify a space or a backslash or something between the CL switch option and the filename?

Thanks for sharing, and I hope you find those sort of questions useful.
 
you've written a commandline (CL) tool but where do you recommend users download the pre-compiled github files (.exe and .dll)?
I would download them, create an empty folder and put them in there. I would recommend running them from a command prompt directly, not double-clicking on the icon in Windows (the next version will have some options you can use from the command line.
Does the program run on 64-bit only machines or on 32-bit as well?
I believe it is 64bit
Does the program always generate a Html file, or is that an option?
It always does. It creates an overview called system.html and a seperate html file for each terrestrial planet and moon in a folder called surveys, which is created in the same directory. If you run TravellerSystemsGenerator -u the program will add the seed number to the system.html file (e.g. system_67964296.html) and the surveys folder, so you can run it multiple times without overwriting the output. I can add an option to disable html output, but more detail is contained therein that isn't in the console output.
Does the default Html file have to be called "system.html" as my Windows AV might pick that up as a potential virus threat. Please, could it be called something like StarSystem.html or world_system.html? as that would be much less ambiguous for me.
Good idea, I'll change it in the next release.
If I specify a new filename for the Html file, would I need to supply the complete filepath, or does the output default to the documents folder, or somewhere else?
You can't at the moment, I'll add that in a future release.
Thanks for sharing, and I hope you find those sort of questions useful.
Yes, thank you, and I hope you find the answers enlightening :)

Roy
 
Note that the top of the console output includes a seed number. This is the random number the program uses to make all the dice rolls to generate the system.

═══════════════════════════════════════════════════════════════
TRAVELLER STAR SYSTEM GENERATION
Version 1.9.1
Seed: 378180750
═══════════════════════════════════════════════════════════════

If you run the program again with the seed number as a parameter to the command (e.g. TravellerSystemsGenerator 378180750) the same star system will be generated. I've not tried this between computers, though I think it would work.

Roy
 
I've just published version 2.0.0, which now generates systems based on the Stars, Systems Worlds and Orbits, and World Physical Characteristics chapters of the World Builder's Handbook.

Release v2.0.0

This release includes the following features:
  • Star generation, including companions, class, mass, diameter, luminosity and orbital eccentricity
  • Generation of orbits and placement of planets, gas giants and Planetoid Belts
  • Generation of the habitable zone
  • Anomalous planets (eccentric, inclined, retrograde and trojan orbits)
  • Orbital periods
  • Significant moons
  • World gas giant and moon sizing
  • World and moon gravity, mass, orbital periods and day length
  • Planetoid Belt characteristics
  • World and moon atmospheres, including atmospheric pressure, Albedo and Hydrographics
  • Tidal locks for planets and moons
  • Mean, max and low temperature for Worlds and moons
  • Generation of systems for existing systems
  • HTML and console output
  • Command line help
I have not included
  • some of the details of atmospheres, particularly taint details, exotic details and atmospheric chemical composition
  • the more detailed aspects of temperature calculation
  • Seismology
  • Native Lifeforms (this is next on the list)
  • World Social Characteristics (this is also a priority)
Roy
 
Back
Top