After reading the "Celestia needs 1GB of RAM?" thread http://www.celestiaproject.net/forum/viewtopic.php?t=6734 and the ideas/realisations of people for using different addons i had an idea, which probably has surfaced already, but none the less i will tell it to you.
How about including a feature in a celestia skript, so that you can make it ignore certain folders in the extras directory. Okay, now that would of course mean that one would have to organise the addons in a certain way to use that feature.
But back to the idea. The feature should work in the following way. Upon start Celestia looks up if there is a file, let's call it "exclude.txt" for the moment, in the main directory. If no such file is present, all addons from the /extras/ directory are loaded.
If "exclude.txt" is there, celestia loads everything from the /extras/ directory, except the in "exclude.txt" specified directories/files.
That would work, but be a bit crude.
A finer way i think would be to include a command-line option in Celestia, so that it could work with a txt-file with an arbitrary name, like:
Celestia -x:fiction.txt
-x stands for: Everything that you find in the following txt-file is excluded from loading
With such a command-line option it would be possible to create batch-files for loading Celestia with exact the configuration (fictional/scietific) you want it to have, without multiple installations, or multiple /extras/ directories.
But this is only a feature request of mine.
What do you think about that idea???
Regards,
Guckytos
Feature Request: De/Activation of Addons via Skript or List
-
- Developer
- Posts: 1356
- Joined: 07.01.2005
- With us: 19 years 10 months
- Location: Nancy, France
This sounds interesting : in a script, when you want to set an single orbit on and you don't want to have a mess on you screen, it would be usefull to 'delete' certain objects...
@+
Vincent
@+
Vincent
@+
Vincent
Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3
Vincent
Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3
Keeping Celestia from loading addons from some subdirectories is fairly easy to accomplish. In fact I had a slightly modified version of Celestia running on my system for quite some time which did exactly that, using a specially named file in those directories as a marker to exclude them (i.e. if the file was present, Celestia didn't load addons from that directory).
"Deleting" addons during runtime is harder.
Harald
"Deleting" addons during runtime is harder.
Harald