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: 35
With us: 7 years 10 months
Location: California
Contact:

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

Post #41by omega13a » 22.01.2014, 07:07

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

Well, I don't have any equations to calculate the radius of brown dwarfs so I wouldn't trust any radius it gives a brown dwarf. :wink:
A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy

Avatar
PlutonianEmpire M
Posts: 1348
Joined: 09.09.2004
Age: 34
With us: 14 years 11 months
Location: MinneSNOWta

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

Post #42by PlutonianEmpire » 26.01.2014, 07:59

After taking a few days' break, I resumed trial and error with stargen 2014, and I've noticed that perfectly legitimate option selections, when generating systems from internal star databases, stargen way too often runs into problems; likely from a typo in a spectral type; but oddly, i take out one option that doesn't involve the star itself, it errors out on the star type. A here's a screenie to highlight my issue. This time, it's refusing to generate stack dumps.

(EDIT: It seems to be related to the -M option for moons; leaving it out causes the star type errors, it seems.)
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
Topic author
omega13a M
Posts: 120
Joined: 15.10.2011
Age: 35
With us: 7 years 10 months
Location: California
Contact:

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

Post #43by omega13a » 26.01.2014, 23:50

That is very odd and I can't see how that is possible even though I'm able to recreate it... I was able to fix the problem (hopefully I'll have new binaries this evening) but I don't understand the cause of it. Getting that error message is like tossing a ball at the ground and it flying up and hitting your face without the ball ever hitting the ground. :?
A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy

Avatar
PlutonianEmpire M
Posts: 1348
Joined: 09.09.2004
Age: 34
With us: 14 years 11 months
Location: MinneSNOWta

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

Post #44by PlutonianEmpire » 27.01.2014, 01:52

Did you check it for custom systems as well? Because after I posted, I attempted custom systems and got the same error when taking out the -M option, and neglected to mention it. :oops:
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
PlutonianEmpire M
Posts: 1348
Joined: 09.09.2004
Age: 34
With us: 14 years 11 months
Location: MinneSNOWta

Post #45by PlutonianEmpire » 14.08.2016, 20:32

I have no idea if Omega13a plans on returning to this forum or restarting this project, so I am posting the last version he sent me a few years ago. I named it stargen 2015.

https://drive.google.com/file/d/0B1C6RbksuFXSakxWTGNEYzRwbzA/view?usp=drivesdk

My file includes textures for the generated planets, but I highly recommend you replace them with your own. I'm still a novice with google drive, so hopefully the download link works. The mass premade stars incude Cham's older releases of his star databases for M33 and M31 and a couple other galaxies. As always please read BOTH readme's. :)

The download is in 7zip format, for better compression of the textures.
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
Topic author
omega13a M
Posts: 120
Joined: 15.10.2011
Age: 35
With us: 7 years 10 months
Location: California
Contact:

Post #46by omega13a » 24.08.2016, 03:50

I haven't ended this project. I just got a little sidetracked with making celestia add-ons...
A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy

Avatar
Drumy9
Posts: 6
Joined: 25.12.2016
Age: 47
With us: 2 years 7 months
Location: Venezuela

Post #47by Drumy9 » 30.12.2016, 11:50

Hello. I find this program a few days ago and my interest was piqued. I had try a few times with this program, the original of Mr. Burrows and the modified of Mr. Omega and I have a few questions:
1.- The systems generated with the Mr. Burrows's program is differents of the systems generated with the Mr. Omega's program? When I try "./stargen -W1 -E -g -s1 -n1000 -i1" with the Mr. Burrows's program I obtain 38 systems, with the Mr. Omega's program 2013 I obtain 27 systems. The information of the planet's details in the systems that concur is different between them.
2.- When I try "./stargen -W1 -E -g -s1 -n1000 -i1" with the Mr. Omega's program 2014 with the last binary for linux I obtain this error: "./stargen: symbol lookup error: /usr/lib/libgsl.so.0: undefined symbol: cblas_dasum". I use debian jessie 8.6. I download ht last source for linux but that didn't compile.
3.- Can I set boundaries to the number of planets in a system?
Sorry disturb you :oops: but I have a project now of writing and this is important to me.
Thanks for your help and I sorry if my English isn't very good, my native language is Spanish.
I wish you a Happy New Year 2017! :wink:

Avatar
Topic author
omega13a M
Posts: 120
Joined: 15.10.2011
Age: 35
With us: 7 years 10 months
Location: California
Contact:

Post #48by omega13a » 30.12.2016, 22:02

1. It has to do with how many times the random number generator is called by the program. One version has more calls then the other though I can't remember which one...
2. Try installing the GNU Scientific Library.
3. No.
A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy

Avatar
Drumy9
Posts: 6
Joined: 25.12.2016
Age: 47
With us: 2 years 7 months
Location: Venezuela

Post #49by Drumy9 » 31.12.2016, 13:54

Hello. Thanks for your fast answer.
I installed the GNU Scientific Library (gsl-bin, libgs10-dev and any with that description on synaptic because I don't know very much about programming), download again the last source and binaries but I can't work this :cry:
With the binaries I obtain this:
drumy@drumy-debian:~/Descargas/stargen_2014-bin$ ./stargen -W1 -E -g -s1 -n1000 -i1
./stargen: symbol lookup error: /usr/lib/libgsl.so.0: undefined symbol: cblas_dasum
When I try compile the source I obtain this:
drumy@drumy-debian:~/Descargas/stargen_2014/build$ cmake ..
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
GSL_DEFINITIONS=
GSL_INCLUDE_DIRS=/usr/include
GSL_CFLAGS=-I/usr/include
-- Using GSL from
-- FindGSL: Found both GSL headers and library
-- Configuring done
-- Generating done
-- Build files have been written to: /home/drumy/Descargas/stargen_2014/build
drumy@drumy-debian:~/Descargas/stargen_2014/build$ make
Scanning dependencies of target stargen
[ 4%] Building CXX object CMakeFiles/stargen.dir/accrete.cpp.o
/home/drumy/Descargas/stargen_2014/accrete.cpp:5:35: fatal error: boost/concept_check.hpp: No existe el fichero o el directorio
#include <boost/concept_check.hpp>
^
compilation terminated.
CMakeFiles/stargen.dir/build.make:54: recipe for target 'CMakeFiles/stargen.dir/accrete.cpp.o' failed
make[2]: *** [CMakeFiles/stargen.dir/accrete.cpp.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/stargen.dir/all' failed
make[1]: *** [CMakeFiles/stargen.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
drumy@drumy-debian:~/Descargas/stargen_2014/build$
:cry: Help please
Happy New Year
Drumy9
Debian 9 Stretch - Linux 4.9.0-8-amd64 x86_64
ThinkPad SL400 Intel Core2Duo

Avatar
John Van Vliet
Posts: 2711
Joined: 28.08.2002
With us: 16 years 11 months

Post #50by John Van Vliet » 31.12.2016, 19:46

fairly self explanatory

Code: Select all

 boost/concept_check.hpp: No existe el fichero o el directorio
#include <boost/concept_check.hpp>


install boost

from the "-dev" naming and gcc 4.9
i am guessing this is a Debian derivative like Mint

Avatar
Drumy9
Posts: 6
Joined: 25.12.2016
Age: 47
With us: 2 years 7 months
Location: Venezuela

Post #51by Drumy9 » 01.01.2017, 16:37

Hello.
I install libboost-all-dev and I can compile and use the last stargen from Omega :smile: . Thanks a lot! :wink:
Note: My system is debian jessie:
"drumy@drumy-debian:~/Descargas/stargen_2014$ lsb_release -irc
Distributor ID: Debian
Release: 8.6
Codename: jessie"
Happy New Year 2017! :wink:
Drumy9
Debian 9 Stretch - Linux 4.9.0-8-amd64 x86_64
ThinkPad SL400 Intel Core2Duo

Virtoo
Posts: 2
Joined: 23.06.2017
With us: 2 years 1 month

Post #52by Virtoo » 23.06.2017, 06:25

I'm slowly getting a new version ready. This next version has three new types of planets: iron, carbon, and oil (basically the same as carbon but has liquids on its surface). I need to run a few more tests due to a bug that causes rocky planets to be way more dense than iron planets... :?


Return to “Add-on development”

Who is online

Users browsing this forum: 1 guest