Open 3D Engine (O3DE) is an open-source, real-time, multi-platform 3D engine that enables developers and content creators to build AAA games, cinema-quality 3D worlds, and high-fidelity simulations without any fees or commercial obligations.
For information about contributing to Open 3D Engine, visit https://o3de.org/docs/contributing/
This repository uses Git LFS for storing large binary files.
Verify you have Git LFS installed by running the following command to print the version number.
git lfs --version
If Git LFS is not installed, download and run the installer from: https://git-lfs.github.com/.
git lfs install
git clone https://github.com/o3de/o3de.git
set LY_WWISE_INSTALL_PATH=<path to Wwise version>
set LY_WWISE_INSTALL_PATH="C:\Program Files (x86)\Audiokinetic\Wwise 2021.1.1.7601"
Create a writable folder to cache 3rd Party dependencies. You can also use this to store other redistributable SDKs.
Install the following redistributables to the following:
set LY_WWISE_INSTALL_PATH=<path to Wwise>
Configure the source into a solution using this command line, replacing
cmake -B <your build path> -S <your source path> -G "Visual Studio 16" -DLY_3RDPARTY_PATH=<3rdParty cache path> -DLY_UNITY_BUILD=ON -DLY_PROJECTS=AutomatedTesting
Note: Do not use trailing slashes for the <3rdParty cache path>
Alternatively, you can do this through the CMake GUI:
cmake-gui.exe
LY_3RDPARTY_PATH
and LY_PROJECTS
The configuration of the solution is complete. To build the Editor and AssetProcessor to binaries, run this command inside your repo:
cmake --build <your build path> --target AutomatedTesting.GameLauncher AssetProcessor Editor --config profile -- /m
This will compile after some time and binaries will be available in the build path you've specified
scripts\o3de.bat register --this-engine
o3de create-project
command.
<Repo path>\scripts\o3de.bat create-project --project-path <your new project path>
<Repo path>\scripts\o3de.bat register --project-path <New project path>
Once you're ready to build the project, run the same set of commands to configure and build:
cmake -B <your project build path> -S <your new project source path> -G "Visual Studio 16" -DLY_3RDPARTY_PATH=<3rdParty cache path>
cmake --build <your project build path> --target <New Project Name>.GameLauncher --config profile -- /m
For a tutorial on project configuration, see Creating Projects Using the Command Line in the documentation.
For terms please see the LICENSE*.TXT file at the root of this distribution.