Skip to content

Instantly share code, notes, and snippets.

View JanSeliv's full-sized avatar
💭
💬

Yevhenii Selivanov JanSeliv

💭
💬
View GitHub Profile
@geordiemhall
geordiemhall / MyCheatManager.cpp
Last active March 15, 2024 10:27
UE4 Cheat manager with meta-based cheat names
#include "MyCheatManager.h"
#include "Engine/Console.h"
#include "AssetRegistryModule.h"
DEFINE_LOG_CATEGORY(LogCheatManager);
void UMyCheatManager::AddWorkers(int32 NumWorkers)
{
UE_LOG(LogCheatManager, Log, TEXT("%s: AddWorkers: %i"), *GetName(), NumWorkers);
}
@intinig
intinig / .clang-format
Last active January 13, 2024 11:56
.clang-format for UE4
---
Language: Cpp
AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
@hillin
hillin / integrating-fastbuild-with-ue4.md
Last active May 27, 2024 07:21
Integrating FASTBuild with Unreal Engine 4

FASTBuild is an open-source distributed build system, which could be a free alternative to Incredibuild. Unreal Engine 4 (UE4) does not support FASTBuild natively, however it's not hard to integrate it manually.

Integrate FASTBuild with UE4

Install FASTBuild

We assume you already have the full UE4 source code. First you'll need to grab the latest FASTBuild tools from here. We use v0.93 Windows x64 version in this tutorial. Download it and extract all the files. Here you have several choices:

  • Place the files under any folder which could be found with your system's PATH environment variable. To see where these folders are, run the PATH command in a command prompt window;
  • Place the files under the Engine\Binaries\ThirdParty\FASTBuild folder of your engine. This is the recommended place;
  • Place the files anywhere you like. This is not recommended because you'll have to hard-code the path later.