Install Open 3D Engine (O3DE) with GitHub Developer Branch

Publié le: 18 novembre 2023
sur la chaîne: rzDmyth
565
7

Revisiting how you can set up (install) Open 3D Engine (O3DE) with GitHub and pull the Developer branch. The Developer branch receives the most updates and features but is also the most unstable (error-prone). If you are uncomfortable with it, try another branch (like the main or stability), or even the released version.

NOTE1: I have highlighted the installation and project creation with PowerShell only (client command line).

NOTE2: If you decide to create and build your custom projects using the O3DE Project Manager you need to manually install CMake (VS CMake is not recognized inside the Project Manager).

NOTE3: This video was made with the following commit: https://github.com/mythrz/o3de/commit...

I -What you need is:
Visual Studio Community
C++ modules from VS Installer
CMake modules from VS Installer
Git module from VS Installer
Deactivate CMake automated configuration (prevent Ninja build-system from starting automatically)
GitHub account and fork the O3DE repository

II - Steps to reproduce (Engine):
Create a folder called "O3DE_Files"; a subfolder called "o3de-packages"; and a subfolder called "Projects"
Clone your fork repository inside the O3DE_Files
Get the Python Runtime (PS, C:\O3DE_Files\o3de):
python\get_python.bat
Create VS project for O3DE. Source Engine. (C:\O3DE_Files\o3de):
cmake -B build/windows -S . -G "Visual Studio 17" -DLY_3RDPARTY_PATH=C:\O3DE_Files\o3de-packages
Build the source engine (C:\O3DE_Files\o3de):
cmake --build build/windows --target Editor --config profile -- -m
Register the engine:
scripts\o3de.bat register --this-engine
Update o3de_manifest.json
"default_projects_folder": "C:/O3DE_Files/Projects",
"default_third_party_folder": "C:/O3DE_Files/o3de-packages",

III - Steps to reproduce (e.g. Project092):
Create or generate the files for a new project (PS, C:\O3DE_Files\o3de)
scripts\o3de.bat create-project --project-path C:\O3DE_Files\Projects\Project092
Create a VS Project (C:\O3DE_Files\Projects\Project092)
cmake -B build/windows -S . -G "Visual Studio 17" -DLY_3RDPARTY_PATH=C:\O3DE_Files\o3de-packages
Build the VS project (C:\O3DE_Files\Projects\Project092)
cmake --build build/windows --target Project092.GameLauncher Editor --config profile -- -m

IV - How to open O3DE or Project092 editors (DX12 or VULKAN):
O3DE (default is dx12):
C:\O3DE_Files\o3de\build\windows\bin\profile\Editor.exe
Project092 (default is dx12):
C:\O3DE_Files\Projects\Project092\build\windows\bin\profile\Editor.exe
If you wish to run with a different Render Hardware Interface (RHI) like Vulkan. Open a command line and run (..\profile):
.\Editor.exe -rhi=vulkan


V - NOTE: There is an alternative to III when creating your projects. You need to manually install CMake and build the project from the Open 3D Engine Projects Manager.

For your consideration, here are some of the tools:
https://o3de.org/
https://github.com/o3de/o3de
https://git-lfs.com/
https://visualstudio.microsoft.com/vs...
https://cmake.org/ (this is only needed if you decide to create and compile the projects from the O3DE Project Manager. See III and V)

Here are some of the official tutorials:
https://learn.microsoft.com/en-us/cpp...
https://development--o3deorg.netlify....
https://development--o3deorg.netlify....
https://docs.o3de.org/docs/welcome-gu...
https://development--o3deorg.netlify....


Consider watching their official video:
‪@Open3DEngine‬
   • Setting Up O3DE from GitHub  

Soundtracks:
Just Breathing - NEFFEX ‪@neffexmusic‬

Good for Nothing Safety by Twin Musicom is licensed under a Creative Commons Attribution 4.0 licence. https://creativecommons.org/licenses/...
Artist: http://www.twinmusicom.org/

Play Dead - NEFFEX ‪@neffexmusic‬

Timecodes
0:00 - Intro
0:32 - GitHub. Fork the O3DE repository
0:56 - Tools needed with VS
1:30 - Git lfs (tool)
2:10 - CMake: "Never run configure step automatically"
2:31 - Folder hierarchy (path to clone)
2:46 - Clone your repository (O3DE fork)
3:39 - Python Runtime
3:55 - Create VS project for O3DE. Source Engine
4:18 - Build the Source Engine
4:36 - Register the Engine
4:54 - Update O3DE Manifest
5:50 - Generate new a project (Project092)
6:04 - Create VS project for Project092
6:21 - Build the Project092
6:35 - Open the Editor.exe
6:50 - Be patient. Let everything process!
7:01 - Check if all processes/jobs are complete
7:25 - Consider the best branch for your needs
7:40 - gl & hf


Do not send any attachments. For any copyright infringement or dispute please contact razord.myth@protonmail.com

#o3de #open3dengine #gameengine #cpp #programming #github


Sur cette page du site, vous pouvez voir la vidéo en ligne Install Open 3D Engine (O3DE) with GitHub Developer Branch durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur rzDmyth 18 novembre 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 565 fois et il a aimé 7 téléspectateurs. Bon visionnage!