https://github.com/danielkrupinski/Osiris
  
  
    Cross-platform game hack for Counter-Strike 2 with Panorama-based GUI. 
    https://github.com/danielkrupinski/Osiris
  
cheat counter-strike counter-strike-2 cpp cpp20 cs2 dll dll-injection game-hacking internal linux osiris reverse-engineering source-engine source2 source2-engine windows
        Last synced: 7 months ago 
        JSON representation
    
Cross-platform game hack for Counter-Strike 2 with Panorama-based GUI.
- Host: GitHub
- URL: https://github.com/danielkrupinski/Osiris
- Owner: danielkrupinski
- License: mit
- Created: 2018-09-28T17:35:52.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-31T19:40:13.000Z (7 months ago)
- Last Synced: 2025-04-05T09:11:23.414Z (7 months ago)
- Topics: cheat, counter-strike, counter-strike-2, cpp, cpp20, cs2, dll, dll-injection, game-hacking, internal, linux, osiris, reverse-engineering, source-engine, source2, source2-engine, windows
- Language: C++
- Homepage:
- Size: 121 MB
- Stars: 3,458
- Watchers: 151
- Forks: 973
- Open Issues: 210
- 
            Metadata Files:
            - Readme: README.md
- License: LICENSE
 
Awesome Lists containing this project
README
          # Osiris
[](https://github.com/danielkrupinski/Osiris/actions/workflows/windows.yml)
[](https://github.com/danielkrupinski/Osiris/actions/workflows/linux.yml)
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
* 11 April 2025
    * Added "Enemy / Ally" color mode for Player Model Glow
    
    
* 7 April 2025
    * Added weapon model glow preview
    
* 31 March 2025
    * Moved model glow preview to the left side of the model glow tab
    
* 29 March 2025
    * Moved "Unload" button to the right side of the tab bar
* 27 March 2025
    * Added an option to restore default settings in the active config file
    
* 06 March 2025
    * Settings are now automatically saved to the config file (`default.cfg`) inside `%appdata%\OsirisCS2\configs` directory on Windows and `$HOME/OsirisCS2/configs` on Linux. `default.cfg` file is loaded automatically when starting Osiris.
## 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++ 17 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](https://opensource.org/licenses/mit-license.php) - see the [LICENSE](https://github.com/danielkrupinski/Osiris/blob/master/LICENSE) file for details.