A tool that converts Unreal Engine Blueprints to C++ code.
Powered by CUE4Parse
-
Clone the repository:
git clone https://github.com/Krowe-moh/BlueprintToCpp.git --recursive
-
Open the solution file in your IDE and build the project.
-
Run the executable to automatically create a
config.json
file. -
Configure the options in
config.json
:Example:
{ "PakFolderPath": "C:/Program Files/Epic Games/Fortnite/FortniteGame/Content/Paks", "BlueprintPath": "FortniteGame/Content/Athena/Cosmetics/Sprays/BP_SprayDecal.uasset", "OodlePath": "C:/Users/krowe/BlueprintToCpp/oo2core_5_win64.dll", "UsmapPath": "C:/Users/krowe/BlueprintToCpp/++Fortnite+Release-33.20-CL-39082670-Windows_oo.usmap", "Version": "GAME_UE5_LATEST" }
-
Run
Main.exe
to start the conversion.
If you want to set up AES, run the program once (with the config set), then modify the aes.json
file that is created.
The decompiled blueprint will be output as Output.cpp
.
Note: Currently, this tool does not support all expressions, and the C++ output may not be 100% accurate.
If you encounter any issues, please submit them here.
Feel free to submit issues, fork the repository, and create pull requests for any improvements.