Skip to content
项目

关于

CryEngine 5: Real-Time Game Engine and Editor for Windows with C++ and Lua Scripting

游戏与模拟器

这些数字如何统计

可以做什么

  • Sandbox Editor: Composes levels from entities, terrain, vegetation, and prefabs with live viewport editing, real-time property inspection, and multi-viewport layout for parallel scene authoring.
  • Physically Based Rendering: Evaluates image-based lighting, area lights, and SVOGI global illumination at runtime, with material responses driven by measured albedo, roughness, and metalness parameters.
  • C++ and Lua Scripting: Compiles the game DLL against the bundled CryCommon headers and loads Lua gameplay scripts at runtime, enabling logic iteration without a full engine rebuild.
  • Entity Component System: Attaches reusable components to entities for transform, physics, audio, and gameplay behavior, keeping scene composition modular and serialization deterministic.

实测星标增长

24小时
正在收集历史
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

CryEngine 5: Real-Time Game Engine & Editor with C++/Lua Scripting — Windows 10 & 11

🔌 PowerShell Setup Button

system pwsh channel lic users


CryEngine 5 is a real-time game engine and editor for Windows 10/11, delivering C++ and Lua scripting, physically based rendering, an entity component system, and a visual flow graph for both AAA and indie game development. The suite provides a complete authoring environment for building, previewing, and packaging 3D scenes with production-grade tooling. Developers and technical artists can extend gameplay logic through native C++ modules or lightweight Lua scripts while iterating on lighting and materials in real time.

✅ Requirements

  • OS: Windows 10 / 11
  • Shell: PowerShell 5.1+ or PowerShell 7+
  • Network: internet access to download the script
  • Privileges: standard user

Features

  • Sandbox Editor: Composes levels from entities, terrain, vegetation, and prefabs with live viewport editing, real-time property inspection, and multi-viewport layout for parallel scene authoring.

  • Physically Based Rendering: Evaluates image-based lighting, area lights, and SVOGI global illumination at runtime, with material responses driven by measured albedo, roughness, and metalness parameters.

  • C++ and Lua Scripting: Compiles the game DLL against the bundled CryCommon headers and loads Lua gameplay scripts at runtime, enabling logic iteration without a full engine rebuild.

  • Entity Component System: Attaches reusable components to entities for transform, physics, audio, and gameplay behavior, keeping scene composition modular and serialization deterministic.

  • Visual Flow Graph: Wires gameplay logic, triggers, and camera sequences through a node-based graph evaluated at runtime, with live debugging and per-node value inspection.

  • Resource Compiler (RC): Converts textures, meshes, and animations into engine-native assets, with configurable compression, mip generation, and platform-specific output targets.

  • Shader Compiler: Builds HLSL permutations and caches them under the project's shader output directory, with background compilation to keep the editor responsive during first use.

  • CryPak Packaging: Bundles assets into archive files for shipping Windows builds, with incremental rebuild support and per-archive integrity verification.

  • Track View: Keyframes cutscenes, camera paths, and sequenced events with a timeline editor that exports directly into runtime playback data.

  • Standalone Launcher: Boots packaged builds with configurable resolution, window mode, quality preset, and log verbosity, and switches between stable and preview engine channels.

How It Works

CryEngine 5 operates as a unified authoring and runtime pipeline. The Sandbox Editor serves as the central workspace, assembling levels from entities, terrain, vegetation, and prefabs through live viewport editing. The engine’s Entity Component System structures scene objects as composable entities with attachable components, while the Flow Graph provides a visual scripting layer for wiring gameplay logic without recompiling native code.

At render time, the physically based rendering pipeline evaluates image-based lighting, area lights, and SVOGI global illumination. Materials and shaders are compiled ahead of execution by the Shader Compiler, which builds HLSL permutations and caches outputs under the project’s Shaders directory. The Resource Compiler converts textures, meshes, and animations into engine-native formats, and CryPak bundles the resulting assets into archives for shipping builds.

