Skip to content

TheNormalnij/HadesCoopMod

Repository files navigation

Hades coop mod

Build

Using CMake for Windows x64

cmake -A x64 . -B build_msvc
cmake --build build_msvc --config Release

Binary 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.

How to load the mod from the repository folder

Follow these steps if you want to develop the mod and save changes in git:

  1. Create the folder Hades/Hades/Content/ModModules/TN_CoopMod/
  2. Copy the repository into Hades/Hades/Content/ModModules/TN_CoopMod/dev
  3. Create Hades/Hades/Content/ModModules/TN_CoopMod/init.lua with the following content:
ModRequire "dev/game/scripts/init.lua"
  1. Create Hades/Hades/Content/ModModules/TN_CoopMod/meta.sjson with the following content:
{
	Name = "Coop mod"
	Library = "dev/bin/HadesCoopGame.dll"
	Author = "Uladzislau 'TheNormalnij' Nikalayevich"
}
  1. Now you can make changes directly in the repository and load them in the game.