
NO, a user should NEVER have to modify the base files, but right now, they HAVE TO in certain cases. They have no choice. Which is why I suggested this enhancement in the first place.
-Don G.
Just remember that non-Unix users are not normally as "techie" as Unix users are <smile>.Christophe wrote:Since it's directly in the add-on ssc file and not 'burried' in celestia.cfg, I think it's in fact less confusing (but maybe that's just me).
Throw it away? Why would we want to do that? This idea is one that needs to be considered for the add-on manager anyway -- as a first step -- in addition to defining the manifest file, rules, etc. So, the implementation of this idea (in whatever form) should become part of the add-on manager.Christophe wrote:I'd rather go directly to something extendable to a full blown add-on manager than having to throw this away and restart from scratch in six months.
Agreed. ONE "official" way to provide an add-on would be a welcome relief for all beginners to Celestia.Christophe wrote:Yes, but I think the current mixture of supported add-on formats is the main culprit, we should only support extras sub-directories and drop the older standard.
Christophe wrote:It wouldn't have to be a full GUI at first. A simple text file listing the add-on directories in their loading order would be a first step.
don wrote:Just remember that non-Unix users are not normally as "techie" as Unix users are <smile>.Christophe wrote:Since it's directly in the add-on ssc file and not 'burried' in celestia.cfg, I think it's in fact less confusing (but maybe that's just me).
Christophe wrote:My proposition:
1 - Allow absolute path and ~ extension (Unix) in extras directory definition in celestia.cfg.
2 - Add apropriate user specific default extras directory in addition to the current installation specific one.
3 - Add a per-object definition mode with the possible values: add (default), replace, override.
4 - Add an undef value, to allow removal of properties in override mode
5 - Add a celestia-maintained (user level) list of installed add-ons. Add-ons are loaded in the list order, new add-ons are added at the end of the list. This list is restricted to directory-type add-ons.
Christophe wrote:Having this setting in celestia.cfg ...
don wrote:Not sure where you got this idea. Harald suggested it for the .ssc files, not for the .cfg file. And I agree.Christophe wrote:Having this setting in celestia.cfg ...
don wrote:1. What is "~"? Is this relating to Harald's request to allow an OS-specific "home" directory to be used?
don wrote:2. Not sure what you mean here. Like "/celestia/donextras"?
Code: Select all
ExtrasDirectories [ "extras" "%HOMEPATH%\Celestia\extras" ]
Code: Select all
ExtrasDirectories [ "extras" "~/Celestia/extras" ]
don wrote:3. Please specify conditions for these, as they are confusing to me. How is replace different from override? In Harald's initial suggestion, Replace is related only to a complete-object. In other words, Replace=true would replace the ENTIRE object with a new specification. Replace=false would add an additional object of the same name with a new specification. When Replace is NOT specified, existing LINES in the specification would be replaced with the new data.
don wrote:4. Agreed.
5. Agreed. Just a thought ... Celestia could generate this list ever time it loads, since it is in fact already accessing the files .. very much like a "load log".