Updating Celestia/Question
Updating Celestia/Question
I have a previous version of Celestia with tons of addons, custom textures, etc. How can I update to the latest version 1.3.2 without having to reinstall all of those addons, textures, etc? Thanks.
Don't forget that you can have more than one copy of Celestia on your system at the same time.
Rename the directory (folder) where you have Celestia now, maybe to Celestia131.
Verify that things still work:
Double-click on the icon for Celestia131\Celestia.exe and look around in your universe.
Install the new copy of Celestia and tell it to use the directory Celestia. It'll create the folder again and install itself there.
Move your Addons at leisure.
Cel:// URLs run the copy of Celestia that is in the folder named Celestia. If you want to change back to using your old Celestia that way, just rename the directories again: rename Celestia to be Celestia132 and rename Celestia131 to be Celestia.
I hope this helps.
Rename the directory (folder) where you have Celestia now, maybe to Celestia131.
Verify that things still work:
Double-click on the icon for Celestia131\Celestia.exe and look around in your universe.
Install the new copy of Celestia and tell it to use the directory Celestia. It'll create the folder again and install itself there.
Move your Addons at leisure.
Cel:// URLs run the copy of Celestia that is in the folder named Celestia. If you want to change back to using your old Celestia that way, just rename the directories again: rename Celestia to be Celestia132 and rename Celestia131 to be Celestia.
I hope this helps.
Selden
-
- Developer
- Posts: 944
- Joined: 18.07.2002
- With us: 22 years 2 months
- Location: Lyon (France)
The best way to handle this is to never install add-ons directly in the extras folder of your celestia installation. Instead install them in a separate folder which you then add to the 'ExtrasDirectories' setting of the celestia.cfg file.
That way upgrade is not a problem and you can easily share add-ons between several installations.
That way upgrade is not a problem and you can easily share add-ons between several installations.
Christophe
alegator,
Each addon should be in its own directory (folder), so all you should have to do is to drag those directories from the old Celestia extras directory into the extras directory of the new Celestia.
If you've been letting the Addons put their files into the folders used by Celestia itself, the folders other than extras, then it'll be harder to sort out which files should be moved and which shouldn't. You may have to reinstall those from scratch.
Please take a look at http://www.lepp.cornell.edu/~seb/celestia/addon-intro.html
It should help you to understand how the Addons should be organized. If not, please let me know what needs to be improved on that Web page.
Each addon should be in its own directory (folder), so all you should have to do is to drag those directories from the old Celestia extras directory into the extras directory of the new Celestia.
If you've been letting the Addons put their files into the folders used by Celestia itself, the folders other than extras, then it'll be harder to sort out which files should be moved and which shouldn't. You may have to reinstall those from scratch.
Please take a look at http://www.lepp.cornell.edu/~seb/celestia/addon-intro.html
It should help you to understand how the Addons should be organized. If not, please let me know what needs to be improved on that Web page.
Selden
And remember that you can have more than one extras-directory, for instance you can keep the default-extras and then keep all addons in a separate directory. Then all you have to do after an upgrade is to add the second extras-dir to your celestia.cfg and hope that the addons still work with the new version
Harald
Harald
-
- Posts: 1048
- Joined: 19.10.2003
- With us: 20 years 11 months
- Location: Germantown, Ohio - USA
Hello again...
I have a question concerning add-ons like Jupiter's Rings, and 3ds or
CMOD objects.
I MUST modify the solarsys.ssc file in order to display Jupiter's rings, must
I not? I haven't been able to display the rings using alternate textures, so
is there another choice here?
Also, I have had a number of problems when trying to match up textures
with models which exist in their own directories under the extras directory.
If one is using this setup, the texture files must NOT exist in the main Celestia
textures directory should they?
Thanks. Just trying to get a better handle on how to make a tour so that
it can reside in the extras directory.
Take care, Bob
I have a question concerning add-ons like Jupiter's Rings, and 3ds or
CMOD objects.
I MUST modify the solarsys.ssc file in order to display Jupiter's rings, must
I not? I haven't been able to display the rings using alternate textures, so
is there another choice here?
Also, I have had a number of problems when trying to match up textures
with models which exist in their own directories under the extras directory.
If one is using this setup, the texture files must NOT exist in the main Celestia
textures directory should they?
Thanks. Just trying to get a better handle on how to make a tour so that
it can reside in the extras directory.
Take care, Bob
Bob Hegwood
Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.0 Pre6 FT1
Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.0 Pre6 FT1
Not any more! (see below)Bob Hegwood wrote:Hello again...
I have a question concerning add-ons like Jupiter's Rings, and 3ds or
CMOD objects.
I MUST modify the solarsys.ssc file in order to display Jupiter's rings, must
I not?
Yes, starting with Celestia v1.3.2, there is another option. (see below)I haven't been able to display the rings using alternate textures, so
is there another choice here?
Celestia uses the first texture it finds that has the name you specify, so it's best to use unique names for the textures provided with an Addon.Also, I have had a number of problems when trying to match up textures
with models which exist in their own directories under the extras directory.
If one is using this setup, the texture files must NOT exist in the main Celestia
textures directory should they?
Thanks. Just trying to get a better handle on how to make a tour so that
it can reside in the extras directory.
Take care, Bob
Starting with Celestia v1.3.2, object definitions within an Addon's SSC files may have one of the three prefixes
Add
Replace
Modify
"Add" just adds this new object definition to Celestia's database. This is the default. It's the same as Celestia has always done.
"Replace" deletes the preexisting object that has the same name as this object and inserts this new definition in its place.
"Modify" replaces individual declarations within the existing object of the same name by whatever declarations are mentioned in this new object definition.
These three options all assume that only one object already exists with the same name. If more than one object with the same name have been created with Add, then the results of Replace and Modify are unpredictable.
In other words, you can use following Addon SSC definition to put rings around Jupiter:
Code: Select all
Modify "Jupiter" "Sol" {
Rings {
Inner 74500
Outer 140220
Texture "jupiter-rings-20040830.png"
}
}
Of course, you'd want to specify different values for Inner and Outer and Texture.
Selden
-
- Posts: 1048
- Joined: 19.10.2003
- With us: 20 years 11 months
- Location: Germantown, Ohio - USA
Thanks again for your help, Selden.
I'm going to try to make tours a bit easier to install and use over new
releases of Celestia. Your advice, as always, is what I was looking for.
Take care, Bob
I'm going to try to make tours a bit easier to install and use over new
releases of Celestia. Your advice, as always, is what I was looking for.
Take care, Bob
Bob Hegwood
Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.0 Pre6 FT1
Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.0 Pre6 FT1