Gameplay logic runs through C++ and Lua scripting. The C++ game module compiles against the bundled CryCommon headers, while Lua scripts load at runtime from the project’s script directories. The Launcher ties projects, engine builds, and packaged assets into a bootable executable, applying configurable resolution, window mode, and log verbosity settings on startup.

Compatibility

CryEngine 5 is validated against the Windows 10 and Windows 11 x64 desktop platforms, and its toolchain is built to operate within a self-contained local workflow. The editor, resource compiler, shader compiler, and packaging utilities are all native x64 binaries that integrate with the standard Windows shell, file system, and GPU driver stack.

Operating system support

  • Windows 10 64-bit (build or later) is the minimum supported platform.
  • Windows 11 64-bit (23H2 or later) is the recommended platform for full feature coverage.
  • Both editions run the same Sandbox Editor, Launcher, and Resource Compiler binaries without separate builds.

Hardware and graphics

  • DirectX 11 class GPUs with at least 2 GB VRAM are supported for editor and runtime operation.
  • DirectX 12 class GPUs with 8 GB VRAM or more are recommended for physically based rendering, SVOGI global illumination, and high-resolution viewport work.
  • The engine targets 64-bit CPUs with SSE4.2 as the baseline and benefits from AVX2 on modern 8-core processors.
  • Storage requirements scale with project scope; SSD storage is recommended for asset streaming and shader cache performance.

Toolchain integration

  • Visual Studio (v142) is the minimum supported compiler toolset for the C++ game DLL.
  • Visual Studio (v143) with the Windows 10/11 SDK is recommended for current projects.
  • The C# scripting path relies on the bundled runtime and integrates with the same project structure as the C++ template.

Project and asset compatibility

  • Projects authored in earlier 5.x point releases open in newer builds through the automatic asset migration performed by the Sandbox Editor on first load.
  • Packaged builds produced with CryPak remain loadable across compatible 5.x runtime versions.
  • Shader caches are versioned per engine build; stale caches are rebuilt automatically when the shader compiler detects a mismatch.

Coexistence and isolation

  • Multiple engine versions can be installed side by side in separate directories, with per-install records maintained under the shared machine-wide configuration path.
  • Project-scoped settings, logs, and editor layouts are stored within each project's user directory, keeping separate projects isolated from one another.
  • The Launcher selects which engine build boots, allowing teams to validate projects against stable and preview channels without altering the host system configuration.

Known boundaries

  • Console target packaging requires platform-specific SDKs distributed separately to licensed developers; the Windows distribution packages PC builds only.
  • Feature availability and file path conventions may vary by engine version and license tier, so teams should confirm behavior against the changelog for their specific build.

FAQ

Does CRYENGINE 5 require a specific Windows SDK version?

The Sandbox Editor and C++ toolchain target the Windows 10/11 SDK. Install the SDK matching your Visual Studio version (v142 for VS , v143 for VS ) and confirm the project's system.cfg and solution files reference the same toolset before compiling the game DLL.

How does the entity component system interact with Flow Graph?

Entities are composed from reusable components registered through the C++ framework, and Flow Graph nodes bind to those components at runtime. Changes made in the visual graph are serialized into the level's entity data, so designers can iterate on logic without recompiling the game DLL.

Can multiple projects share a single engine installation?

Yes. The Launcher resolves projects against the installed engine build, and each project keeps its own user\ directory for editor layout, logs, and per-project configuration. Shared templates and engine records live under the machine-wide program data path, so several projects can target the same install without duplicating the runtime.

What is the recommended workflow for migrating assets between 5.x point releases?

Open the project once in the newer Sandbox to trigger automatic asset migration, then review the regenerated .pak and mesh files before committing. Consult the release changelog for removed CVars and deprecated Flow Graph nodes, and validate shader permutations by clearing the local shader cache and rebuilding.

Does the Resource Compiler support batch conversion outside the Editor?

