SSC format ?

General discussion about Celestia that doesn't fit into other forums.
Topic author
Sputnik
Posts: 2
Joined: 19.11.2008
With us: 16 years

SSC format ?

Post #1by Sputnik » 13.01.2009, 17:26

Hello,

Pardon me if this is a stupid question, but I've searched and haven't seen it answered explicitely or seen any implicit hints.. What is the program that's used to read the .ssc files? Opening these with Notepad gives a messy layout, no visible formating. There's no carriage returns anywhere. The help files I've found in the addons are just as garbled, so I'm guessing there's some standard text editor other than Notepad that everyone's agreed on.. ?

Thanks.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: SSC format ?

Post #2by t00fri » 13.01.2009, 17:46

Sputnik wrote:Hello,

Pardon me if this is a stupid question, but I've searched and haven't seen it answered explicitely or seen any implicit hints.. What is the program that's used to read the .ssc files? Opening these with Notepad gives a messy layout, no visible formating. There's no carriage returns anywhere. The help files I've found in the addons are just as garbled, so I'm guessing there's some standard text editor other than Notepad that everyone's agreed on.. ?

Thanks.

The ssc files are human readable configuration files for Celestia. So Celesltia reads them upon startup. For editing .ssc files you should use an editor --not as stupid as notepad--.

Celestia being multi-platform software (Windows, MAC OS, Linux), its configuration files do not always satisfy the Windows line-ending syntax. The latter differs for the three most popular operating systems! Notepad is a particularly simplistic piece of Windows software, entirely unable to cope with text files from different operating systems. What editor is best to use instead, depends on many things, that depend a lot on what you want to do.

For Windows, I use notepad++, for example.

http://notepad-plus.sourceforge.net/de/site.htm

notepad++ is free and VERY good. Note: it has very little to do with notepad ;-)

When I develop in Linux, I use Kate (KDE).

Fridger
.
Image

Reiko
Posts: 1119
Joined: 05.10.2006
Age: 41
With us: 18 years 1 month
Location: Out there...

Re: SSC format ?

Post #3by Reiko » 13.01.2009, 18:02

I usually use WordPad which comes with windows and has never given me much problems.

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

Re: SSC format ?

Post #4by selden » 13.01.2009, 18:07

For what it's worth, the Windows editor WordPad will translate non-Windows text files so they have <cr><lf> line terminators.
Selden

Topic author
Sputnik
Posts: 2
Joined: 19.11.2008
With us: 16 years

Re: SSC format ?

Post #5by Sputnik » 13.01.2009, 19:03

Thank you!

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: SSC format ?

Post #6by t00fri » 13.01.2009, 19:19

Yes I was about to mention WordPad, but really other editors like notepad++ can do soooooooooo much more, notably for programming. They have a very good syntax highlighting engine, for example.

But as I said, it all depends what people want to do with these editors.

Fridger
Image

bh
Posts: 1547
Joined: 17.12.2002
With us: 21 years 11 months
Location: Oxford, England

Re: SSC format ?

Post #7by bh » 13.01.2009, 20:03

Notepad should be good enough for viewing and editing ssc files... I use textedit on mac.
regards...bh.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: SSC format ?

Post #8by t00fri » 13.01.2009, 20:23

bh wrote:Notepad should be good enough for viewing and editing ssc files... I use textedit on mac.

bh,

you might have overread that the problem is that some Celestia .ssc files have UNIX/MAC-OS line endings. This means that for Windows the file looks like a huge ONE-line thing. Notepad is a stupid piece of Windows software that CANNOT deal with MAC-OS, Linux line endings.

Definitely!

WordPad and most other, more up-to-date editors can.

Fridger
Image

bh
Posts: 1547
Joined: 17.12.2002
With us: 21 years 11 months
Location: Oxford, England

Re: SSC format ?

Post #9by bh » 13.01.2009, 21:17

Ahh... it's been a while since I was on win... things have moved on it seems!
regards...bh.

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: SSC format ?

Post #10by BobHegwood » 13.01.2009, 22:21

Just so's you are aware of it...
I use Notepad2 - light-weight Scintilla-based text editor for Windows - on
my Vista system, and it is completely compatible with Celestia's files and peculiarities.
This is also another freeware program. :wink: I believe that it is open-source too,
but I could be wrong about that. The source is freely available though.

Thanks, Brain-Dead
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN


Return to “Celestia Users”