Concerns about the impact of file system changes

The place to discuss creating, porting and modifying Celestia's source code.
Avatar
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 4 months
Location: Udomlya, Tver region, Russia

Post #21by Croc » 30.11.2017, 06:37

Chuft-Captain,
you state that:
Asteroids, Comets, and Dwarf Planets belong in the "catalogs" folder, not in the "data" folder, and should be loaded via mechanism 1. in your list.
What this means, is that any future classifications made by the IAU which we may want to include in the catalog, such as the asteroidal moons...

The Project Celestia Origin has a base of 3402 asteroids, 63 asteroid satellites, 19 pairs and 1 triple of asteroids with a common barycentre. viewtopic.php?p=136912#p136912

The base of asteroids is installed in the Extras / Asteroids folder. In the folder extras / asteroids / date are xyzv-files. Everything is working!

If the database is moved to the directory directory, then the asteroids with xyzv-files stop working.

Why do not they work?

===========
Excuse me, I do not speak English. I use Google-translator.
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Post #22by Chuft-Captain » 30.11.2017, 10:54

I understand. You moved your asteroids project to the "Catalogs" folder???

I should clarify that when I said that "Asteroids, Comets, and Dwarf Planets belong in the "catalogs" folder ...", I only refer to the core set of objects which are always "distributed" with an official Celestia release (mostly well known major objects whose information is very well known and is created and maintained by the development team.)

Any user of course is free to make their own fictional or realistic "addons" which may extend the default set of Solar System objects, and addons can include any sort of object ... Planets, Moons, Asteroids, Comets Spacecraft, etc. The correct location however for these "addons" is the "extras" folder.
The "Catalogs" folder is subject to a limited and strictly defined "manual" load process which only loads files which are explicitly specified.
This is the reason that your project is ignored when you move it into that folder. I think the discussion in this thread confused you, but this is a narrow discussion which is only about the structure of the official release version of Celestia, and is relevant only to a very limited set of files maintained by the DEV team (which is why it is posted in the "Development" forum ).
The discussion here IS NOT related to user created addons.

Your Project Celestia Origin is an "addon", so it belongs NOT in "catalogs" or "data", but in "extras".
If you return your project to the extras folder, then all your files will once again be loaded and work again.

Again, "Catalogs" folder is for the developers work, but NOT for addon projects.
Unless you really know what you are doing, you should never change anything in the "Catalogs" folder (or the "data" folder) ... or put any of your own projects in that folder. (In fact I would recommend making it READONLY).

Hope this clears up the confusion.

CC
Last edited by Chuft-Captain on 01.12.2017, 05:22, edited 2 times in total.
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
FarGetaNik M
Posts: 484
Joined: 05.06.2012
With us: 12 years 6 months
Location: Germany

Post #23by FarGetaNik » 30.11.2017, 15:02

Chuft-Captain wrote:Your Project Celestia Origin is an "addon", so it belongs NOT in "catalogs" or "data", but in "extras".

Since I am working on a similar "Project Echoes" I want to add that it is not entirely possible to do all modifications of default catalogues by addons in the extras folder and honestly I didn't want to because the default catalogues are so outdated that I might as well just update them myself.


Return to “Development”