Commands missing in controls.txt and other things

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Guckytos
Posts: 439
Joined: 01.06.2004
With us: 20 years 7 months
Location: Germany

Commands missing in controls.txt and other things

Post #1by Guckytos » 19.02.2008, 19:05

Hi everyone,

Adirondack, Andy74 and myself are just in the process of localizing the Celestia dokumentation to german. In this process we noted, that there are several commands in controls.txt (the helpfile!) missing. And even some plain errors.

Textfiles/Helpfiles:
Just some examples of what we found missing:
  • Ctrl+G
  • Ctrl+F
  • Ctrl+O
  • Shift+F10
  • F11
  • F12
  • 0 (zero)
Plain wrong was:
W : Toggle asteroid & comet labels

It must be:
W : Toggle asteroid labels
Shift+W : Toggle comet labels

Inconsistent was the use of:
r R: lower or raise texture resolution

Better would be:
R : lower texture resolution
Shift+R raise texture resolution

There is another file "KbdMouseJoyControls.txt" in the main Celestia folder. This file has a somewhat extended description of the commands in it. But that file hasn't been updated in over 2 years and is for Celestia 1.4.0.
So question is: Is anyone thinking about updating it? Should this file also be translated?

Scripts:
Why are the scripts "Demo.cel", "Guide.cel" and "Start.cel" in the Celestia main folder? It would be a lot more consistent to put them into the scripts folder.
Okay, "Start.cel" in the main folder makes some kind of sense, since it is always run on startup of Celestia.
Subsequently one could ask, if it would not also be better to move "Tour Guide ..." from Navigation to a fixed first point in the Scripts browser and make demo there a fixed second point.

Key remapping
Please remove the hardlink of "D" to run the demo script and attach it to "D"ecellerate.

Reason: On english keyboard layout you have the "A", "S" and "Z" key very near to each other, so it is easy to use them for "speed control".
On other keyboard layouts the "Z" key moves a lot further away. So by remapping the "D" key this would be an advantage on international keyboards. And it would even make sense in english:
  • A: Accelerate
  • S: Stop
  • D: Decelerate


Best regards,

Guckytos[/b]

Avatar
Adirondack M
Posts: 528
Joined: 01.03.2004
With us: 20 years 10 months

Re: Commands missing in controls.txt and other things

Post #2by Adirondack » 20.02.2008, 15:31

Guckytos wrote:Why are the scripts "Demo.cel", "Guide.cel" and "Start.cel" in the Celestia main folder? It would be a lot more consistent to put them into the scripts folder.

Christian,
the paths to this files are hard coded in the EXE.
Please take into account that guide.cel is not a script!
IIRC the demo.cel will move to the scripts folder soon.

Adirondack
We all live under the same sky, but we do not have the same horizon. (K. Adenauer)
The horizon of some people is a circle with the radius zero - and they call it their point of view. (A. Einstein)

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 23 years
Location: Seattle, Washington, USA

Post #3by chris » 22.02.2008, 18:50

Thank you for pointing out the problems. We need to sort this out. There should be just a single file describing the keyboard commands. Right now, there are:
controls.txt
CelestiaKeyAssignments.txt
KbdMouseJoyControls.txt

I'm not sure how we ended up with three files, but it's time to clear out the clutter. I think it might be nice to make the keyboard controls file html instead of text.

--Chris

Avatar
Hungry4info
Posts: 1133
Joined: 11.09.2005
With us: 19 years 4 months
Location: Indiana, United States

Post #4by Hungry4info » 23.02.2008, 01:08

chris wrote:I think it might be nice to make the keyboard controls file html instead of text.
I'm not so sure. My honest opinion is that guide files outside of Celestia (in this case, the keyboard controls file) should be in a very simple format. Notepad works well, as it doesn't take much memory to use and is easier, in my opinion, to work with.
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 3 months

Post #5by BobHegwood » 23.02.2008, 14:21

Just my opinion again, but I too would prefer a simple text
document. Less ways for things to get screwed up. :wink:
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Topic author
Guckytos
Posts: 439
Joined: 01.06.2004
With us: 20 years 7 months
Location: Germany

Post #6by Guckytos » 23.02.2008, 14:27

chris wrote:Thank you for pointing out the problems. We need to sort this out. There should be just a single file describing the keyboard commands. Right now, there are:
controls.txt
CelestiaKeyAssignments.txt
KbdMouseJoyControls.txt

I'm not sure how we ended up with three files, but it's time to clear out the clutter. I think it might be nice to make the keyboard controls file html instead of text.

--Chris

You're wellcome, Chris.

CelestiaKeyAssignments.txt Where is this one? At least not in the official released version 1.5.0. And I think we should stay with the controls.txt, that is already linked to "Help/Controls" in the program.

I agree with Hungry4info.

Please DON'T make the keyboard controls file into html! Plain text is a lot better and it shows up nicely when selecting "Help/Controls".

(Well, if Celestia ever gets a complete help file documentation we can think about it again. But at the moment plain text is better.)


Return to “Development”