Page 1 of 1
Duplication of worlds
Posted: 16.09.2004, 18:00
by Dollan
Hi folks...
I came across an odd bug in the add-on I'm making for Gamma Leporis B.
For some reason, it seems that most of the worlds in the system are duplicated, causing problems with the planet textures (blinking textures, or none at all). I've gone through the ssc file, and cannot find any reason for this; all the entries are in only once. And, as far as I know, the stc file only affects the central star.
The ssc file is here:
http://j.dollan.home.bresnan.net/Gamma% ... is%20B.ssc
if anyone wants to take a gander at it. I'll keep going over it, of course, but any insights would be most welcome!
Oh, I should add that I am using the latest version of Celestia, if that matters.
...John...
Posted: 16.09.2004, 18:15
by selden
Well, there is no Gamma Leporis B in the distributed version of Celestia, so you've had to add an STC file to define it.
I changed all references of "Gamma Leporis B" to "GAM Lep" so it'd work on my system.
I see only one of each of the objects, although they have blank surfaces.
This suggests to me that you have a second copy of the SSC file somewhere in your /extras/ directory tree.
Posted: 16.09.2004, 18:18
by Dollan
Ooo, I'm confused. I deleted the ssc file, thinking to just start over. NOW the system appears normal (minus textures), with no doubles. So... where the heck is it getting the data for the system from???
Posted: 16.09.2004, 18:22
by Dollan
Yeah, I had help getting the stc file made, but I changed everything to "Gamma Leporis B" for my own conveniance.
I've looked everywhere for a copy of the ssc file, that being my first hunch. But for the life of me, I cannot find it. The only copy is the original ssc, which I moved entirely out of the Celestia directory.
I'll poke around some more. maybe, somehow, the file has been rendered unseeable....
...John...
selden wrote:Well, there is no Gamma Leporis B in the distributed version of Celestia, so you've had to add an STC file to define it.
I changed all references of "Gamma Leporis B" to "GAM Lep" so it'd work on my system.
I see only one of each of the objects, although they have blank surfaces.
This suggests to me that you have a second copy of the SSC file somewhere in your /extras/ directory tree.
Posted: 16.09.2004, 18:22
by granthutchison
Dollan wrote:So... where the heck is it getting the data for the system from???
As Selden says, you have another copy of the
ssc somewhere in your extras tree. Maybe you inadvertently saved a copy in extras itself, rather than in a subdirectory? You could do a search for files containing the phrase "Gamma Leporis B" and see what turns up.
Grant
Posted: 16.09.2004, 18:35
by Dollan
I did a full search of the entire drive, just to be certain. The only ssc files for Gamma Leporis B are outside of the tree: the original has been renamed, and the copy with the proper name has no data yet. But I'm pretty sure they would not affect anything if they are in an entirely different tree outside of Celestia.
Lesse.... could the newest version of Nearstars have anything to do with it? I can't think of anything else. This is really bizzare!
Posted: 16.09.2004, 18:41
by selden
Have you looked at Celestia's "console log"?
It displays the full pathname of each of the catalogs when it loads the file, so it should show where the extra SSC file is coming from, if that's the problem.
Posted: 16.09.2004, 18:59
by Dollan
Okay, I'm REALLY gonna look dumb now... Where is the console log? I opened teh Celestia.cfg file, but didn't see anything.
Posted: 16.09.2004, 19:00
by granthutchison
Have you altered celestia.cfg at any time, to include extras directories outside the current Celestia tree? (Some people do this so that they don't have to copy over all their add-ons.)
Look in celestia.cfg for the parameter ExtrasDirectories, which is normally set to just
ExtrasDirectories [ "extras" ]
Grant
Posted: 16.09.2004, 19:04
by selden
Celestia's "console log" is enabled by typing a tilde
( ~ = shift ` on my keyboard). It's displayed in Celestia's window.
Posted: 16.09.2004, 19:10
by Dollan
Today was the first time I've ever opened the file. But I checked to make certain, and it is set as it should be. And I've some more searches, both using the Windows function AND a thorough manual search. I even emptied out the Trash Bin. Nothing unusual, no copies, no change.
I'm going to try a couple more things, including removing the stc file and starting from scratch.
...John...
granthutchison wrote:Have you altered celestia.cfg at any time, to include extras directories outside the current Celestia tree? (Some people do this so that they don't have to copy over all their add-ons.)
Look in celestia.cfg for the parameter ExtrasDirectories, which is normally set to just
ExtrasDirectories [ "extras" ]
Grant
Posted: 16.09.2004, 19:24
by Dollan
SUCCESS!!!
I found the problem quite by accident when I clicked on the wrong folder, and double clicked on the sc file in it before I could even react. Apparently, a copy of the Gamma Leporis B ssc went into my 12 Ophiuchi folder, and at some point I must have named this copy 12 Ophiuchi.ssc. But all of the system data was still geared towards Gamma Leporis B. I deleted the file, and things are just fine.
Thanks for your patience, Grant and Selden!
...John...