krpctools#
krpctools is a Python package of command line tools for developing services and client libraries, and for testing them against the game. Install it with pip:
pip install krpctools
Its version matches the kRPC release it comes from. krpc-servicedefs, krpc-testserver and
krpc-conformance run on Linux and Windows, and need the
.NET 10 runtime. Every tool takes
--help.
Tools#
Tool |
Purpose |
Described in |
|---|---|---|
|
Generates the service definitions, a JSON file, from a service’s assemblies. |
|
|
Generates the stubs of a service for the clients that need them. |
|
|
Generates the API reference pages of a service. |
|
|
Runs a kRPC server without the game, for testing a client. |
|
|
Runs the conformance tests against a client library. |
|
|
Installs kRPC and the test add-on into KSP, and runs the game. |