Free and open-source game hack for Counter-Strike 2. Compatible with the latest Steam version of the game. Cross-platform - available for Windows and Linux systems.
- 6 December 2023 - Visualize Weapon Reload Sound function was added to Sound
- 2 December 2023 - Visualize Weapon Scope Sound function was added to Sound
- 23 November 2023 - Visualize Bomb Defuse function was added to Sound
- 16 November 2023 - Visualize Bomb Beep function was added to Sound
- 8 November 2023 - Adjusted positions of sound visualizations to be closer to the sound source
- C++ runtime library (CRT) is not used in release builds
- No heap memory allocations
- No static imports in release build on Windows
- No threads are created
- Exceptions are not used
- No external dependencies
- Microsoft Visual Studio 2022 with Desktop development with C++ workload
- CMake 3.24 or newer
- g++ 11 or newer or clang++ 15 or newer
Open Osiris.sln in Visual Studio 2022, set build configuration to Release | x64. Press Build solution and you should receive Osiris.dll file.
Configure with CMake:
cmake -DCMAKE_BUILD_TYPE=Release -B build
Build:
cmake --build build -j $(nproc --all)
After following these steps you should receive libOsiris.so file in build/Source/ directory.
You need a DLL injector to inject (load) Osiris.dll into game process.
Counter-Strike 2 blocks LoadLibrary injection method, so you have to use a manual mapping (aka reflective DLL injection) injector.
Xenos and Extreme Injector are known to be detected by VAC.
You can simply run the following script in the directory containing libOsiris.so:
sudo gdb -batch-silent -p $(pidof cs2) -ex "call (void*)dlopen(\"$PWD/libOsiris.so\", 2)"
However, this injection method might be detected by VAC as gdb is visible under TracerPid in /proc/$(pidof cs2)/status
for the duration of the injection.
Copyright (c) 2018-2023 Daniel Krupiński
This project is licensed under the MIT License - see the LICENSE file for details.