explaingit

danielkrupinski/osiris

Analysis updated 2026-07-03

3,718C++Audience · developerComplexity · 4/5LicenseSetup · hard

TLDR

An open-source Counter-Strike 2 game modification that adds visual overlays, player info, bomb timers, hostage outlines, and FOV adjustments, by injecting into the game process on Windows and Linux under MIT license.

Mindmap

mindmap
  root((Osiris))
    Features
      Player info overlay
      Bomb plant timer
      Hostage outlines
      FOV adjustment
    Platform support
      Windows DLL
      Linux shared lib
    Build tools
      Visual Studio 2022
      g++ or clang++
    Design choices
      No stdlib in release
      No heap allocation
      No external deps
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Add a bomb-plant timer overlay to CS2 showing whether there is time to plant before the round ends.

USE CASE 2

Study low-level C++ techniques such as no-stdlib builds, no heap allocation, and DLL injection in a real working project.

USE CASE 3

Display customizable hostage outlines and player information using the game's native Panorama UI system from injected code.

What is it built with?

C++Visual Studio 2022g++clang++

How does it compare?

danielkrupinski/osirislovebabbar/codehelp-dsa-busted-seriesstrawberrymusicplayer/strawberry
Stars3,7183,7193,719
LanguageC++C++C++
Setup difficultyhardeasyeasy
Complexity4/52/52/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires a DLL injector to load into CS2, some popular injectors are detected by Valve's anti-cheat system.

Open-source under MIT, use, modify, and distribute freely as long as you keep the copyright notice.

In plain English

Osiris is a game modification for Counter-Strike 2 that runs on both Windows and Linux. It injects itself into the running game process as a library file and adds extra visual information and features on top of the game's existing interface. The project uses the game's own built-in UI system (called Panorama) to render its overlay, which means the added elements look consistent with the game's native appearance. The features described in recent changelog entries include player information displayed in the game world, a bomb plant timer that shows whether a bomb can be planted before the round ends, hostage outline highlighting with customizable colors, a visualization for weapon inaccuracy when not scoping, and viewmodel field-of-view adjustment. Building the project requires a C++ compiler. On Windows that means Visual Studio 2022, and on Linux it works with recent versions of g++ or clang++. The build produces a DLL file on Windows or a shared library file on Linux. Getting it into the game requires a DLL injector on Windows, though the README notes that some popular injectors are detected by Valve's anti-cheat system. On Linux, injection is done with a debugger command, which also carries a detection risk. The technical notes section of the README describes deliberate low-level design choices: no standard C++ runtime library in release builds, no heap memory allocation, no external dependencies, and no background threads. These are common optimizations in this type of software to minimize the tool's footprint inside the game process. The project is open-source under the MIT license.

Copy-paste prompts

Prompt 1
I'm building the Osiris CS2 mod with Visual Studio 2022. Walk me through the build steps to produce the DLL and how to inject it into a running CS2 process on Windows.
Prompt 2
Using Osiris as a reference, show me how to render a custom text label using the CS2 Panorama UI system from injected C++ code.
Prompt 3
Explain the no-heap-allocation design in Osiris, why avoid standard malloc and new in a DLL injection context, and what techniques replace dynamic allocation?

Frequently asked questions

What is osiris?

An open-source Counter-Strike 2 game modification that adds visual overlays, player info, bomb timers, hostage outlines, and FOV adjustments, by injecting into the game process on Windows and Linux under MIT license.

What language is osiris written in?

Mainly C++. The stack also includes C++, Visual Studio 2022, g++.

What license does osiris use?

Open-source under MIT, use, modify, and distribute freely as long as you keep the copyright notice.

How hard is osiris to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is osiris for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub danielkrupinski on gitmyhub

Verify against the repo before relying on details.