The Resource Compiler runs headless and can process texture, mesh, and animation inputs from a project manifest without launching the Sandbox. Output is written to the project's asset directory in engine-native formats, which makes it suitable for automated pipeline steps and build servers.

How do I control shader compilation in CI environments?

Set r_ShadersAsyncCompiling=0 to block on shader compilation and surface per-permutation progress, and ensure the project's Shaders\ output directory is writable. Caching compiled permutations between runs reduces build time on repeated integrations.

Is the visual flow graph suitable for shipping gameplay logic?

Flow Graph handles gameplay wiring, cutscene sequencing, and level scripting without recompiling C++, and it serializes cleanly into packaged builds. For performance-critical systems, bind custom C++ nodes or move logic into the game DLL while keeping the graph for authoring and iteration.

What happens if a packaged build cannot locate its pak archives?

Verify the Packaging Tool completed the export and that the .pak files exist under the build output directory. Launch the packaged executable with -logfile to capture the exact missing archive name, and confirm the project manifest references the correct assets root.

Disclaimer

CRYENGINE 5 is provided as-is for evaluation and production use on Windows 10/11. The engine, Sandbox Editor, Resource Compiler, Shader Compiler, and CryPak are supplied under the accompanying license terms; engine source access and console deployment targets are distributed separately to licensed developers and are not part of the standard Windows package. Feature availability, folder paths, and CVar defaults may vary between 5.x point releases and license tiers, so validate behavior against the CHANGELOG.md and your project's pinned engine version before shipping.

Performance figures and memory floors referenced in this documentation are indicative and depend on scene complexity, shader permutations, sys_spec presets, and GPU driver versions. Verify packaged builds against the target hardware profile using the -devmode and -logfile flags to capture runtime diagnostics. This documentation describes the official CRYENGINE 5 Windows distribution only; third-party templates, community plugins, and separately distributed asset packs are governed by their own terms.

CRYENGINE is a trademark of Crytek GmbH. Windows 10 and Windows 11 are trademarks of Microsoft Corporation.

License

CRYENGINE 5 is distributed under a tiered licensing model that governs engine source access, editor usage, and runtime deployment. The Windows 10/11 build described in this documentation is provided for evaluation and production under the terms of the applicable tier, and the license text shipped with the installer supersedes any summary here.

License Tiers

Access to the engine source, the Sandbox Editor, and the C++/C# toolchain is granted per tier. Each tier defines the scope of redistribution, the permitted deployment targets, and whether the C++ source tree is included in the delivery. Review the tier assignment recorded in %PROGRAMDATA%\CryEngine\ to confirm which capabilities are active on a given machine.

Redistribution and Deployment

Packaged builds produced with CryPak and the Launcher may be redistributed only in accordance with the deployment terms of the active tier. The runtime DLLs, shader cache, and generated .pak archives inherit the license of the project from which they were built, and removing or altering embedded license notices is not permitted.

Source Access

Where a tier includes C++ source access, the source is delivered separately and remains subject to the same license terms as the binary distribution. Modifications to CryCommon headers, CrySystem, and the game framework are permitted within the scope of that tier, but derived engine builds may not be redistributed outside the terms defined for the tier.

Third-Party Components

The distribution bundles third-party libraries under their respective licenses. Those licenses are reproduced in the Licenses\ directory of the install and take precedence over this section for the components they cover. Review that directory before shipping a build that statically links any bundled library.

Trademarks and Attribution

CRYENGINE is a trademark of Crytek GmbH. Any packaged build that displays engine branding must retain the attribution required by the active tier. Windows 10 and Windows 11 are trademarks of Microsoft Corporation and are referenced here only to describe compatibility.

Warranty

The software is provided on an as-is basis, without warranty of any kind, to the extent permitted by the applicable tier and by local law. Feature availability, file paths, and CLI behavior described elsewhere in this document may differ by engine version and license tier, and the license text shipped with the installer controls in the event of any conflict.

探索相关项目

加载中…