Graphical interface Lua Universal Tools v4.0-5.0.

All Lua-tools for Celestia in one forum.
Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Graphical interface Lua Universal Tools v4.0-5.0.

Post #1by Croc » 10.09.2016, 20:58

Image

Application Name: Lua Universal Tools v4.0 (2013-2016)
Characteristic: Upgraded graphical interface to Celestia 1.6.1.
Feature: Lua Universal Tools - intuitive interface.
Size Application - 525 Mb
The minimum dimensions of monitor 700 x 900 pixels.
User age 7+
Author: Gennady Lygin (aka Croc), Russia

Sources:
  • Graphical interface - Lua Edu Tools v1.2 beta 9 by Vincent Giangiulio (aka Vincent)
  • Maneuvering tools - CockPits v3D-1, protractor - Angular separation by Joёl (aka Jogad)
  • Lagrange Points Tool v1.1 by Phil Batchelor (aka chuft-captain)
  • Space Lift by Thomas Guilpain

Applications Languages: English (en), Russian (ru).

License agreement:
Use and distribution of this software is authorized according to the license Creative Commons (CC BY-NC-ND) v4.0.
The text of the license: in this place

Preliminary observations.
In 2012, I searched the internet for the grandson of an interactive map of the starry sky. Randomly read about Celestia 1.6.1.
The program is downloaded from the website http://www.celestiaproject.ru/
The program was is Russified, Russian translation by Sergei Leonov (aka Leserg).
The program contains the detailed User Guide Celestia Frank Gregorio (aka fsgregs).
When running Celestia glanced the script "start.cel". All! This is your program!
My 7-year-old grandson of a space simulator also liked but this program understandable to users from 12-14 years old.
The main difficulties:
  • the child is difficult to read such a vast Guide.
  • in the program more than 100 keyboard shortcuts. They are difficult to remember.
  • to find objects "Enter" the system, need to know the names of objects. A child at this age knows only the planets of the Solar System ...

In the Russian version of the Guidebook (Sergey Leonov translation, aka Leserg), there is a section of the GUI Vincent Giangiulio.
Lua Edu Tools has been developed primarily for use in educational institutions (schools, colleges, universities) and was intended to
facilitate the user's work with the program Celestia. Lua Edu Tools allows you to expand and add new functions and commands.
For teachers is a huge opportunity to create entertaining lessons on astronomy and interesting trips as part of the program Celestia.
There is also the option to enable the display of the cockpit, the dashboard mimics the NASA space shuttle with a view through the front window.
This creates a complete environment that you are in a space ship board and gives the user unforgettable experiences when traveling in the universe Celestia.

Description application.
Born the idea, instead of the fixed vertical toolbar, create a horizontal control bar at the bottom of the screen. Now it consists of 7 mobile panels:
  • Space navigation
  • Objects / Names / Orbits and others
  • Coordinates. Options settings
  • Compass & Joystick
  • Space flight. Maneuvers
  • Extra Control Panel
  • Time Machine
Graphic part of the remote is my development. I used the tools of Lua Edu Tools (Vincent Giangiulio) and CockPits (Joёl) + own developments.

The remote control does not includes the following tools:
  • [Set Render] - Set Render Options (see upper right angle of screen)
  • [S.S.Browser] - Solar System Browser (see upper right angle of screen)
  • [Set Addon Vis.] - Set Addon Visibiliti (see upper right angle of screen)
  • [DIA] - Hertzsprung–Russell diagram (see mini-button right edge of the screen)
  • [KP] - Kepler Parameters (see mini-button right edge of the screen)
These tools are unmovable.

New tools:
  • upper right angle of screen:
    • [ViDiBa] - Virtual Digital DataBases
    • [Pult], [1], [2], [3], [4], [5/6], [7] - buttons to enable / disable the remote control in whole or in individual panels.
    • [Help] - button enables / disables the information panel which lists some keyboard commands that do not exist in the GUI.
    • [Lift] - button to enable / disable remote control of a space elevator (by Thomas Guilpain). One can observe the Earth from 36 stations with a height of 1000 km to 36,000 km.
    • [Cockpit] - button enables / disables the panel to select the 2D / 3D-cockpit
    • [Guides] - button that enables / disables the information panel with a list of Guides.
  • right edge of the screen:
    • [LP] - mini-button enables / disables tool Lagrange points by Phil Batchelor (aka chuft-captain)
    • [Ang] - mini-button enables / disables tool Angular separation Joёl (aka Jogad)
