Page 1 of 1

Another bug Celestia-qt4

Posted: 20.04.2010, 10:59
by Boux
On Vista 64, when started for the first time (but this may also happen when launching a new, freshly built executable) celestia-qt4 does not write or reset properly the registry entries.
The entries are inexistant or incomplete but the more important thing is that it may write fancy values such as a "Size 0 0" for the window and define "-1 -1" values for "Pos" (position).
Task manager shows celestia as loading and running but of course nothing shows up on the screen (zero-sized, off-screen window).

The correct default entries are the following:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Celestia Development Team]

[HKEY_CURRENT_USER\Software\Celestia Development Team\Celestia]
"RenderFlags"=dword:001dd597
"OrbitMask"=dword:00000005
"LabelMode"=dword:00000000
"AmbientLightLevel"="0"
"StarStyle"=dword:00000001
"RenderPath"=dword:00000008
"TextureResolution"="2"

[HKEY_CURRENT_USER\Software\Celestia Development Team\Celestia\MainWindow]
"Size"="@Size(800 600)"
"Pos"="@Point(296 560)"
"State"=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,00,28,00,\
  00,00,00,00,00,00,ff,00,00,00,00,00,00,00,0c,00,fd,00,00,00,00,00,00,00,02,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,57,00,00,00,00,00,04,00,00,00,\
  fc,00,02,00,00,00,00,00,00,00,02,00,fb,00,00,00,00,00,00,00,26,00,00,00,63,\
  00,00,00,65,00,00,00,6c,00,00,00,65,00,00,00,73,00,00,00,74,00,00,00,69,00,\
  00,00,61,00,00,00,2d,00,00,00,74,00,00,00,6f,00,00,00,6f,00,00,00,6c,00,00,\
  00,73,00,00,00,2d,00,00,00,64,00,00,00,6f,00,00,00,63,00,00,00,6b,00,02,00,\
  00,00,00,00,05,00,30,00,00,00,00,00,00,00,3b,00,00,00,00,00,01,00,57,00,00,\
  00,00,00,03,00,ea,00,fb,00,00,00,00,00,00,00,18,00,00,00,65,00,00,00,76,00,\
  00,00,65,00,00,00,6e,00,00,00,74,00,00,00,2d,00,00,00,66,00,00,00,69,00,00,\
  00,6e,00,00,00,64,00,00,00,65,00,00,00,72,00,00,00,00,00,00,00,00,00,38,00,\
  00,00,00,00,04,00,00,00,00,00,00,00,01,00,12,00,00,00,ff,00,ff,00,ff,00,00,\
  00,00,00,00,00,01,00,00,00,00,00,01,00,00,00,00,00,00,00,04,00,00,00,fc,00,\
  02,00,00,00,00,00,00,00,01,00,fb,00,00,00,00,00,00,00,14,00,00,00,69,00,00,\
  00,6e,00,00,00,66,00,00,00,6f,00,00,00,2d,00,00,00,70,00,00,00,61,00,00,00,\
  6e,00,00,00,65,00,00,00,6c,00,00,00,00,00,00,00,00,00,38,00,00,00,00,00,04,\
  00,00,00,00,00,00,00,00,00,5d,00,00,00,ff,00,ff,00,ff,00,00,00,00,00,07,00,\
  80,00,00,00,00,00,04,00,00,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,04,\
  00,00,00,00,00,00,00,08,00,00,00,00,00,00,00,08,00,fc,00,00,00,00,00,00,00,\
  01,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,03,00,00,00,00,00,00,00,18,\
  00,00,00,74,00,00,00,69,00,00,00,6d,00,00,00,65,00,00,00,2d,00,00,00,74,00,\
  00,00,6f,00,00,00,6f,00,00,00,6c,00,00,00,62,00,00,00,61,00,00,00,72,00,01,\
  00,00,00,00,00,00,00,00,00,ff,00,ff,00,ff,00,ff,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,1c,00,00,00,67,00,00,00,75,00,00,\
  00,69,00,00,00,64,00,00,00,65,00,00,00,73,00,00,00,2d,00,00,00,74,00,00,00,\
  6f,00,00,00,6f,00,00,00,6c,00,00,00,62,00,00,00,61,00,00,00,72,00,01,00,00,\
  00,00,00,01,00,04,00,00,00,00,00,01,00,25,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,20,00,00,00,62,00,00,00,6f,00,00,00,6f,\
  00,00,00,6b,00,00,00,6d,00,00,00,61,00,00,00,72,00,00,00,6b,00,00,00,2d,00,\
  00,00,74,00,00,00,6f,00,00,00,6f,00,00,00,6c,00,00,00,62,00,00,00,61,00,00,\
  00,72,00,01,00,00,00,00,00,02,00,29,00,00,00,00,00,00,00,3b,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,29,00
"Fullscreen"="true"

[HKEY_CURRENT_USER\Software\Celestia Development Team\Celestia\Preferences]
"SyncTime"="true"
"FramesVisible"="true"
"ActiveFrameVisible"="false"
"LocalTime"="true"
"TimeZoneName"="Paris, Madrid"



If you run into the same problem, just copy-paste the above into an empty text file, save it as "whatever.reg", double-click on the new file's icon and write it to your registry.
When celestia-qt4 is running, you may have to change back the time zone from "Paris, Marid" to yours.

By the way, the reg code above also works for Seven64.

As a sidenote, celestia-qt4 does not write its reg entries at the same location as regular celestia. There is not conflict between their respective entries.