Git Product home page Git Product logo

osiris's Introduction

Osiris

Windows Linux

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

  • 20 May 2024 - Implemented showing players' active weapon ammo

Player active weapon ammo

  • 15 May 2024 - Implemented showing an icon on player blinded by a flashbang

Player blinded by flashbang

  • 14 May 2024 - Implemented showing an icon on player rescuing a hostage

Player rescuing hostage

  • 7 May 2024 - Implemented showing an icon on player picking up a hostage

Player picking up hostage

  • 6 May 2024 - Adjusted "Bomb timer" appearance. Implemented showing an icon on player defusing the bomb

Player defusing icon

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.

osiris's People

Contributors

3ld4d avatar agshaidun avatar blackmasterlord avatar bruhmoment21 avatar claudiuhks avatar daisuki333 avatar danielkrupinski avatar deboogerxyz avatar fizz3 avatar hayden959 avatar heyter avatar khajiitos avatar m3351an avatar mdilai avatar mkot2 avatar molendus1001 avatar mr-nv avatar nep-timeline avatar nereuxofficial avatar noteffex avatar oly-uk avatar playday3008 avatar rmccrystal avatar sambrashaw avatar skysmind avatar speedplane2248 avatar sunzbody avatar wirekuro avatar zergo0 avatar zfumo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.