On the right edge of the screen placed 34 mini-buttons to activate guidebooks. They are grouped into thematic groups:
  • Star Worlds
  • Solar System
  • Spacecraft
  • Other
Each button guidebooks enables / disables the selected object. Total references to objects -1000.
These tools are unmovable.

Components:
Folder "Adds" contains 34 addon. More See Adds Frank_Gregorio.txt in folder ..lua-applications\doc
Folder "ViDiVa" contains 36 addon for:
  • Discrete virtual database 3100 asteroids.
  • Discrete virtual database 1100 comets.
  • Base Jovian Trojan asteroids 407 by Selden Ball (aka Selden)
  • NEA asteroid base 3840 by Owen McQueen
  • Folder "images_cluster" contains 180 pictures of star clusters
  • Folder "images_galaxy" contains 300 pictures of galaxies
  • Folder "images_nebula" contains 119 pictures of nebulae
  • Folder "images_planet" contains 61 pictures of the planets
  • Folder "images_other" contains 9 pictures of other objects
Note:
All photos from the Internet.
Database in the GUI kit not included. They are installed separately.
In more detail the differences GUI Lua Universal Tools from Lua Edu Tools see viewtopic.php?f=11&t=17418

The list of files in a folder ..\lua-applications\doc:
  • KeyboardCommands.jpg - List of keyboard commands
  • KeyboardCommands.xls - Scheme keyboard commands
  • screenshot_en.jpg - Screenshot Lua Universal Tools (en)
  • screenshot_ru.jpg - Screenshot Lua Universal Tools (ru)
  • Adds_Frank_Gregorio.txt - The list of addons folder "Adds"

Installation of GUI in Celestia 1.6.1:
  • Remove folder ..Celestia\extras\lua_edu_tools-b9 (or an analogous folder).
  • Unpack the archive (outside Celestia).
  • Copy the unpacked Archive to the parent folder Celestia
  • To avoid addon duplication, please remove analogues (see. "Adds" folder), which can be elsewhere Celestia program.
  • Check (change) localization options in config.lua.
  • Run Celestia
Note: It is recommended to create a copies of deleted files for GUI Lua Edu Tools eventual recovery.

Testing the installation:
  • Start Celestia in the window ~ 700 x 900.
    Wait for the end script "Start.cel" (until disappears greeting "Welcome to Celestia!")
    Open your window to full screen.
  • Check in the bottom left corner of the screen the message "speed (3190 km / s)." It shall be red.
    If the color is white, the LUT-4 is not installed correctly!
  • Click button PULT. Check the graphic interface LUT-4 with screenshot.
    If in the top right corner are revealed distortions in geometry, LUT-4 is established wrong!
    Try the again restart Celestia.
  • Check Celestia for the presence of brakes on the Earth's rotation example.
    On panel "Time Machine" increase the speed of rotation ~ 1000x.
    If the Earth rotates smoothly without jerks, launch Celestia was normal.
    If the Earth rotates jerky, try restarting Celestia.
  • If after a the restart the Earth rotates jerks, it is a symptom that the graphical card not powerful enough for this program.
    In this case, alleviate the program, move some databases in the folder "temp".

Reviews.
Please, comments to graphical interface leave in topic, see viewtopic.php?f=11&t=17418

DOWNLOAD (307MiB, zipped)
Last edited by Croc on 14.09.2016, 10:47, edited 6 times in total.
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Deiverson
Posts: 1
Joined: 13.09.2016
With us: 8 years 2 months

Post #2by Deiverson » 13.09.2016, 18:25

Hi,

How can translate interface for my language? (portuguese-brazilian)

Exist localization files?

Regards

Avatar
Alexell M
Site Admin
Posts: 303
Joined: 07.10.2010
Age: 30
With us: 14 years 1 month
Location: Moscow, Russia
Contact:

Post #3by Alexell » 14.09.2016, 10:41

