Need help with stargen please.

The only place for all Non Celestia Discussion/Stuff
Avatar
Topic author
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 40
With us: 20 years 4 months
Location: MinneSNOWta
Contact:

Need help with stargen please.

Post #1by PlutonianEmpire » 01.01.2007, 07:12

how do i get winstargen to actually create a SSC file, instead of outputting it to the Cmd.exe screen?
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 4 months
Location: NY, USA

Post #2by selden » 01.01.2007, 13:45

As best I can tell, generation of .ssc files requires you to use the command line version.

p.s.
The windows-only executable is quite old, too. (May, 2004).
To get the most recent (Feb, 2006) version of the program, you have to compile it from source.
Selden

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

Post #3by PlutonianEmpire » 02.01.2007, 00:24

I AM using the windows command line version.... but it won't generate a file. i see the SSC code in the command line window, but no new file whatsoever.
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 4 months
Location: NY, USA

Post #4by selden » 02.01.2007, 13:10

As with most unix-style command line programs, you have to redirect the console output to a file if that's what you want.

e.g.
./stargen.exe -W5 -s1850770294 -c >pell.ssc
Selden

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

Post #5by PlutonianEmpire » 02.01.2007, 15:44

selden wrote:As with most unix-style command line programs, you have to redirect the console output to a file if that's what you want.

e.g.
./stargen.exe -W5 -s1850770294 -c >pell.ssc

ok, thanks. :)

But, for some reason, it only outputs empty ssc files when i try to specify mass and other fun stuff. :( (e.g. stargen.exe -m0.962 -c >cancen.ssc CAN Cen)

it only works with the code you gave me. :(
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 4 months
Location: NY, USA

Post #6by selden » 02.01.2007, 16:39

If you don't specify -c, Stargen writes its output to a subdirectory named /html/
Did you look there?

e.g. if my default directory is
Astro/StarGen/StarGenSource
and I type the command
./stargen -m.31 -s20 -n1
It creates the file
Astro/StarGen/StarGenSource/html/stargen-20-0.31.html

Unfortunately, however, it does look like -c will create ssc output only for the stars Stargen has listed internally :(

You should contact Jim directly to report this problem.
Selden

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

Post #7by PlutonianEmpire » 04.01.2007, 01:31

Ok, I e-mailed him. He said it was "semi-intentional", and cited lack of time as one of the reasons.
Terraformed Pluto: Now with New Horizons maps! :D

Brons
Posts: 3
Joined: 22.12.2002
With us: 22 years 1 month
Location: Maynard, MA

Looks like you caught me.

Post #8by Brons » 04.01.2007, 03:01

This Jim, the author of StarGen. As you've found out, the Celestia support in StarGen is really really thin, largely because I've been really short on development time and there always seemed to be some other priority when I did find the time to work on StarGen. Catching up on the bug reports and trying to come up with some reasonable way to deal with generating moons are the two top contenders.

Basically, the only support I have at present for Celestia is outputting the factors that StarGen already generates in the Celestia format. The next item on my Celestia list was to try to address all the various Celestia factors that are just boilerplate, specifying some sort of range for each one for each type of planet and either deriving them from the data I have or randomizing within the range when there isn't a value.

Other possibilities are allowing mass-generated random systems be linked in, as was brought up here. Another was to allow the user to specify a template file with some of the data StarGen doesn't generate already specified with some sort of macros to be replaced. This one was probably impossibly vague. Finally, the one I chose was to try to get a solution to the moon problem so that I would have more info to fill in.

Right now, my priorities aren't resulting in much StarGen time, but if I knew that there were specific people waiting on specific things (and there are people feeding me ideas on moons, so that's getting a bit of my attention), I might be able to shuffle things enough to get something accomplished.

So what (the simpler and more specific, the better) do people want?

JimB.

Dollan
Posts: 1150
Joined: 18.12.2003
Age: 54
With us: 21 years 1 month
Location: Havre, Montana

Post #9by Dollan » 25.02.2007, 05:29

For myself, I'd love to see a Windows version that allows all of the inputs that the command line option allows.

But, more specifically I suppose, I'd love to see the ability to generate systems in low mass systems, perhaps even brown dwarfs.

The ability to generate systems which will output planets similar to those being discovered today (ie, large massed worlds in high metallic systems).

The ability to manually determine stellar characteristics, such as metallicity, age, diameter, luminosity, etc.

...John (a long time fan of your program)...
"To make an apple pie from scratch, you must first create the universe..."
--Carl Sagan

Reiko
Posts: 1119
Joined: 05.10.2006
Age: 41
With us: 18 years 3 months
Location: Out there...

Post #10by Reiko » 21.02.2008, 20:35

Old thread I know but any chance this might get updated so you can export to an ssc file using the windows version?
:)


Return to “Petit Bistro Entropy”