- Home
- Technical Documentation
- Mod loading pipeline
Mod loading pipeline
What the Play button does, step by step.
Game not running#
- Overlays of switched-on mods are laid over
rom(only folders whose name matches a switched-on DLL). - Steam is asked to start
stormworks64.exe(thesteam://link). If that link is not registered, the executable in the configured game folder is started directly. - Once the process exists, the launcher waits for the load delay (default 5 s).
- The version patch is loaded, then every switched-on DLL, through the injector.
- When the game ends, overlays are restored.
Game already running#
Switches are applied in place: mods the launcher loaded earlier and that are now off are unloaded (swinject unload --mod), switched-on mods are loaded, and mods already in the game are skipped.
Inside a mod DLL#
See Mod lifecycle: target check, LoadLibraryW, in-process check of SHA-256 and signatures, then sw_mod_start().