Deiverson,
1. Download zip (see link above)
2. Look for the EN localization files in this folders:
  • Lua-applications\cc_lagrange
  • Lua-applications\cockpits\locale
  • Lua-applications\lua_universal_tools_v2\locale
  • Lua-applications\sepAngles
3. Copy any loalization file and name it short designation of your country, then translate and check.
4. For example, you can watch how to make other localizations.
Admin of celestia.space
PC: Intel Core i7-8700 @ 3.20GHz, SSD, 16 Gb RAM, NVIDIA GeForce GTX 1080, Creative Sound Blaster ZxR. Windows 10 x64.
Phone: iPhone Xs 256 Gb. iOS 14.
Image

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #4by Croc » 20.09.2016, 22:00

Cham wrote:What else do you need to complete Celestia ? All the buttons shown in the LUA Tools are so horrible and cluttering ! (and I'm not even talking about what Croc is showing in his topic. This looks like a joke, sorry Croc !). This is why I designed the LUA Plug-ins, as a reaction against the LUA Tools.

Do you really need a graphical button and arrows just to accelerate time ? Do you really need 200 buttons to toggle on/off things that are easier and faster to do using the keyboard ? All these graphical features/buttons/arrows/sliders are pure madness in Celestia. It's NOT Celestia's "philosophy", in my opinion.

My philosophy - Celestia should be available to schoolboys from 7 years. I have in this release - Age 7+.
For this purpose, convenient Lua Edu Toolse (Lua Universal Tools).

I take this opportunity to thank all the tools developers:
Vincent Giangiulio (aka Vincent)
Martin Charest (aka Cham)
Joёl (aka Jogad)
Phil Batchelor (aka chuft-captain)
by other authors whose names I do not know.
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
gironde M
Posts: 850
Joined: 16.12.2016
Age: 72
With us: 7 years 11 months
Location: Montigny-Les-Metz, France

Post #5by gironde » 16.12.2016, 10:07

This version does not seem completely finished, but beautiful work anyway.
Several errors or omissions, among others:
- TNO buttons: some TNO guides seem empty but in fact you have to change the text color so that the asteroids appear.
- in these guides, each asteroid is visualized in accelerated speed and this acceleration of the time substitutes leaving the guide. To remedy this, we need to add these lines in each lua of the guides (TNOBox.lua, TNO2Box.lua, TNO3Box.lua, TNO4Box.lua):

 line 122               
 Else
        TNOFrame.Visible = false;
       TNOCheck.Text = "";

       Celestia: setrenderflags (actual_renderflags)
       KeplerParamFrame.Visible = false;
- --------------------------------------------------------------------------------------------------

---> --back to real time
---> Celestia: settimescale (1); - return to 1x speed (real time)
---> Local UTCtime = os.date ("! * T"); - retrieves the complete system date
---> Celestia: settime (celestia: utctotdb (UTCtime.year, UTCtime.month, UTCtime.day, UTCtime.hour, UTCtime.min, UTCtime.sec));
- ------------------------------------------------ --------------------------------------------------

                End
            End
        End) ();

Avatar
gironde M
Posts: 850
Joined: 16.12.2016
Age: 72
With us: 7 years 11 months
Location: Montigny-Les-Metz, France

Post #6by gironde » 16.12.2016, 16:23

Lua Universal Tools V4
New findings

My remark on the return to the real time out of the boxes TNO is also valid for:
AmurMarsBox.lua (AA)
AstBelt1Box.lua (Bel)
AstNameBox.lua (AM)
CometsBox.lua (Com)
DamCentBox.lua (Da)
Jupiter2Box.lua (JU)
JupiterBox.lua (JU)
NeptuneBox.lua (Nep)
Saturn2Box.lua (SA)
SaturnBox.lua (SA)
TerrestrialBox.lua (Ter)


- For those who wondered, the gap1Box to gap5Box, are used to install a vertical space between the group of buttons.

- I have not managed to run 'local language' while the programming seems to be the same as in LuaEduTool.
If local language for example fr.lua does not work, infoText_fr.lua works well.

- The instructions for displaying the "5/6" button are in the file :
Lua-applications / cockpits / utils / cockpitsBox.lua (maneuverpanelFrame)

- The "Guides" button displays small explanations in front of the small buttons on the right.
Last edited by gironde on 29.12.2016, 10:01, edited 2 times in total.

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #7by Croc » 21.12.2016, 20:05

