If you want to use the substance plugin on your custom build of Unreal Engine 4 follow these steps:
Step 1: Download the plugin from Allegorithmic's Github Here (Just download the folder that says "Substance")
Step 2: Create a project in the engine that you desire to have the plugin.
Step 3: Go to that project folder and create a folder called "lugins"
Step 4: Put the whole Substance folder that you downloaded into the Plugins folder
Step 5: Delete the binaries inside the Substance folder. (YourProjectName/Plugins/Substance/Binaries/YourPlatform)
Step 6: Build the project or just reopen the project in UE4
- If you reopen the project it will say that some binaries are missing and if you would like to rebuild them. Just hit yes
Step 7: Move the Substance folder that's in your project folder to your engine folder.
Now you have the substance plugin in your own Engine and you don't have to wait 20-40mins to compile a whole engine
If you have any questions or are confused on any steps just quote me on this thread