Are there the source codes for the binaries included in UE4?

“Asking for a friend”.

Since UE4 source is in C++, it is possible (at least to attempt) to build it natively for other CPU architectures. But it seems there are binaries included and used in the engine that are already built for x86 and interfere when trying to build and/or run it on another arch. Namely, our attempt to build the engine was stopped by the “UnrealBuildTool.exe” file included in it. Now, I’m not the guy who was building it so I cannot provide any specific technical details, but the issue is quite obvious anyways: the source includes an x86 executable (or maybe several executables even), and we’re trying to build it for an architecture other than x86, so there’s the issue.

Is it possible to get the sources not only for the engine itself but also for the included binaries to attempt a full build of the engine for another CPU arch?

When you sign up for Unreal Engine, you can link your GitHub account with the EpicGames organization, and then you can git clone git@github.com:EpicGames/UnrealEngine and build it for any supported platform.

The pre-built binaries are supplied for convenience – for the initial/simple use case, using pre-built binaries is much easier than setting up a full build from scratch.

Currently, there are only ARM and x64 targets that work, because no other CPU architecture comes with a matching system architecture that supports enough powerful graphics hardware to run the engine, but it might be that, at some point, RISC-V might catch up?

1 Like