Hi!
2 questions
1)
I am using 2 Versions of Celestia, 1.3.2 and 1.4 beta 6 (or so). I??d like both of them to use the same texture-folder (as the title of the thread might indicate ). Is this possible?
I already made them to use the same extras-folder (by telling celestia 1.4 to use ../Celestia_131/extras as it??s extras-folder).
and 2) I am also using NASA World Wind - can i somehow make celestia to use the World Wind-VT?
Best regards
Hauke
Different Versions of Celestia using the same texture-Folder
- t00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 7 months
- Location: Hamburg, Germany
Re: Different Versions of Celestia using the same texture-Fo
Hauke wrote:Hi!
2 questions
1)
I am using 2 Versions of Celestia, 1.3.2 and 1.4 beta 6 (or so). I??d like both of them to use the same texture-folder (as the title of the thread might indicate ). Is this possible?
I already made them to use the same extras-folder (by telling celestia 1.4 to use ../Celestia_131/extras as it??s extras-folder).
and 2) I am also using NASA World Wind - can i somehow make celestia to use the World Wind-VT?
Best regards
Hauke
You forgot to tell us your operating system. From the direction of your directory slashes, in infer you are using Linux? If so, then you may simply use a symbolic link for the textures directory of the second installation.
Bye Fridger
And what do you mean with "symbolic link" because i??m going to change to linux soon
- An unix data-file is just an area of bytes within a filesystem (without name).
- To access the data of a file, you give it one (or more) "filenames".
- If the same area of bytes has more than one filename, the filenames are called "hard links".
- Filenames are stored as one of several possible kinds of entries in a directory tree, the tree starting at "/".
- Other types of directory entries are devices, sockets, fifos and "symbolic links".
- A symbolic link points to ANY other directory entry anywhere in the directory tree, including another symbolic link.
Example:
Your textures are in the directory /home/celestia/textures. You now can
make a symbolic link, pointing to this directory,
e.g.
/home/cel1/textures -> /home/celestia/textures. As soon as you
access something within the subtree of /home/cel1/textures, you actually
access it within /home/celestia/textures.
I.e. there is ONE actual data directory tree, but you can access it
as if it is replicated to many other places.
Did this help?
MfG - HJW
-
Topic authorHauke
- Posts: 5
- Joined: 16.04.2005
- With us: 19 years 7 months
- Location: Hamburg/Germany
- Contact:
thanks
but can i do this in windowsXP,too?
i found out, that i can set the path for my extras-directory in the celestia.cfg.
this is what i use for my celestia 1.40 extras-directory:
my directory tree is
so i need something like
is this possible?
of course i could set absolute paths in my solarsys.ssc (like c:\programme\celestia132\textures\medres\mars.jpg) instead of mars.jpg
but there has to be another way...(?)
but can i do this in windowsXP,too?
i found out, that i can set the path for my extras-directory in the celestia.cfg.
this is what i use for my celestia 1.40 extras-directory:
Code: Select all
ExtrasDirectories [ "../Celestia_132/extras" ]
my directory tree is
Code: Select all
c:\Programme\
-celestia_132
-celestia_140
so i need something like
Code: Select all
TexturesDirectories [ "../Celestia_132/textures" ]
is this possible?
of course i could set absolute paths in my solarsys.ssc (like c:\programme\celestia132\textures\medres\mars.jpg) instead of mars.jpg
but there has to be another way...(?)
but can i do this in windowsXP,too?
I've been told something similar is possible with XP, but I'm
a complete dummy with windows... I just remember that something
like "fsutil" should do the trick.
i found out, that i can set the path for my extras-directory in the celestia.cfg
yes, and you also can use multiple entries, like
["../extras-1" "../extras-2" "../extras-3"].
I'm afraid you can't do this with the "data" directory. I never
tried, because, well, I just used symbolic links...
MfG - Horst
-
- Posts: 485
- Joined: 19.03.2005
- With us: 19 years 8 months
- Location: Los Angeles, CA
Regarding different versions of Celestia sharing the same textures I started this thread:
http://www.celestiaproject.net/forum/viewtopic ... highlight=
I was actually more concerned with different add-ons sharing the same textures (like several surface maps using the same normal map) but the issues are the same.
Jest came up with an idea for using the Modify declaration that helped alleviate some problems... hope his suggestion helps.
http://www.celestiaproject.net/forum/viewtopic ... highlight=
I was actually more concerned with different add-ons sharing the same textures (like several surface maps using the same normal map) but the issues are the same.
Jest came up with an idea for using the Modify declaration that helped alleviate some problems... hope his suggestion helps.
Steven Binder, Mac OS X 10.4.10
-
Topic authorHauke
- Posts: 5
- Joined: 16.04.2005
- With us: 19 years 7 months
- Location: Hamburg/Germany
- Contact:
ok...i tried to understand the thread...
what you meant was to create .ssc-files in my extras-folder
(which i can set to, say, (and which both celestia-versions use))
and put the textures with full pathnames
like
into the file?
so i have a .ssc for mercury, one for venus, one for earth/moon,[...],pluto and they are copied/pasted from my solarsys.ssc?
And there??s no opportunity just to tell celestia "don??t look there for textures but here"?
what you meant was to create .ssc-files in my extras-folder
(which i can set to, say,
Code: Select all
c:\programme\celestia_132\extras
and put the textures with full pathnames
like
Code: Select all
c:\programme\celestia_132\textures\hires\16KVTMars.ctx
into the file?
so i have a .ssc for mercury, one for venus, one for earth/moon,[...],pluto and they are copied/pasted from my solarsys.ssc?
And there??s no opportunity just to tell celestia "don??t look there for textures but here"?
-
- Posts: 485
- Joined: 19.03.2005
- With us: 19 years 8 months
- Location: Los Angeles, CA
And there??s no opportunity just to tell celestia "don??t look there for textures but here"?
The short answer is no. The long answer is yes... but it involves creating a special add-ons folder with your new textures - along with special SSC files to "declare" these new textures in a way Celestia can understand.
My post was for doing something a little more elaborate. I see now, perhaps you are trying to do something different. Check this out - it should answer all your questions:
http://www.lepp.cornell.edu/~seb/addon-intro.html
Steven Binder, Mac OS X 10.4.10