Skip to content

A tool that converts Unreal Engine Blueprints to C++ code

License

Notifications You must be signed in to change notification settings

Krowe-moh/BlueprintToCpp

Repository files navigation

Blueprint To C++

A tool that converts Unreal Engine Blueprints to C++ code.

Powered by CUE4Parse

Installation

  1. Clone the repository:

    git clone https://github.com/Krowe-moh/BlueprintToCpp.git --recursive
  2. Open the solution file in your IDE and build the project.

Usage

  1. Run the executable to automatically create a config.json file.

  2. 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"
    }
  3. Run Main.exe to start the conversion.

AES

If you want to set up AES, run the program once (with the config set), then modify the aes.json file that is created.

Output

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.

Issues

If you encounter any issues, please submit them here.

Contributing

Feel free to submit issues, fork the repository, and create pull requests for any improvements.