RWMP Dev Wiki

Compiling

  1. Clone the repo into RimWorld's Mods folder (otherwise reference paths will need fixing)
  2. Run the Multiplayer.csproj file found in the source folder with an IDE and you can just press start to compile it.
  3. Now you can just copy the About, Assemblies, Defs and Languages folders into another folder in the mods folder.

Trouble Compiling?

Ionic.Zip.Reduced might cause problems for some. The proper Nuget package is here.

Debugging

  1. Make a backup of the original file steamapps/common/Rimworld/MonoBleedingEdge/EmbedRuntime/mono-2.0-bdwgc.dll
  2. Replace it with a patched version from https://github.com/0xd4d/dnSpy/releases - at time of writing, Rimworld needed 2019.2.17, which was only available on https://github.com/0xd4d/dnSpy/issues/1392#issuecomment-602254675 - mirror: https://cdn.discordapp.com/attachments/308960765908615170/691385539710025789/mono-2.0-bdwgc.dll from the Harmony Discord Server
  3. Download dnSpy
  4. Inside dnSpy, choose Debug -> Start Debugging... -> Debug Engine=Unity, Executable=RimWorldWin64.exe and let it start the game in debug mode.
  5. Load Assembly-CSharp.dll before and set breakpoints to your liking