Files in different platform versions...

Have a question about using Celestia? Check here first for FAQs and helpful advice.
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Topic author
amzolt
Posts: 33
Joined: 01.06.2004
With us: 20 years 5 months
Location: Kettering, OH, USA

Files in different platform versions...

Post #1by amzolt » 23.03.2011, 06:01

If I created files (.cfg, .ssc, .cmod, .3ds, .png, .jpg, .dat, and .cel) for a Windows version of Celestia, can they be used successfully in a Mac version???
~ Alex from Our Evolution

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

Re: Files in different platform versions...

Post #2by selden » 23.03.2011, 09:20

Yes.

The major thing to watch out for is that you use the same capitalization for filenames everywhere. If you spell a texture name MyTexture.jpg in an SSC file, you must spell it MyTexture.jpg on disk. It'll work OK under Windows if you get it wrong, but it will not work under Linux. There, mytexture.jpg and MyTexture.jpg are entirely different files. The easiest way to keep track of them is to always spell the names with lower case everywhere. Don't use any capitalization anywhere.
Selden

Topic author
amzolt
Posts: 33
Joined: 01.06.2004
With us: 20 years 5 months
Location: Kettering, OH, USA

Re: Files in different platform versions...

Post #3by amzolt » 23.03.2011, 14:48

selden wrote:Yes.

The major thing to watch out for is that you use the same capitalization for filenames everywhere. If you spell a texture name MyTexture.jpg in an SSC file, you must spell it MyTexture.jpg on disk. It'll work OK under Windows if you get it wrong, but it will not work under Linux. There, mytexture.jpg and MyTexture.jpg are entirely different files. The easiest way to keep track of them is to always spell the names with lower case everywhere. Don't use any capitalization anywhere.

Thanks, Selden, but what about the Mac using files created with a Windows version?
~ Alex from Our Evolution

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Re: Files in different platform versions...

Post #4by ajtribick » 23.03.2011, 18:34

Yes files created in one version of Celestia can be used in all the others.

As Selden said, the thing to watch out for is the file names. I recommend restricting yourself to lowercase letters, numbers and the underscore (_) only.

E.g.

my_solar_system.ssc

Topic author
amzolt
Posts: 33
Joined: 01.06.2004
With us: 20 years 5 months
Location: Kettering, OH, USA

Re: Files in different platform versions...

Post #5by amzolt » 23.03.2011, 21:44

ajtribick wrote:Yes files created in one version of Celestia can be used in all the others.

As Selden said, the thing to watch out for is the file names. I recommend restricting yourself to lowercase letters, numbers and the underscore (_) only.

E.g.

my_solar_system.ssc


Thanks :-)
~ Alex from Our Evolution

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: Files in different platform versions...

Post #6by John Van Vliet » 25.03.2011, 21:08

--- edit ---


Return to “Help Central”