cmake -A x64 . -B build_msvc
cmake --build build_msvc --config ReleaseBinary files are located in the bin folder.
Using Visual Studio GUI
You need to install cmake in the Visual Studio Installer to build the project.
Open the project in VS and click Build -> Build All in the top menu.
Check bin folder for HadesCoopGame.dll.
Follow these steps if you want to develop the mod and save changes in git:
- Create the folder
Hades/Hades/Content/ModModules/TN_CoopMod/ - Copy the repository into
Hades/Hades/Content/ModModules/TN_CoopMod/dev - Create
Hades/Hades/Content/ModModules/TN_CoopMod/init.luawith the following content:
ModRequire "dev/game/scripts/init.lua"- Create
Hades/Hades/Content/ModModules/TN_CoopMod/meta.sjsonwith the following content:
{
Name = "Coop mod"
Library = "dev/bin/HadesCoopGame.dll"
Author = "Uladzislau 'TheNormalnij' Nikalayevich"
}
- Now you can make changes directly in the repository and load them in the game.