d52cfe55a4
Some checks are pending
clang-tidy / run (Debug) (push) Waiting to run
clang-tidy / run (Release) (push) Waiting to run
Linux / build (clang++-15, Debug, ubuntu-22.04) (push) Waiting to run
Linux / build (clang++-15, Release, ubuntu-22.04) (push) Waiting to run
Linux / build (clang++-16, Debug, ubuntu-24.04) (push) Waiting to run
Linux / build (clang++-16, Release, ubuntu-24.04) (push) Waiting to run
Linux / build (clang++-17, Debug, ubuntu-24.04) (push) Waiting to run
Linux / build (clang++-17, Release, ubuntu-24.04) (push) Waiting to run
Linux / build (clang++-18, Debug, ubuntu-24.04) (push) Waiting to run
Linux / build (clang++-18, Release, ubuntu-24.04) (push) Waiting to run
Linux / build (clang++-19, Debug, ubuntu-24.04) (push) Waiting to run
Linux / build (clang++-19, Release, ubuntu-24.04) (push) Waiting to run
Linux / build (g++-11, Debug, ubuntu-22.04) (push) Waiting to run
Linux / build (g++-11, Release, ubuntu-22.04) (push) Waiting to run
Linux / build (g++-12, Debug, ubuntu-22.04) (push) Waiting to run
Linux / build (g++-12, Release, ubuntu-22.04) (push) Waiting to run
Linux / build (g++-13, Debug, ubuntu-24.04) (push) Waiting to run
Linux / build (g++-13, Release, ubuntu-24.04) (push) Waiting to run
Linux / build (g++-14, Debug, ubuntu-24.04) (push) Waiting to run
Linux / build (g++-14, Release, ubuntu-24.04) (push) Waiting to run
Windows / msbuild (Debug, ClangCL) (push) Waiting to run
Windows / msbuild (Debug, MSVC) (push) Waiting to run
Windows / msbuild (Release, ClangCL) (push) Waiting to run
Windows / msbuild (Release, MSVC) (push) Waiting to run
Windows / cmake (Debug, ClangCL) (push) Waiting to run
Windows / cmake (Debug, MSVC) (push) Waiting to run
Windows / cmake (Release, ClangCL) (push) Waiting to run
Windows / cmake (Release, MSVC) (push) Waiting to run
|
||
---|---|---|
.github/workflows | ||
Source | ||
Tests | ||
.clang-tidy | ||
.gitattributes | ||
.gitignore | ||
CMakeLists.txt | ||
LICENSE | ||
Osiris.sln | ||
README.md |
Osiris
Cross-platform (Windows, Linux) game hack for Counter-Strike 2 with GUI and rendering based on game's Panorama UI. Compatible with the latest game update on Steam.
What's new
-
18 September 2024
- Added outline glow for defuse kits on the ground nearby
-
16 September 2024
- Different grenades have now different outline glow color
-
14 September 2024
- Added weapon outline glow feature showing weapons on the ground nearby
-
12 September 2024
- Player outline glow now includes all objects attached to the player (carried hostage, bomb defuse multimeter etc.)
-
5 September 2024
- "Player Info In World" and "Outline Glow" have now separate tabs in settings GUI
Technical features
- 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
Compiling
Prerequisites
Windows
- Microsoft Visual Studio 2022 with Desktop development with C++ workload
Linux
- CMake 3.24 or newer
- g++ 11 or newer or clang++ 15 or newer
Compiling from source
Windows
Open Osiris.sln in Visual Studio 2022, set build configuration to Release | x64. Press Build solution and you should receive Osiris.dll file.
Linux
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.
Loading / Injecting into game process
Windows
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.
Linux
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.
License
Copyright (c) 2018-2024 Daniel Krupiński
This project is licensed under the MIT License - see the LICENSE file for details.