The Injection Toolkit
Framework

A Rust framework for game modification. Safe game modding, powered by Rust.

20k+
Lines of Rust
13
Workspace Crates
6
Core ITK Libraries
v1.0
Current Release

What is the Injection Toolkit?

ITK is a Rust framework for building game modifications that follow a "safe game modding, powered by Rust" philosophy.

Minimal Injection

Only the thinnest possible layer runs inside the target process — Vulkan hooks and state extraction. No complex logic, no blocking operations, under 5 MB memory budget. If the injector crashes, the game continues.

External Processing

All heavy work — video decoding, audio playback, network sync — runs in separate daemon and overlay processes. They communicate with the injector through IPC (named pipes / Unix sockets) and shared memory with lock-free seqlock synchronization.

Crash Isolation

Each component runs in its own process. An overlay crash doesn't affect the game. A daemon failure doesn't crash the injector. Components detect failures and degrade gracefully, serving stale state rather than crashing.

Six Foundational Crates

The building blocks that power every ITK project.

P

itk-protocol

20-byte header + bitcode payload

Wire protocol with magic bytes, versioning, CRC32 validation, and 20 message types. All payloads validated for NaN, bounds, and size limits.

S

itk-shmem

Cross-platform shared memory

Seqlock-based single-writer/multi-reader shared memory with triple-buffered frame transport. Supports up to 4K resolution at 256 MB per frame buffer.

I

itk-ipc

Named pipes & Unix sockets

Trait-based IPC abstraction with platform-specific implementations. Windows named pipes and Linux Unix domain sockets behind a unified API.

C

itk-sync

Clock sync & drift correction

NTP-lite clock synchronization with reference-point playback model. Drift corrector with gentle (0.98-1.02x), moderate (0.95-1.05x), and hard-seek zones.

V

itk-video

ffmpeg-next video pipeline

Decode pipeline with D3D11VA hardware acceleration, software fallback, RGBA scaling, and YouTube URL extraction via yt-dlp integration.

N

itk-net

P2P networking via laminar

Session management with UDP broadcast discovery, leader election, reliable command transport, and unreliable state sync at 500ms intervals.

NMS Cockpit Video

Built With

Rust Vulkan (ash) wgpu egui ffmpeg-next laminar tokio retour bitcode cpal OpenVR naga

Powered by Agentic Tooling

CI/CD, issue triage, code review, and project management are driven by AI agents and CLI tools from the Template Repo orchestration platform.

automation-cli

Unified CI/CD runner for formatting, linting, testing, and building — the same pipeline locally and in containers.

github-agents-cli

Issue and PR monitoring with automatic agent dispatch. AI agents pick up work, write code, and open pull requests autonomously.

git-guard & gh-validator

Safety rails for agentic workflows — sudo-gated destructive Git operations and automatic secret masking on every CLI call.