Feature Request: De/Activation of Addons via Skript or List

General discussion about Celestia that doesn't fit into other forums.
Topic author
Guckytos
Posts: 439
Joined: 01.06.2004
With us: 20 years 5 months
Location: Germany

Feature Request: De/Activation of Addons via Skript or List

Post #1by Guckytos » 11.02.2005, 08:42

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

Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #2by Vincent » 11.02.2005, 09:31

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

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

maxim
Posts: 1036
Joined: 13.11.2003
With us: 21 years
Location: N?rnberg, Germany

Post #3by maxim » 11.02.2005, 11:04

This is an older idea, but not yet realised. The culprit may be (aside from 'programming man-power') the lack of a well defined organisation scheme for this.

maxim

Harry
Posts: 559
Joined: 05.09.2003
With us: 21 years 2 months
Location: Germany

Post #4by Harry » 11.02.2005, 19:14

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


Return to “Celestia Users”