Environment Setup for Blueprint Modding

Ensure that you have installed UE4SS on to MiABSFD. See the main page for more information.

Experimental. I'm still currently figuring out how to do this. The steps currently laid out here is what I've gathered after trial and error, but they might not be perfect.

Requirements

  • Unreal Engine 4.25.4
  • Visual Studio

Setup

  1. Launch Unreal Engine 4.25.4
  2. Create a project with the following settings:
    • Games Category
    • Blank
    • C++, No Starter Content (other settings don't matter)
    • Name: MadeInAbyss
  3. Change the following settings:
    • Edit > Editor Preferences > Experimental > Allow ChunkID Assignments (Tick)
    • Edit > Project Settings > Packaging > Generate Chunks (Tick)
    • File > Package Project > Build Configuration > Shipping
  4. Inside the Content Browser, create the following folder: Mods/<mod name>_P
  5. Inside Mods/<mod name>_P, create a Blueprint Class > Actor named ModActor.
  6. Create an event Event BeginPlay onto the blueprint. (It is inside this Event BeginPlay of ModActor that gets called by UE4SS as soon as it gets loaded onto the game.)
  7. Close Unreal Engine.
  8. Go to your project's folder. Rename MadeInAbyss.uproject to MadeInAbyss-BSFD.uproject
  9. Delete MadeInAbyss.sln
  10. Right-click on MadeInAbyss-BSFD.uproject > Generate Visual Studio project files
  11. Open MadeInAbyss-BSFD.sln using Visual Studio
  12. Rename Game/MadeInAbyss-BSFD to Game/MadeInAbyss

You should be okay. I think.

Exporting your mod

  1. To all files, right click, then Asset Actions > Assign to Chunk...
  2. Chose one number between 30 and 300, then set the chunk numbers to that. Ensure that this pak chunk number is not being used by another mod!
  3. File > Package Project > Windows (64-bit)
  4. Wait for it to compile. It will take longer the first time, but much faster afterwards.
  5. The resulting paks will be available in MadeInAbyss-BSFD/WindowsNoEditor/MadeInAbyss-BSFD/Content/Paks
  6. Search for the pak with the number that you chose. That contains your mod.
  7. Rename the pak file to <mod name>_P.pak

Installing your mod

Insert the pak file onto steamapps/common/MadeInAbyss-BSFD/MadeInAbyss-BSFD/Content/Paks/LogicMods. Your mod should now be loaded by UE4SS when you run the game!