gironde wrote:This version does not seem completely finished, but beautiful work anyway.
Several errors or omissions, among others:

gironde, thank you for understanding of the author's ideas. I will try to take into account the constructive comments.
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #8by Croc » 22.12.2016, 21:34

gironde wrote:- I have not managed to run 'local language' while the programming seems to be the same as in LuaEduTool.
If local language for example fr.lua does not work, infoText_fr.lua works well.

gironde, look the annotation are here:

Croc wrote:Applications Languages: English (en), Russian (ru).

gironde, compare files structure:

Image

To make the text was displayed in French, it is necessary to
:
  • Create folder lua_universal_tools_v2\locale\fr
  • Create fr.lua file and place it in a folder lua_universal_tools_v2\locale\fr

    Source text (ru.lua):

    Code: Select all

     .......................................
    ["Show:"] = "Показывать :";
       Atmospheres = "Атмосферу";
       ["Cloud Maps"] = "Облачный покров";
       ["Cloud Shadows"] = "Тени облаков";
       ["Ring Shadows"] = "Тени на кольцах";
       ["Eclipse Shadows"] = "Тени затмений";
       ["Comet Tails"] = "Хвосты комет";   
       ["Night Maps"] = "Свет ночной стороны";
       ["Smooth Lines"] = "Сглаживание";
       ................................

    French translator (fr.lua):

    Code: Select all

     .............................
    ["Show:"] = "Montrer:";
       Atmospheres = "Atmosphères";
       ["Cloud Maps"] = "Cartes des nuages";
       ["Cloud Shadows"] = "Ombres de nuages";
       ["Ring Shadows"] = "Anneau des ombres";
       ["Eclipse Shadows"] = "Eclipse Ombres";
       ["Comet Tails"] = "Comet Tails";   
       ["Night Maps"] = "Cartes de nuit";
       ["Smooth Lines"] = "Lignes douces";
       ..................................
  • Specify the French code in config.lua
    Source text:

    Code: Select all

    -- language = "system_default"
    language = "en"
    -- language = "ru"

    Edited text:

    Code: Select all

    -- language = "system_default"
    language = "fr"
    -- language = "ru"
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019

Avatar
gironde M
Posts: 850
Joined: 16.12.2016
Age: 72
With us: 7 years 11 months
Location: Montigny-Les-Metz, France

Post #9by gironde » 25.12.2016, 18:03

Hello Croc

This is what I did because I had already done it for Lua Edu Tools but nothing does, it does not work.

Code: Select all

["Show:"] = "Montrer :";
    Atmospheres = "Atmosphères";
    ["Cloud Maps"] = "Nuages";
    ["Cloud Shadows"] = "Ombres nuages";
    ["Ring Shadows"] = "Ombres anneaux
    ["Eclipse Shadows"] = "Ombres éclipses";
    ["Comet Tails"] = "Queue de comète";   
    ["Night Maps"] = "Vue de nuit";
    ["Smooth Lines"] = "Lignes douces"; 


Why some terms are between ["...."] and others not?

For the moment, I try to put order in the elements of each guide: Messier, Terrestrial, Objects Jupiter, ... I classify them in alphanumeric order, and I change in yellow the text color of addons that I own and in white, the others. It's quite long!

When I open the Messier guide, for example, I always have stars that appear with a large square pixel; It is necessary to click on 'Star view' of the panel2 so that the stars resume their normal aspect, before clicking on M (Messier) stars are already selected in RenderBox but not necessarily in panel2; There is something happening in the code of Celestia 1.6.1 that escapes Lua Universal Tools Some Celestia methods date from version 1.3.2 and others that have appeared in 1.5 or 1.6. They are either compatible, but I have a doubt!

ps: I use Google Translate to write on the forum and I do not know if the resulting English is correct! I hope so because I can not check.

See you soon

Avatar
Topic author
Croc M
Forum Admin
Posts: 437
Joined: 10.08.2016
With us: 8 years 3 months
Location: Udomlya, Tver region, Russia

Post #10by Croc » 25.12.2016, 19:55

...Message canceled by the author
Creator of the GUI "Lua Universal Tools"
25/V/1947 - 30/III/2019


Return to “Lua-Tools”