CryptikLemur.RimObs.Wire 1.1.9

dotnet add package CryptikLemur.RimObs.Wire --version 1.1.9
                    
NuGet\Install-Package CryptikLemur.RimObs.Wire -Version 1.1.9
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CryptikLemur.RimObs.Wire" Version="1.1.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CryptikLemur.RimObs.Wire" Version="1.1.9" />
                    
Directory.Packages.props
<PackageReference Include="CryptikLemur.RimObs.Wire" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CryptikLemur.RimObs.Wire --version 1.1.9
                    
#r "nuget: CryptikLemur.RimObs.Wire, 1.1.9"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CryptikLemur.RimObs.Wire@1.1.9
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CryptikLemur.RimObs.Wire&version=1.1.9
                    
Install as a Cake Addin
#tool nuget:?package=CryptikLemur.RimObs.Wire&version=1.1.9
                    
Install as a Cake Tool

RimWorld Observability Collector

Maintainability Rating Reliability Rating

A telemetry framework for RimWorld mods. Mod authors register named sections and metrics; an out-of-process collector aggregates the data, serves a dashboard, and can export diagnostic bundles.

Full documentation -->

For mod authors

Add the library:

dotnet add package CryptikLemur.RimObs.Library

Instrument a tick:

using Cryptiklemur.RimObs.Api;

private static readonly SectionHandle Tick =
    Obs.Profile.RegisterSection("tick");

public void Tick() {
    using (Obs.Profile.Measure(Tick)) {
        // ... your work ...
    }
}

Section names are auto-prefixed with your mod's packageId. See the Quickstart for the full path from zero to dashboard.

For players

Subscribe to the Workshop item your other mods declare as a dependency. The collector launches automatically with the game and opens the dashboard in your browser. See Installation.

Documentation

For contributors

The repo deliberately spans three .NET targets because each piece runs in a different host.

Project Target Where it runs
RimObs.Library/ net48 Inside RimWorld's Unity Mono. Patches game code via Harmony.
RimObs.Wire/ netstandard2.0 Shared MessagePack types. Linked from both Library and Collector.
RimObs.Collector/ net10.0 Standalone daemon + CLI. Single self-contained binary per RID.
RimObs.Dashboard/ Svelte 5 + Vite Static SPA. Built once, embedded as resource in Collector.exe.

Test projects (RimObs.Library.Tests/, RimObs.Collector.Tests/) are net8.0 xUnit hosts; they exercise the library logic that is RimWorld-independent.

Root layout

The non-obvious neighbors at the repo root exist because this is both a RimWorld mod and a multi-project .NET solution:

  • About/ -- RimWorld mod metadata (About.xml, Preview.png, loadFolders.xml).
  • Assemblies/ -- RimWorld's deploy directory. RimObs.Library builds straight here.
  • RimObs.sln -- single solution so Rider/VS resolve RimObs.Wire from both net48 and net10.0 consumers.
  • Makefile + make.ps1 -- see make build, make test, make publish-collector.
  • docs/wiki/ -- source for the wiki. Edit here, not on the wiki site; CI mirrors on push to main.

Quick start

make build              # SPA + full solution
make test               # xUnit suites
make watch              # collector hot-reload at :17654
make publish-collector  # self-contained binaries for win/linux/osx

Conventions

  • Hot-path discipline for RimObs.Library is mandatory: zero allocation, exception-safe, no locks, no Task/async on the steady path. See Hot-path discipline for the full rules.
  • Wire protocol is MessagePack with per-batch schema_version. Default port 17654 for HTTP and UDP in standalone mode; ephemeral when launched from the game. See Wire protocol.

License

MIT. See LICENSE.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on CryptikLemur.RimObs.Wire:

Package Downloads
CryptikLemur.RimObs.Library

RimWorld Observability mod-side library. Register named sections and metrics; the out-of-process collector aggregates the data and serves a dashboard. Net48 / RimWorld 1.6+.

Cosmere.Lightweave

A composable IMGUI framework for RimWorld mods. Provides nodes, layout, theming, typography, navigation, and adapters that bridge nodes into vanilla surfaces (gizmos, ITabs, MainTabs, FloatMenuOptions, ChoiceLetters, tooltips).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.9 137 5/30/2026
1.1.8 118 5/30/2026
1.1.7 117 5/30/2026
1.1.6 123 5/30/2026
1.1.5 121 5/30/2026
1.1.4 116 5/30/2026
1.1.3 124 5/30/2026
1.1.2 114 5/29/2026
1.1.1 132 5/29/2026
1.1.0 123 5/29/2026
1.0.2 133 5/27/2026
1.0.1 165 5/27/2026
0.1.0-local.1 69 5/27/2026