how do I edit?

General discussion about Celestia that doesn't fit into other forums.
Topic author
Polchei

how do I edit?

Post #1by Polchei » 07.01.2004, 19:53

I would like to edit the stars.dat file. What editor do I use?

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 5 months
Location: Colorado, USA (7000 ft)

Post #2by don » 08.01.2004, 08:31

Howdy Polchei,

I don't think this file is directly editable, since it requires a program in the Celestia project to build it. If I'm wrong, I'm sure someone will tell me <smile>.

-Don G.

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

Post #3by selden » 08.01.2004, 12:18

Polchei,

Why do you want to edit stars.dat?

There may be other solutions to your problem. Creating a STar Catalog (STC file), for example, might be one.
Selden

Topic author
Polchei

Post #4by Polchei » 09.01.2004, 02:17

I know I can make a .stc file, but I wanted to make just a minor change in the stars.dat file. I wanted to add one star to the stars.dat file - wolf 359, which is the 3rd nearest star to the sun. I don't care to make a .stc file just for wolf 359 which is not a prominent star and doesn't deserve its own file just for that one star, but it should have been in the stars.dat file.

selden wrote:Polchei,

Why do you want to edit stars.dat?

There may be other solutions to your problem. Creating a STar Catalog (STC file), for example, might be one.

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

Post #5by selden » 09.01.2004, 02:47

Polchei,

Wolf359 is to dim for Hipparcos to measure its position, which is why it is not in Celestia's stars.dat.

I have to admit that I don't understand your hesitation to create an STC file for it. That's exactly what textual STC files are for -- making it easy to add a database of a limited number of stellar objects to Celestia. Text files are larger and slower to load per star than the binary stars.dat file, which is why a text file wasn't used for the primary stars database. (Given the rapid advances in computer and disk speeds, I suspect this argument won't be relevant for much longer.)

However, you should seriously consider downloading Grant Hutchison's NearStars addon. It provides an STC catalog of all of the known stars within 25LY of the Earth, including Wolf 359.

It's available at http://www.lns.cornell.edu/~seb/celestia/hutchison/nearstars.html

Does this help?
Selden


Return to “Celestia Users”