From 7a631a75b663d10f22b17f54ba6e7402479c7216 Mon Sep 17 00:00:00 2001 From: meanwhile131 <51206659+meanwhile131@users.noreply.github.com> Date: Sun, 23 Nov 2025 20:05:08 +0400 Subject: [PATCH 1/2] Add uploading build artifacts from Github Actions --- .github/workflows/linux.yml | 5 +++++ .github/workflows/windows.yml | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 5dadab2fdc7..94082357ffd 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 189cfd2b344..9a24bf2ce5a 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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 }} @@ -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 From 7d203408ebc0fae8df5fc465abd08979e1bc6d27 Mon Sep 17 00:00:00 2001 From: meanwhile131 <51206659+meanwhile131@users.noreply.github.com> Date: Sun, 23 Nov 2025 20:58:28 +0400 Subject: [PATCH 2/2] Add download links for pre-built binaries to README.md --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7fdcfd919c1..4485fea382d 100644 --- a/README.md +++ b/README.md @@ -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 @@ -70,9 +75,9 @@ 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. @@ -80,7 +85,7 @@ Counter-Strike 2 blocks LoadLibrary injection method, so you have to use a manua **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**: