A lightweight SDK and mod loader for Company of Heroes Relaunch
CoHModSDK provides a simple foundation for building and distributing native C++ mods for Company of Heroes Relaunch. It takes care of the shared runtime and the mod loading workflow, so getting a mod into the game does not require a lot of manual work on either the author's or the player's side.
The SDK is split into two parts. The runtime and loader are what players install into their game directory. The dev package is what mod authors build against, containing the static library and the public header. Mods built with the SDK are just DLL files that get picked up automatically by the loader at startup.
The project is still evolving meaning the SDK API may change drastically with each update.
Download the latest release from the releases page and follow the installation instructions in the repository. Once the loader is set up, installing a mod is just a matter of dropping a DLL into the mods folder and adding its name to the config file.
The dev package included in each release has everything needed to get started. The developer documentation covers the repository layout, the public SDK API, how to set up the loader for your mod, and known limitations. The solution targets Visual Studio 2022 and builds for x86.
The SDK is source-available under its own license. Mods that only use the public SDK interfaces are not required to adopt that license, so you are free to license your own mod separately. See LICENSE for the full terms.