quick_start_v2 - ryzom/ryzomcore GitHub Wiki
title: Quick Start v2 Notes description: published: true date: 2023-03-16T22:57:27.834Z tags: editor: markdown dateCreated: 2022-02-22T00:53:37.946Z
Python scripts to replace the bat scripts.
Additionally:
- A python script to generate bat or sh scripts as shortcuts into the quickstart.
- A prepared configure bat and sh script that calls into the quickstart as a shortcut.
- Detect all Visual Studio build environments on Windows
- Detect all 3ds Max installations and SDKs on Windows, and match with appropriate Visual Studio versions
- Prepare x86 and x64 Docker images based on SteamRT for static Linux client builds, plus native Ubuntu 18 and 20 LTS server builds
- Detect if Docker is installed
- Setup Docker images on Windows and Linux
- Detect all GCC pipelines (w/ basic check if dev dependencies are installed) in Docker images
- (Optional) Install all build dependencies natively on Linux (supported distributions only)
- Detect all GCC pipelines (w/ idem dependency check) natively on Linux
- (Optional) Detect all GCC pipelines (w/ idem dependency check) on remote SSH hosts (for macOS / darling builds)
- (Optional) Detect all MinGW pipelines in Docker images
- Generate bat or sh scripts to setup all CMake projects, and scripts to build all CMake projects
- Rewrite setup scripts for web
- Generate bat or sh scripts to setup web
- Docker-based alternative for development web server (for Linux target)
- The tools and samples targets are configured with one Qt: the first folder of
Toolchain/Native/Qtinconfig_default.json(qt6,qt5,qt4) that the externals have, andWITH_QT5andWITH_QT6follow that folder. With the 2026q4 externals that is Qt 6.12, externals without Qt 6 give Qt 5.15; the dev client and dev server keepToolchain/Native/GameQt(qt5,qt4,qt6). The tools target also turns on the NeL tools, the Ryzom tools and assimp; the NeL Material Editor and the other Qt tools (crash_report,message_box_qt,words_dic_qt,tile_edit_qt, the object viewer widget,georges_editor_qt) are built when the tools have Qt 5 or Qt 6. - A tree configured with another Qt folder than the configuration now gives its target (another Qt version, or the same version in other externals) is emptied and configured anew by the configure step (
configure_targets.py, run by_configure.batand_upgrade.bat), which says so; the build scripts do not touch the Qt of a tree. -
.nel/path_config.batsetsRC_QT_PLUGIN_DIRto the plugins of the Qt of the tools target, and the terminals setQT_PLUGIN_PATHto it. -
cmd_tools.batstarts in.nel\toolsof the root, with the tools build, the externals and that Qt onPATH: the Qt tools start there by their name, nothing is copied, andnl_material_editorfinds the project of each file it opens by going up to the folder that holds.nel. -
tool/quick_start/check_tools.py, run from the tools terminal with the Python of the externals (--debugfor the Debug build andcmd_tools_debug.bat): the tools target has one Qt, the one the configuration chooses (a program, a module or a folder ofQT_PLUGIN_PATHof another Qt fails), its configured tree buildsnl_material_editor, and the terminal finds every module the Qt tools load at run time (the Qt libraries and their platform, style, image format and, with Qt 6, TLS plugins, the NeL drivers the editor loads by name), resolved from their import tables the way the Windows loader searches, without starting them. Exit code 1 when a check fails. - The tools package (
redist\nel_tools_win_x64.bat) carriesnl_material_editor.exe, the OpenGL 3 driver and Qt'splatforms\qoffscreen.dll(the editor opens every model through a child process of itself on the offscreen platform), and the runtime of the Qt the tools tree was built with (with Qt 6:Qt6Core,Qt6Gui,Qt6Widgets,Qt6Network, the style and the TLS backend that Qt has). It checks that Qt before it copies anything. - With Qt 5 and a multi-configuration generator,
CMAKE_AUTOGEN_BETTER_GRAPH_MULTI_CONFIGis on, so that the configuration built second runs moc again after a header changed.
How to run the editor from the quick start is on Quick Start for Windows (Run the tools), and how an agent drives it through the nel_mcp of .mcp.json on Material Editor Control Endpoint.
- Static nel_report build (include static Qt in externals package)