Page 1 of 1

stars.dat to stars.txt converter and vice versa

Posted: 02.11.2007, 15:22
by Flying Xicken
Hi!

I was navigating with the purpose of finding a converter of stars.dat/stars.txt files. However, in the forum, I have only found 2 aplications. And I can't find those aplications anywhere.

The 2 aplications I'm referring to are:
cstarsconv.exe and makestardb.exe

I believe the "www.spacegear.org" had one of them, but it no longer exists.

Can someone help me and tell where I can find the converter? Or can someone send me a link to download it?

Thanks for your time and patience.

Posted: 02.11.2007, 15:45
by phoenix

Posted: 02.11.2007, 15:47
by selden
The source code (stars.txt) and the programs used to create it from the Hipparcos database and to convert it into stars.dat are all available on SourceForge.

http://celestia.cvs.sourceforge.net/celestia/celestia/

stars.txt is in / celestia / data

the convesion programs are in / celestia / src / tools / stardb

Posted: 09.11.2007, 01:54
by Reiko
How do you use the startextdump?

I'm trying to open stars.dat (the extended version found on motherload HERE) so I can get at the coordinates. Whenever I open it with startextdump it just flashes through it at warp speed. :(

Posted: 09.11.2007, 05:34
by LordFerret
Reiko wrote:How do you use the startextdump?

I'm trying to open stars.dat (the extended version found on motherload HERE) so I can get at the coordinates. Whenever I open it with startextdump it just flashes through it at warp speed. :(

Oh the woes of having a nice fast computer. :roll: :lol: :wink:

Posted: 09.11.2007, 21:17
by Reiko
But how do you make it stop scrolling so fast so you can read it? Or convert it to a separate text file so you can open it and look through it?

Posted: 09.11.2007, 21:48
by selden
Reiko,

If you are looking at the output in a command or terminal window (sometimes called a DOS window), you can use the "more" command to page through the program's output.

startextdump | more

The vertical bar character redirects the output from startextdump into the program named "more". Then you can type a "space" to see the next page or Ctrl-C to exit.

help more
will tell you how to use it in detail.

Posted: 09.11.2007, 22:53
by Reiko
selden wrote:Reiko,

If you are looking at the output in a command or terminal window (sometimes called a DOS window), you can use the "more" command to page through the program's output.

startextdump | more

The vertical bar character redirects the output from startextdump into the program named "more". Then you can type a "space" to see the next page or Ctrl-C to exit.

help more
will tell you how to use it in detail.


The way I use it is I drag the stars.dat onto the the startextdump.exe
The output does show in a terminal window but it does not allow me to type in any commands or do anything.
If I try to run starstextdump it just flashes open for less than a second before closing.

:?:

Posted: 09.11.2007, 23:12
by selden
The easiest way to open a command window is to use the Run menu.

(This is the U.S. English version. Hopefully something similar will work on your computer.)

Click on the Start icon
Select Run (in the lower right corner)
In the Open: box, type
cmd
then type a [return] or click on OK.
Image

A Command terminal window will popup.

Type the command
cd
followed on the same line with the name of the folder where you put the program, perhaps

cd "Program Files\Celestia"
(quotes are needed because of the space between Program and Files)

Then you can type the name of the program you want to run. In the example below, I used the program "type" to look at one of Celestia's files since I don't have the program that you're using.

Image

Posted: 09.11.2007, 23:48
by Reiko
That did the trick. Thank you much for the help! :)