GDCEF Godot4 0.12.0-godot4 2D Tools 4.2 Community
Submitted by user Lecrapouille; MIT; 2024-09-24
gdCEF a web viewer plugin, for Godot 4.2, 4.3, Linux and Windows, based on Chromium Embedded Framework (CEF) for your 2D and 3D applications. Note: For Godot 3 users: gdCEF is no longer maintained but still available: https://godotengine.org/asset-library/asset/1426
To install gdCEF inside your project, you have three methods:
- The first method, is not to use the Godot Asset Library, but to download directly the pre-built gdCEF artifacts on GitHub: https://github.com/Lecrapouille/gdcef/releases for Linux and Windows and only for x64 architectures. Untar and place the cef_artifacts folder on your project. Drawbacks of this method are: you cannot choose neither the CEF and Godot version, neither can choose the folder name holding gdCEF artifacts. Since the GitHub continuous integration runs on x64 architectures, you cannot download yet other archis.
- The second method, since gdCEF version 0.12.0, is to download the pre-built gdCEF artifacts on GitHub using the Python3 build script of gdCEF (addons/gdcef/build.py). From the Godot Asset Library, download gdCEF code source. You can remove the C++ code source of gdCEF, since not needed. Edit the script to set the variable GITHUB_GDCEF_RELEASE to the desired release version available on https://github.com/Lecrapouille/gdcef/releases. Run the script, it will download the artifacts and prepare the demos. Drawbacks of this method are the same as the first method: you cannot customize gdCEF.
- The third and recommended method is to compile gdCEF code source. From the Godot Asset Library, download gdCEF code source and run the Python3 build script of gdCEF (addons/gdcef/build.py). The script is already preconfigured, but the first section of the script is let to the user to edit for its own customization. The script will download and compile godot-cpp and prebuilt CEF before compiling gdCEF itself (~5 min of compilation). The drawback of this method is that you need to install some common tools: Python3 with some plugins, Scons CMake, Makefile or Ninja.
If you have issue installing or using gdCEF, ask your questions on our Discord https://discord.gg/EckEwy7S5U
View files Download Submit an issue Recent Edits