Sharing Celestia on a dual-boot system

General discussion about Celestia that doesn't fit into other forums.
Topic author
Starshipwright
Posts: 78
Joined: 08.08.2006
With us: 18 years 3 months

Sharing Celestia on a dual-boot system

Post #1by Starshipwright » 18.08.2006, 02:38

I have recently installed linux (Xubuntu) in a dual-boot configuartion with windows. I have installed Celestia in both linux and windows. Is there a way to modify the linux Celestia .bin to look for the Celestia folder in a different location than the default. I have the windows Celestia installed in a FAT 32 partition that is accessable from linux, and would like to be able to have just one folder with all of my add-ons in it rather than have to duplicate it.

Kolano
Posts: 125
Joined: 15.02.2005
With us: 19 years 9 months
Location: New Jersey

Post #2by Kolano » 18.08.2006, 03:23

Yes, you need to do two things.

1. Look in celestia.cfg you should see a line to set the location of the "Extras" directory, and set it to your shared location in each install

2. Migrate any customizations you made outside of the "extras" directory to reside in "extras". This will often involve using the "modify" command within ssc's to modify existing definitions within the "data" directories.
System:
Asus A8N-SLI Premium nForce4 SLI
AMD Athlon 64 X2 4200+
2xeVGA GeForce 7800 GTX 256MB
2gb Dual Channel DDR (400) 3200

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #3by cartrite » 18.08.2006, 08:17

I do this same thing with linux and windows and I also share the extras folder via the cfg file. But fat32 drives have limited capabilities. I use one for a tmp read/write dir to share files between the 2 systems.
So I also use symbolic links. My linux system uses a NTFS driver so all of the win folders are accessable. The NTFS folders are read only though. What I do is create new empty folders in my linux version's extra dir and copy the ssc/ctx files and create a symbolic link to the main folder.
My dir tree looks something like this.
Linux/celestia/extras/mars/textures/medres/: In the mars folder I have a ssc file thats read/write. In the medres are the ctx files and a symbolic link to the folders with the textures.

In short if you want linux to use a folder that already exists create a symbolic link

Code: Select all

ln -s /path-to/win-dir/name path-to/linux-dir/name

In your case you could try something like this

Code: Select all

ln -s win/fat32/celestia/extras linux/celestia/extras1

The cfg file lets you declare multible extras folders


cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 3 months

re

Post #4by John Van Vliet » 23.08.2006, 08:31

in fedora 5 (linux) the kmod-ntfs mod will allow you to wright to windows from linux ( this is still exparimental) read and wright BUT NOT CREATE A NEW FILE to your ntfs dirve

also see the NTFS Linux kernel driver hear

http://www.linux-ntfs.org/component/opt ... /Itemid,1/


Return to “Celestia Users”