Current project: Modified Stargen (a solar system generator)

Post requests, images, descriptions and reports about work in progress here.
Avatar
Topic author
omega13a M
Posts: 120
Joined: 15.10.2011
Age: 40
With us: 13 years 1 month
Location: California
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #21by omega13a » 11.01.2014, 20:35

In the 2013 version, I added a -r option which would allow planets to randomly migrate inwards. Using that option I've been able to get some rather large Jovians into the habitable zone.

As for circumbinaries... I know how you feel. I think I have an idea of how to solve the problem but I'm not sure if it will work...
A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy

Avatar
Topic author
omega13a M
Posts: 120
Joined: 15.10.2011
Age: 40
With us: 13 years 1 month
Location: California
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #22by omega13a » 17.01.2014, 03:51

Took me a little longer than I expected but after much testing, I think I got support for circumbinary systems to work. Here's a full list of the options:

Code: Select all

Seed values:
    -s#  Set random number seed [default: from time]
    -i#  Number to increment each random seed [default: 1]
    -n#  Specify number of systems [default: 1]
    -A#  set accretion dust density ratio_arg to # [default: 0.0]
    -q#  set accretion inner dust border to # [default: 0.3]
    -Q#  set accretion planetesimal seed eccentricity coefficient to # [default: 0.077]
Preset seeds:
    -k   Use known planets as planitesimal seeds [from internal tables]
    -K   Generate only known planets [from internal tables]
    -x   Use the Solar System's masses/orbits
    -a   Use the Solar System's masses/orbits varying Earth
