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...
Duplication of worlds
-
Topic authorDollan
- Posts: 1150
- Joined: 18.12.2003
- Age: 54
- With us: 20 years 11 months
- Location: Havre, Montana
Duplication of worlds
"To make an apple pie from scratch, you must first create the universe..."
--Carl Sagan
--Carl Sagan
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.
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.
Selden
-
Topic authorDollan
- Posts: 1150
- Joined: 18.12.2003
- Age: 54
- With us: 20 years 11 months
- Location: Havre, Montana
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...
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.
"To make an apple pie from scratch, you must first create the universe..."
--Carl Sagan
--Carl Sagan
-
- Developer
- Posts: 1863
- Joined: 21.11.2002
- With us: 22 years
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.Dollan wrote:So... where the heck is it getting the data for the system from???
Grant
-
Topic authorDollan
- Posts: 1150
- Joined: 18.12.2003
- Age: 54
- With us: 20 years 11 months
- Location: Havre, Montana
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!
Lesse.... could the newest version of Nearstars have anything to do with it? I can't think of anything else. This is really bizzare!
"To make an apple pie from scratch, you must first create the universe..."
--Carl Sagan
--Carl Sagan
-
- Developer
- Posts: 1863
- Joined: 21.11.2002
- With us: 22 years
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
Look in celestia.cfg for the parameter ExtrasDirectories, which is normally set to just
ExtrasDirectories [ "extras" ]
Grant
-
Topic authorDollan
- Posts: 1150
- Joined: 18.12.2003
- Age: 54
- With us: 20 years 11 months
- Location: Havre, Montana
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...
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
"To make an apple pie from scratch, you must first create the universe..."
--Carl Sagan
--Carl Sagan
-
Topic authorDollan
- Posts: 1150
- Joined: 18.12.2003
- Age: 54
- With us: 20 years 11 months
- Location: Havre, Montana
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...
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...
"To make an apple pie from scratch, you must first create the universe..."
--Carl Sagan
--Carl Sagan