StarGen Sources

Here you find pointers to utilities that help you create addons for Celestia.
Avatar
Topic author
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 39
With us: 20 years 1 month
Location: MinneSNOWta
Contact:

StarGen Sources

Post #1by PlutonianEmpire » 25.06.2021, 05:27

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.)
Terraformed Pluto: Now with New Horizons maps! :D

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

Post #2by selden » 25.06.2021, 15:06

Thanks!
Selden

sirus20x6
Posts: 4
Joined: 16.11.2022
With us: 1 year 11 months

development on stargen

Post #3by sirus20x6 » 16.11.2022, 23:25

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

Avatar
Tegmine
Posts: 200
Joined: 20.03.2011
With us: 13 years 7 months

Post #4by Tegmine » 17.11.2022, 21:37

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-

sirus20x6
Posts: 4
Joined: 16.11.2022
With us: 1 year 11 months

Post #5by sirus20x6 » 17.11.2022, 22:10

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

Avatar
Topic author
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 39
With us: 20 years 1 month
Location: MinneSNOWta
Contact:

Post #6by PlutonianEmpire » 18.11.2022, 06:28

Ahh, I had forgotten about Omega13a's github!
Terraformed Pluto: Now with New Horizons maps! :D

sirus20x6
Posts: 4
Joined: 16.11.2022
With us: 1 year 11 months

Post #7by sirus20x6 » 18.11.2022, 07:45

I've removed the requirements for boost and gnu scientific library so it should be easier to build now.

onetwothree
Site Admin
Posts: 706
Joined: 22.09.2018
With us: 6 years 1 month

Post #8by onetwothree » 18.11.2022, 12:11

remove display.h.gch from the repo, it's a compiled header file

Avatar
Topic author
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 39
With us: 20 years 1 month
Location: MinneSNOWta
Contact:

Post #9by PlutonianEmpire » 03.07.2023, 06:06

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
Terraformed Pluto: Now with New Horizons maps! :D

sirus20x6
Posts: 4
Joined: 16.11.2022
With us: 1 year 11 months

Post #10by sirus20x6 » 23.09.2024, 14:46

I have made quite a few updates over the last few days. hope to have more time to work on it soon.


Return to “Utilities”