Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ jobs:
run: CXX=${{ matrix.compiler }} cmake -Werror=dev -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} -DENABLE_TESTS="unit;functional" -DCMAKE_COMPILE_WARNING_AS_ERROR=1 -DCMAKE_UNITY_BUILD=ON -DCMAKE_UNITY_BUILD_BATCH_SIZE=4 -B build
- name: build source
run: cmake --build build --target Osiris -j $(nproc --all)
- name: upload artifact
uses: actions/upload-artifact@v4
with:
name: Osiris_${{ matrix.os }}_cmake_${{ matrix.compiler }}_${{ matrix.configuration }}
path: build/Source/libOsiris.so
- name: build unit tests
run: cmake --build build --target UnitTests -j $(nproc --all)
- name: build functional tests
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
- name: Build
shell: cmd
run: msbuild Osiris.sln /p:Platform=x64 /p:Configuration=${{ matrix.configuration }} ${{ env.toolset }}
- name: upload artifact
uses: actions/upload-artifact@v4
with:
name: Osiris_${{ matrix.os }}_msbuild_${{ matrix.toolset }}_${{ matrix.configuration }}
path: x64\${{ matrix.configuration }}\Osiris.dll

cmake:
runs-on: ${{ matrix.os }}
Expand All @@ -37,6 +42,11 @@ jobs:
run: cmake -Werror=dev -D ENABLE_TESTS="unit;functional" -D CMAKE_COMPILE_WARNING_AS_ERROR=1 -A x64 ${{ env.toolset }} -B build
- name: build source
run: cmake --build build --target Osiris --config ${{ matrix.configuration }}
- name: upload artifact
uses: actions/upload-artifact@v4
with:
name: Osiris_${{ matrix.os }}_cmake_${{ matrix.toolset }}_${{ matrix.configuration }}
path: build\Source\${{ matrix.configuration }}\Osiris.dll
- name: build unit tests
run: cmake --build build --target UnitTests --config ${{ matrix.configuration }}
- name: build functional tests
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ Cross-platform (Windows, Linux) game hack for **Counter-Strike 2** with GUI and
* Exceptions are not used
* No external dependencies

## Downloading pre-built binaries

* [Latest MSVC build for Windows](https://nightly.link/danielkrupinski/Osiris/workflows/windows/master/Osiris_windows-2025_msbuild_MSVC_Release.zip)
* [Latest g++ build for Linux](https://nightly.link/danielkrupinski/Osiris/workflows/linux/master/Osiris_ubuntu-24.04_cmake_g%2B%2B-15_Release.zip)

## Compiling

### Prerequisites
Expand Down Expand Up @@ -70,17 +75,17 @@ Build:

After following these steps you should receive **libOsiris.so** file in **build/Source/** directory.

### Loading / Injecting into game process
## Loading / Injecting into game process

#### Windows
### 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
### Linux

You can simply run the following script in the directory containing **libOsiris.so**:

Expand Down