Repository navigation
Mounting Assemblies
quipsol edited this page Nov 2, 2026
·
2 revisions
Load the games C# assembly .dll together with your mods'.
This is required for addons to work.
MoDot loads mounted assemblies first, then your mods. This way references to sts2 resolve to the mounted dll. The files stay unlocked!
Assemblies can be mounted in the editor under Project Settings -> General -> Editor -> Mounted Assemblies. Make sure advanced settingsare shown. You can also directly write the paths into the override.cfg file under the [editor] section.
mounted_assemblies/paths=PackedStringArray("C:/.../data_sts2_windows_x86_64/sts2.dll")
MoDot also supports mounting assemblies via the command line. Use --mount-assembly followed by the assemblies you want to mount.
MoDot.exe --path "C:/project/path" --editor \
--mount-assembly "C:/.../data_sts2_windows_x86_64/sts2.dll" \
--mount-assembly "C:/Libs/OtherMod.dll"
This wiki is still under construction, thank you for your patience