Stars:
    -m#  Specify stellar mass # [fraction of Sun's mass]
    -y#  Specify stellar luminosity # [fraction of Sun's luminosity]
    -Y#  Specify minimum age for star (years)
    -b#  The temperature of the star (optional)
    -B   Spectral type of the star (optional)
    -CB  Make this a circumbinary system (optional
    -w#  The mass of a companion star (optional)
    -j#  The luminosity of a companion star (optional)
    -X#  The temperature of a companion star (optional)
    -N   Spectral type of the companion star (optional)
    -d#  The distance to a companion star (optional)
    -f#  The eccentricity of the orbit of the companion star (optional)
or select an internal table:
    -D   Use all of Dole's 16 nearby stars
    -D#  Use Dole's system #
    -F   Use all 34 AU systems
    -F#  Use AU system #
    -W   Use all 77 nearby stars taken from the Web
    -W#  Use Web system #
    -O   Use all 307283 fictious stars in the fictious Omega Galaxy
    -O#  Use Omega Galaxy system #
    -R   Use all 60001 fictious stars in the fictious Ring Universe galaxy
    -R#  Use Ring Universe system #
    -I   Use all 5001 fictious stars in IC 3094 that cham generated
    -I#  Use IC 3094 system #                                                                                                                                                   
    -U   Use all 1001 fictious stars in the Andromeda Galaxy that cham generated                                                                                                 
    -U   Use Andromeda Galaxy system #                                                                                                                                           
    -G   Use the 22 predefined stars in Star Trek                                                                                                                               
    -G   Use Star Trek system #                                                                                                                                                 
    -l   List stars of selected table and exit                                                                                                                                   
    -L   List stars of selected table as HTML and exit                                                                                                                           
Filters:                                                                                                                                                                         
    -E   Only systems with earthlike planets                                                                                                                                     
    -H   Only systems with habitable planets
    -2   Only systems with 2 or more habitable planets
    -3   Only systems with 3 or more habitable planets
    -T   Only systems with habitable planets more than 2 Earth Masses in size
    -P   Only systems with planets habitable by the Planetary Habitability Laboratory's criteria
    -J   Only systems with Jovian planets in habitable region
    -g   Include atmospheric gases
    -v   List verbosities [hex values] and exit
    -v#  Set output verbosity [hex value]
    -V   Use vector graphics [SVG] images [default: GIF]
    -z   Do numeric size check and exit
    -Z   Dump tables used for gases and exit
File specs:
    --   use stdout
    -o   Name for the output file(s) [default: taken from star name]
    -p   Path for the output file(s) [default: ./html]
    -u   Internet URL path for/in the output file(s) [default: none]
Output formats: (only one is generated)
(default) HTML to file
    -c   Celestia .ssc to stdout
    -C   Excel .csv [dl: no thumbnail html] to file
    -e   Excel .csv to file
    -S   Vector graphics (SVG) to file
    -t   Text to stdout
Other:
    -M   Generate moons (highly experimental and incomplete)
    -r   Allow planet migration after forming. (highly experimental)


Like before, you can download the source code from http://www.fedtrek.com/staff/omega13a/c ... n_2014.zip .
A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy

Avatar
Topic author
omega13a M
Posts: 120
Joined: 15.10.2011
Age: 40
With us: 13 years 1 month
Location: California
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #23by omega13a » 19.01.2014, 10:32

I noticed that I forgot to add some chemicals for atmospheres from the 2013 version into the 2014 version. I've re-added them as well as clean up the output for the -Z option and fixed some typos.

You can download binaries of it for Linux at http://www.fedtrek.com/staff/omega13a/c ... in_bin.zip
You can download binaries of it for Windows at http://www.fedtrek.com/staff/omega13a/c ... in_bin.zip
You can download source code at http://www.fedtrek.com/staff/omega13a/c ... n_2014.zip

Please note I haven't really tested the Windows binaries. I only tested to see if I could get the -h option to display.
A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy

Avatar
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 40
With us: 20 years 2 months
Location: MinneSNOWta
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #24by PlutonianEmpire » 19.01.2014, 19:53

I'm getting the error message: "The procedure entry point strtold could not be located in the dynamic link library cygwin1.dll" from the windows binaries. Is there something I forgot?
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
Topic author
omega13a M
Posts: 120
Joined: 15.10.2011
Age: 40
With us: 13 years 1 month
Location: California
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #25by omega13a » 19.01.2014, 21:33

PlutonianEmpire wrote:I'm getting the error message: "The procedure entry point strtold could not be located in the dynamic link library cygwin1.dll" from the windows binaries. Is there something I forgot?

More likely something I forgot... I'll look into it.
A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy

Avatar
Topic author
omega13a M
Posts: 120
Joined: 15.10.2011
Age: 40
With us: 13 years 1 month
Location: California
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #26by omega13a » 19.01.2014, 21:57

My hunch was right. It was something I forgot. I included the wrong version of cygwin1.dll in the zip package. I put the one I had for the 2013 version of stargen instead of the one that was in the cygwin installation of the windows computer I compiled it on... Anyways, download it again. Same location.
A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy

Avatar
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 40
With us: 20 years 2 months
Location: MinneSNOWta
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #27by PlutonianEmpire » 19.01.2014, 23:46

Still having issues, every combination of options I can think of for single custom systems (with the -m and -y options) result in the "unsupported star type message." And attempting a custom spectral type results in stack dump errors when uppercase, and the unsupported star type error message when lowercase.

Generating systems for the pre-mades worked fine from the command line perspective, although peeking at the ssc file revealed issues; I've included that and the most recent stack stump in a zip. :)
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
Topic author
omega13a M
Posts: 120
Joined: 15.10.2011
Age: 40
With us: 13 years 1 month
Location: California
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #28by omega13a » 20.01.2014, 00:41

PlutonianEmpire wrote:Still having issues, every combination of options I can think of for single custom systems (with the -m and -y options) result in the "unsupported star type message." And attempting a custom spectral type results in stack dump errors when uppercase, and the unsupported star type error message when lowercase.

did you use the -B and/or the -b options? If not, try it.

PlutonianEmpire wrote:Generating systems for the pre-mades worked fine from the command line perspective, although peeking at the ssc file revealed issues; I've included that and the most recent stack stump in a zip. :)

Oh dear... Looks like I have to redo my custom to_string function... That is... a lot of zeros. 8O
A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy

Avatar
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 40
With us: 20 years 2 months
Location: MinneSNOWta
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #29by PlutonianEmpire » 20.01.2014, 00:55

omega13a wrote:
PlutonianEmpire wrote:Still having issues, every combination of options I can think of for single custom systems (with the -m and -y options) result in the "unsupported star type message." And attempting a custom spectral type results in stack dump errors when uppercase, and the unsupported star type error message when lowercase.

did you use the -B and/or the -b options? If not, try it.
Yep, the upper case -B for the spectral types were the the errors causing stack dumps (both with and without quotation marks), and using just the lower case option for temps ( -b ) had only the unsupported star type errors. Although, using lower case letters to specify the spectral type had stargen revealing that the spectral type (such as -Bg3v ) was unsupported, rather than a blank space as before (so the error message in full with the values in my example would have been something like "Unsupported star type: g3v" )

PlutonianEmpire wrote:Generating systems for the pre-mades worked fine from the command line perspective, although peeking at the ssc file revealed issues; I've included that and the most recent stack stump in a zip. :)

Oh dear... Looks like I have to redo my custom to_string function... That is... a lot of zeros. 8O
Yep, the joys of software programming and testing. :P :lol:
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
Topic author
omega13a M
Posts: 120
Joined: 15.10.2011
Age: 40
With us: 13 years 1 month
Location: California
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #30by omega13a » 20.01.2014, 01:22

PlutonianEmpire wrote:
omega13a wrote:
PlutonianEmpire wrote:Still having issues, every combination of options I can think of for single custom systems (with the -m and -y options) result in the "unsupported star type message." And attempting a custom spectral type results in stack dump errors when uppercase, and the unsupported star type error message when lowercase.

did you use the -B and/or the -b options? If not, try it.
Yep, the upper case -B for the spectral types were the the errors causing stack dumps (both with and without quotation marks), and using just the lower case option for temps ( -b ) had only the unsupported star type errors. Although, using lower case letters to specify the spectral type had stargen revealing that the spectral type (such as -Bg3v ) was unsupported, rather than a blank space as before (so the error message in full with the values in my example would have been something like "Unsupported star type: g3v" )

That's the problem. It should be -BG3V. Its case sensitive. I'll try to find a way to make it case insensitive while I'm fixing the decimal problem.
A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy

Avatar
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 40
With us: 20 years 2 months
Location: MinneSNOWta
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #31by PlutonianEmpire » 20.01.2014, 01:55

omega13a wrote:
PlutonianEmpire wrote:That's the problem. It should be -BG3V. Its case sensitive. I'll try to find a way to make it case insensitive while I'm fixing the decimal problem.
Hmm. Doing -BG3V also results in errors, but instead of "unsupported star type: ", it generates a new stackdump instead. Leaving out the temps and spectral type entirely still results in a blank "unsupported star type: " (<blank>) error. Or was that the decimal problem you were referring to? Or is the decimal problem the one with the near-infinite zeroes?
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
Topic author
omega13a M
Posts: 120
Joined: 15.10.2011
Age: 40
With us: 13 years 1 month
Location: California
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #32by omega13a » 20.01.2014, 06:20

A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy

Avatar
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 40
With us: 20 years 2 months
Location: MinneSNOWta
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #33by PlutonianEmpire » 20.01.2014, 19:14

Still having issues... I'm beginning to wonder If maybe I'm forgetting some things myself? On top of that, I have noticed numerous typos, including "Unsupported" being mispelled as "Unsported", as well as multiple options having the same letter and capitalization; so here's 2 screenshots of my latest, albeit brief, efforts, as well as the last stackdump.
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
Topic author
omega13a M
Posts: 120
Joined: 15.10.2011
Age: 40
With us: 13 years 1 month
Location: California
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #34by omega13a » 21.01.2014, 01:35

I corrected the few typos you pointed out and fixed the other problems. Also, when making a custom star, you need to specify a spectral type and/or temperature or the program won't work. I made it a little more clear as to why the -b and -B arguments are listed as optional.

Code: Select all

Usage: stargen [options] [system name]
  Options:
Seed values:
    -s#  Set random number seed [default: from time]
    -i#  Number to increment each random seed [default: 1]
    -n#  Specify number of systems [default: 1]
    -A#  set accretion dust density ratio_arg to # [default: 0.0]
    -q#  set accretion inner dust border to # [default: 0.3]
    -Q#  set accretion planetesimal seed eccentricity coefficient to # [default: 0.077]
Preset seeds:
    -k   Use known planets as planitesimal seeds [from internal tables]
    -K   Generate only known planets [from internal tables]
    -x   Use the Solar System's masses/orbits
    -a   Use the Solar System's masses/orbits varying Earth
Stars:
    -m#  Specify stellar mass # [fraction of Sun's mass] (optional if -y is used)
    -y#  Specify stellar luminosity # [fraction of Sun's luminosity] (optional if -m is used)
    -Y#  Specify minimum age for star (years) (optional)
    -b#  The temperature of the star (optional if -B is used)
    -B   Spectral type of the star (optional if -b is used)
    -CB  Make this a circumbinary system (optional)
    -w#  The mass of a companion star (optional)
    -j#  The luminosity of a companion star (optional)
    -X#  The temperature of a companion star (optional)
    -N   Spectral type of the companion star (optional)
    -d#  The distance to a companion star (optional)
    -f#  The eccentricity of the orbit of the companion star (optional)
or select an internal table:
    -D   Use all of Dole's 16 nearby stars
    -D#  Use Dole's system #
    -F   Use all 34 AU systems
    -F#  Use AU system #
    -W   Use all 77 nearby stars taken from the Web
    -W#  Use Web system #
    -O   Use all 307283 fictious stars in the fictious Omega Galaxy
    -O#  Use Omega Galaxy system #
    -R   Use all 60001 fictious stars in the fictious Ring Universe galaxy
    -R#  Use Ring Universe system #
    -I   Use all 5001 fictious stars in IC 3094 that cham generated
    -I#  Use IC 3094 system #
    -U   Use all 1001 fictious stars in the Andromeda Galaxy that cham generated
    -U#  Use Andromeda Galaxy system #
    -G   Use the 22 predefined stars from Star Trek
    -G#  Use Star Trek system #
    -l   List stars of selected table and exit
    -L   List stars of selected table as HTML and exit
Filters:
    -E   Only systems with earthlike planets
    -H   Only systems with habitable planets
    -2   Only systems with 2 or more habitable planets
    -3   Only systems with 3 or more habitable planets
    -T   Only systems with habitable planets more than 2 Earth Masses in size
    -P   Only systems with planets habitable by the Planetary Habitability Laboratory's criteria
    -J   Only systems with Jovian planets in habitable region
    -g   Include atmospheric gases
    -v   List verbosities [hex values] and exit
    -v#  Set output verbosity [hex value]
    -V   Use vector graphics [SVG] images [default: GIF]
    -z   Do numeric size check and exit
    -Z   Dump tables used for gases and exit
File specs:
    --   use stdout
    -o   Name for the output file(s) [default: taken from star name]
    -p   Path for the output file(s) [default: ./html]
    -u   Internet URL path for/in the output file(s) [default: none]
Output formats: (only one is generated)
(default) HTML to file
    -c   Celestia .ssc to stdout
    -C   Excel .csv [dl: no thumbnail html] to file
    -e   Excel .csv to file
    -S   Vector graphics (SVG) to file
    -t   Text to stdout
Other:
    -M   Generate moons (highly experimental and incomplete)
    -r   Allow planet migration after forming. (highly experimental)

        Web systems (-W) taken from
          http://www.solstation.com/stars.htm, Wikipedia, and various research papers
        AU systems (-F) taken from
          stories by C.J. Cherryh
        Manticore systems (-B) taken from
          stories by David Weber

        StarGen: $Revision: 2.0 $


http://www.fedtrek.com/staff/omega13a/c ... in_bin.zip (Linux binary)
http://www.fedtrek.com/staff/omega13a/c ... in_bin.zip (Windows binary)
http://www.fedtrek.com/staff/omega13a/c ... n_2014.zip (source code)
A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy

Avatar
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 40
With us: 20 years 2 months
Location: MinneSNOWta
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #35by PlutonianEmpire » 21.01.2014, 02:27

I think it might be time to update that readme. :P I do believe a detailed, in-depth explanation as to what works, what doesn't, what combos are good, which combos are bad, etc. might be a good idea. :)

(EDIT: Not to mention what order. :lol: I finally got it to work after putting the temps AFTER the spectral type, rather than before; I'm a bit brain-dead myself, as I tend to do my commands in the same order as what the -help option shows. And has the method of naming systems been changed? I've noticed I can't seem to get it to say anything other than "stargen" as the system name for my custom stars.

Edit 2: And the thumbnails page seems to forget to include the "html" folder in its links to the individual systems. And 8O , whoever said Selden's moon code gave superjovians oversized moons was not kidding! :lol: )

The only issue in the finished ssc I see right now is no value for the MeridianAngle, and I do recall seeing oblateness values over 0.1 for jovians far too frequently. Realistically, they should be below 0.1, rather than above. Perhaps a zero was forgotten to be put in immediately after the decimal point?

So anyways, if I'm being a bit of a hassle, I do apologize, and I do appreciate your work! :)
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
Topic author
omega13a M
Posts: 120
Joined: 15.10.2011
Age: 40
With us: 13 years 1 month
Location: California
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #36by omega13a » 21.01.2014, 03:29

PlutonianEmpire wrote:I think it might be time to update that readme. :P I do believe a detailed, in-depth explanation as to what works, what doesn't, what combos are good, which combos are bad, etc. might be a good idea. :)

I agree.

PlutonianEmpire wrote:So anyways, if I'm being a bit of a hassle, I do apologize, and I do appreciate your work! :)

No need to apologize. Working on this is the only thing that's keeping me from dying of boredom these past couple of days.
A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy

Avatar
Topic author
omega13a M
Posts: 120
Joined: 15.10.2011
Age: 40
With us: 13 years 1 month
Location: California
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #37by omega13a » 22.01.2014, 02:27

PlutonianEmpire wrote:I think it might be time to update that readme. :P I do believe a detailed, in-depth explanation as to what works, what doesn't, what combos are good, which combos are bad, etc. might be a good idea. :)

I didn't have time today to do that so I just reworded some things and added a few examples.

PlutonianEmpire wrote:The only issue in the finished ssc I see right now is no value for the MeridianAngle, and I do recall seeing oblateness values over 0.1 for jovians far too frequently. Realistically, they should be below 0.1, rather than above. Perhaps a zero was forgotten to be put in immediately after the decimal point?)

Both of those issues should be fixed. The oblatness problem was because I didn't type in the equation to calculate oblateness properly and forgot to include mass. :oops:

Anyways, here's the revised help info (the -h option):

Code: Select all

Usage: stargen [options] [system name]
  Options:
Seed values:
    -s#  Set random number seed [default: from time]
    -i#  Number to increment each random seed [default: 1]
    -n#  Specify number of systems [default: 1]
    -A#  set accretion dust density ratio_arg to # [default: 0.0]
    -q#  set accretion inner dust border to # [default: 0.3]
    -Q#  set accretion planetesimal seed eccentricity coefficient to # [default: 0.077]
Preset seeds:
    -k   Use known planets as planitesimal seeds [from internal tables]
    -K   Generate only known planets [from internal tables]
    -x   Use the Solar System's masses/orbits
    -a   Use the Solar System's masses/orbits varying Earth
Stars:
  For a custom star:
    Please note that for a custom star, you need to specify a mass and/or a luminosity as well as a spectral type and/or a temperature. Other wise the program will not work.
    -m#  Specify stellar mass # [fraction of Sun's mass] (optional if -y is used)
    -y#  Specify stellar luminosity # [fraction of Sun's luminosity] (optional if -m is used)
    -Y#  Specify minimum age for star (years) (optional)
    -b#  The temperature of the star (optional if -B is used)
    -B   Spectral type of the star (optional if -b is used)
    -CB  Make this a circumbinary system like Tatoonine in Star Wars (optional)
    -w#  The mass of a companion star (optional and required if the -CB option is used)
    -j#  The luminosity of a companion star (optional and required if the -CB option is used)
    -X#  The temperature of a companion star (optional and required if the -CB option is used)
    -N   Spectral type of the companion star (optional and required if the -CB option is used)
    -d#  The distance to a companion star (optional and required if the -CB option is used)
    -f#  The eccentricity of the orbit of the companion star (optional and required if the -CB option is used)
  For a predefined star:
    -D   Use all of Dole's 16 nearby stars
    -D#  Use Dole's system #
    -F   Use all 34 AU systems
    -F#  Use AU system #
    -W   Use all 77 nearby stars taken from the Web
    -W#  Use Web system #
    -O   Use all 307283 fictious stars in the fictious Omega Galaxy
    -O#  Use Omega Galaxy system #
    -R   Use all 60001 fictious stars in the fictious Ring Universe galaxy
    -R#  Use Ring Universe system #
    -I   Use all 5001 fictious stars in IC 3094 that cham generated
    -I#  Use IC 3094 system #
    -U   Use all 1001 fictious stars in the Andromeda Galaxy that cham generated
    -U#  Use Andromeda Galaxy system #
    -G   Use the 22 predefined stars from Star Trek
    -G#  Use Star Trek system #
    -l   List stars of selected table and exit
    -L   List stars of selected table as HTML and exit
Filters:
    Please note that these options are only usefull if you are making a large batch of systems and only want to save certain ones.
    -E   Only systems with earthlike planets
    -H   Only systems with habitable planets
    -2   Only systems with 2 or more habitable planets
    -3   Only systems with 3 or more habitable planets
    -T   Only systems with habitable planets more than 2 Earth Masses in size
    -P   Only systems with planets habitable by the Planetary Habitability Laboratory's criteria
    -J   Only systems with Jovian planets in habitable region
    -g   Include atmospheric gases
    -v   List verbosities [hex values] and exit
    -v#  Set output verbosity [hex value]
    -V   Use vector graphics [SVG] images [default: GIF]
    -z   Do numeric size check and exit
    -Z   Dump tables used for gases and exit
File specs:
    --   use stdout
    -o   Name for the output file(s) [default: taken from star name]
    -p   Path for where the output file(s) are saved [default: ./html]
    -u   Internet URL path for/in the output file(s) [default: none]
Output formats: (only one is generated)
(default) HTML to file
    -c   Celestia .ssc to stdout
    -C   Excel .csv [dl: no thumbnail html] to file
    -e   Excel .csv to file
    -S   Vector graphics (SVG) to file
    -t   Text to stdout
Other:
    -M   Generate moons (highly experimental and incomplete)
    -r   Allow planet migration after forming. (highly experimental)

Examples:
10000 systems with 1 as the seed for the first system around a custom star with moons and migrated planets and only save ones with an earthlike planet:
stargen -m1.09 -y1.12609 -BG0V -b6215 -M -r -s1 -n10000 -E
10000 systems with 1 as the seed for the first system around a custom star in a circumbinary system with moons and migrated planets and only save ones with an earthlike planet:
stargen -m1.09 -y1.12609 -BG0V -b6215 -CB -w0.75 -j0.178473 -X4493 -NK3V -d0.11146 -f0.011 -M -r -s1 -n10000 -E
10000 systems with 1 as the seed for the first system around a predefined star:
stargen -W73 -M -r -s1 -n10000 -E
10000 systems with 1 as the seed for the first system around a custom star with a distant companion star with moons and migrated planets and only save ones with an earthlike planet:
stargen -m1.09 -y1.12609 -BG0V -b6215 -w0.75 -d1114.6 -f0.011 -M -r -s1 -n10000 -E

        Web systems (-W) taken from
          http://www.solstation.com/stars.htm, Wikipedia, and various research papers
        AU systems (-F) taken from
          stories by C.J. Cherryh
        Manticore systems (-B) taken from
          stories by David Weber

        StarGen: $Revision: 2.0 $


And here's the downloads:

http://www.fedtrek.com/staff/omega13a/c ... in_bin.zip (Linux binary)
http://www.fedtrek.com/staff/omega13a/c ... in_bin.zip (Windows binary)
http://www.fedtrek.com/staff/omega13a/c ... n_2014.zip (source code)
A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy

Avatar
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 40
With us: 20 years 2 months
Location: MinneSNOWta
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #38by PlutonianEmpire » 22.01.2014, 04:14

Not to be picky, but I've noticed a few issues remain and had edited into my previous post, before the latest update was made available:

PlutonianEmpire wrote:(EDIT: Not to mention what order. :lol: I finally got it to work after putting the temps AFTER the spectral type, rather than before; I'm a bit brain-dead myself, as I tend to do my commands in the same order as what the -help option shows. And has the method of naming systems been changed? I've noticed I can't seem to get it to say anything other than "stargen" as the system name for my custom stars.

Edit 2: And the thumbnails page seems to forget to include the "html" folder in its links to the individual systems. And 8O , whoever said Selden's moon code gave superjovians oversized moons was not kidding! :lol: )

And the only other issues than the ones above are that my internet has been ridiculously slow since Net Neutrality was brutally murdered last week (thank you, Politics As Usual(tm) :roll: :( ), so downloading takes some time now; takes almost as long as the 15 minute cycle between the resets on your site. Getting the new version tonight was a bit challenging, the third try I started immediately at the new cycle, and only finished with just a minute or two to spare. :/ Nothing either of us can really control, but still. :?
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
Topic author
omega13a M
Posts: 120
Joined: 15.10.2011
Age: 40
With us: 13 years 1 month
Location: California
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #39by omega13a » 22.01.2014, 05:32

PlutonianEmpire wrote:I finally got it to work after putting the temps AFTER the spectral type, rather than before; I'm a bit brain-dead myself, as I tend to do my commands in the same order as what the -help option shows.

I don't know why it would make a difference what order they are in... I tested to see if that's and issue that effects Linux but it doesn't... Haven't tested it on Windows though...

PlutonianEmpire wrote:And has the method of naming systems been changed? I've noticed I can't seem to get it to say anything other than "stargen" as the system name for my custom stars.

That's a good idea but I'm not entirely sure if it is a good idea considering that others would want names that contain characters such as spaces and apostrophises that could be misinterpreted by the program since they have an alternate meanings in command line terminals.

PlutonianEmpire wrote:And the thumbnails page seems to forget to include the "html" folder in its links to the individual systems.

That appears to be an issue that effects Linux as well... I've always had the html and excel output saved to a different directory. I'll look into fixing that problem but I more serious problem which popped up in the hour before I posted this. My Windows computer has to be quarantined until further notice. There's a virus on it that hogs all my bandwidth and I end up loosing my connection to the net. Until its safe, I can't build any binaries for Windows. :evil:
A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy

Avatar
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 40
With us: 20 years 2 months
Location: MinneSNOWta
Contact:

Re: Current project: Modified Stargen (a solar system genera

Post #40by PlutonianEmpire » 22.01.2014, 06:53

omega13a wrote:
PlutonianEmpire wrote:I finally got it to work after putting the temps AFTER the spectral type, rather than before; I'm a bit brain-dead myself, as I tend to do my commands in the same order as what the -help option shows.

I don't know why it would make a difference what order they are in... I tested to see if that's and issue that effects Linux but it doesn't... Haven't tested it on Windows though...

PlutonianEmpire wrote:And has the method of naming systems been changed? I've noticed I can't seem to get it to say anything other than "stargen" as the system name for my custom stars.

That's a good idea but I'm not entirely sure if it is a good idea considering that others would want names that contain characters such as spaces and apostrophises that could be misinterpreted by the program since they have an alternate meanings in command line terminals.
Odd, because entering the system name in the terminal on the 2013 version worked just fine; meaning "stargen <your options> Deneb" meant the system name came out as "Deneb" in both the ssc and the html outputs. But for some reason, in the 2014 version, it doesn't; meaning in the 2014 version, I put in "stargen <your options> Deneb", it just ends up setting "stargen" as the system name by default instead of Deneb, regardless of what I do.

Of course, with a mass of about 20 M_sun, stargen gave me brown dwarfs with radii in the negative range around Deneb. 8O

PlutonianEmpire wrote:And the thumbnails page seems to forget to include the "html" folder in its links to the individual systems.

That appears to be an issue that effects Linux as well... I've always had the html and excel output saved to a different directory. I'll look into fixing that problem but I more serious problem which popped up in the hour before I posted this. My Windows computer has to be quarantined until further notice. There's a virus on it that hogs all my bandwidth and I end up loosing my connection to the net. Until its safe, I can't build any binaries for Windows. :evil:
Ouch. Hope it works out soon. :/
Terraformed Pluto: Now with New Horizons maps! :D


Return to “Add-on development”