Page 1 of 1

Files in different platform versions...

Posted: 23.03.2011, 06:01
by amzolt
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???

Re: Files in different platform versions...

Posted: 23.03.2011, 09:20
by selden
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.

Re: Files in different platform versions...

Posted: 23.03.2011, 14:48
by amzolt
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?

Re: Files in different platform versions...

Posted: 23.03.2011, 18:34
by ajtribick
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

Re: Files in different platform versions...

Posted: 23.03.2011, 21:44
by amzolt
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 :-)

Re: Files in different platform versions...

Posted: 25.03.2011, 21:08
by John Van Vliet
--- edit ---