- Home
- Developer Documentation
- Development environment setup
Development environment setup
Get the SDK and the tools to build a mod DLL.
Requirements#
- Windows x64
- CMake 3.20 or newer
- Visual Studio 2022 with the Desktop development with C++ workload
- Git
Get the SDK#
git clone https://github.com/DeltaV-Modding/DeltaLoader
cd DeltaLoaderThe repository contains the headers (include/sw), their sources (src), a CMakeLists.txt, the build script build_mod.ps1 and one example mod.
Build the example#
powershell -ExecutionPolicy Bypass -File build_mod.ps1The script configures CMake for Visual Studio 2022 (x64) and builds. The DLL lands in build-mod\Release\. Parameters: -Config (default Release) and -Generator.
Run it#
Install DeltaLauncher, put your DLL in <Stormworks>\mods\<Name>\ and switch it on. Use single-player and back up your save. See Logging and debugging.