Page 1 of 1

StarGen Sources

Posted: 25.06.2021, 05:27
by PlutonianEmpire
Yo, I looked around my Celestia Archives folder, and I noticed I possibly have 3 source codes for Stargen, from 2012, 2013, and 2014 respectively, in case anyone wants to try their hand at improving them :)

https://drive.google.com/file/d/1TfVyQfw9x-3oT-6Jq9LruyVgU-ugCvWw/view?usp=sharing

(Feel free to delete the .ssc files I made with it.)

Posted: 25.06.2021, 15:06
by selden
Thanks!

development on stargen

Posted: 16.11.2022, 23:25
by sirus20x6
Thanks there were some comments in your version that were missing in other versions online!
I'm developing mostly off of this source https://github.com/omega13a/stargen

my version is here https://github.com/sirus20x6/stargen

I'm slowly converting it to c++, then I'll add json support and then maybe add some features

Posted: 17.11.2022, 21:37
by Tegmine
I think I might have the version Selden and someone else had done. Originally ran them on Windows XP courtesy of Cygwin, but since switching to Ubuntu, wouldn't mind figuring out how to get them up and running again.

-M-

Posted: 17.11.2022, 22:10
by sirus20x6
you should be able to run

Code: Select all

git clone https://github.com/sirus20x6/stargen.git
cd stargen
cmake ./CMakeLists.txt
cmake --build .


I just added json exporting today

Posted: 18.11.2022, 06:28
by PlutonianEmpire
Ahh, I had forgotten about Omega13a's github!

Posted: 18.11.2022, 07:45
by sirus20x6
I've removed the requirements for boost and gnu scientific library so it should be easier to build now.

Posted: 18.11.2022, 12:11
by onetwothree
remove display.h.gch from the repo, it's a compiled header file

Posted: 03.07.2023, 06:06
by PlutonianEmpire
I am trying to run sirus20x6's version of StarGen, but when compiling, cygwin gives me an error saying M_PI was in place of PI.

Upon fixing it, it compiled, with multiple warnings for multi-character character constant.

Upon attempting to run it, I get error dialogs saying cyggcc_s-seh-1.dll, cygstc++-6.ll, and cygwin1.dll were missing.

It ran, but the only thing that works is the -h help command. Everything else does absolutely nothing. No html files, Celestia out resulted in files of 0 bytes, etc.

The same if I fill in the remaining dlls from older version of stargen.

Also the same if I port over the latest versions of all the dll's.

However, if I use all of the dlls from the 2015 version of stargen, I get an error saying it couldn't start correctly due to error code (0xc000007b)

Added after 1 hour 12 minutes:
I made my own branch: https://github.com/PlutonianEmpire/stargen

Added after 30 minutes 40 seconds:
Turns out in order for StarGen to work and generate planets, the html folder needs to exist in the StarGen folder

Added after 2 hours 41 minutes:
I have compiled my changes, includes Mie atmospheres. You can download it here: https://drive.google.com/file/d/1HCzECykRf0JePqv1HTVssAkklg4YJSGk/view?usp=sharing

Posted: 23.09.2024, 14:46
by sirus20x6
I have made quite a few updates over the last few days. hope to have more time to work on it soon.