- Clone this repo
git submodule update --init --recursive
(Make sure your Github account is linked to your Epic Games account for UE source access.)
When pulling new changes, run step 2
again
There are a few choices for opening the project in Visual Studio, you can either generate Visual Studio 2022 project files OR Install the CMake Plugin for Visual Studio (I found this much easier).
If you want to use the first, following the UE4SS Documentation open a command prompt in the cloned directory and run cmake -S . -G "Visual Studio 17 2022" -B Output
then open Output/HLCPPTutorial.sln
Alternatively, if you have CLion, just open the folder
If you're mod seems to cause a crash on load for no reason, try building UE4SS youreself and using those dlls instead of the official release. Also personally I find debug builds to be quite unstable so also try building in release mode (make sure to rebuild ue4ss aswell)
The output files of mods will be in Output/Mods/<ModName>/Debug
or Output/Mods/<ModName>/Release
Then in the Mods
folder of your UE4SS install create a folder with the same name as the mod, and then inside, an empty file called enabled.txt
and a folder called dlls
, place the built files in the dlls
folder.