Win - 1.3.1p11 - Script probs if not in celestia folder

Report bugs, bug fixes and workarounds here.
Topic author
don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Win - 1.3.1p11 - Script probs if not in celestia folder

Post #1by don » 04.11.2003, 16:20

Currently (1.3.1 p11) when a .cel or .celx script is not located in the main "..\celestia" directory / folder, object textures are not loaded when the script is running, and other script problems may occur. Having 20, 50 or even 100 script files in the main Celestia folder can get very messy.

Suggestion I posted to the Developer forum is below ...

-Don G.

- - - - - - - - - - - - - - - - - - - - - - - - - -
Posted to Developer forum:

Request For Enhancement:

Add a "script" directory/folder under "...\celestia\" that can contain any Celestia .cel or .celx script. Allowing sub-directories in this directory would also help a great deal.

By "add" I mean into the Celestia folder-searching code. Right now, if a script does not reside in the "...\celestia" folder, object textures are not loaded and other problems.

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #2by Christophe » 04.11.2003, 17:19

I think this is a Windows only bug.

A fix would be better than a work-arround.
Christophe

Topic author
don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #3by don » 05.11.2003, 06:13

Howdy Christophe,

I agree, which is why I suggested that "fix" / addition. It would seem that Celestia thinks the base directory is the one from which the script is run, which of course in not right.

So, while someone is fixing it, my suggestion is to hard-code (if necessary) a "scripts" directory just like the existing hard-coded "extras" directory stuff, which allows multiple sub-directories also.

-Don G.


Return to “Bugs”