Stormworks Mod Loader / Develop

Develop

The loader's source is on GitHub to read, and so is the source of many mods, though not all of them. Mods are built against the SWML SDK, which is published in batched releases: changes accumulate and ship together, and a release states when it includes a new SDK version.

What's in the repository

core/
swml_core.dll: logging, crash capture, shared hooks, mod loading
launcher/
swml.exe: mod list, settings, starting the game
sdk/
Headers and helpers mods are built with
linux/
Installer and wrapper for Proton

Building it

You need Visual Studio Build Tools 2022, CMake and git.

cmake -B build -A x64 -DSWML_GAME_DATA_DIR=path/to/headers
cmake --build build --config Release

To write a mod, start with sdk/README.md in the swml repository.