Skip to content
프로젝트

소개

C++로 작성한 Counter-Strike 2 SDK/기반 코드입니다.

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+3
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

cs2-sdk

EDUCATIONAL PURPOSES ONLY

What's this?

Counter-Strike 2 SDK written in C++ to aid your development. This SDK has been written as simplified as possible and kept as close as possible to Source 2 code supporting both DirectX11 and Vulkan graphical APIs. I'll keep the project updated if I have time, project's features can be seen in the picture below.

What's different from v1?

Now supports both Windows and Linux, main base logic has been refactored. I've gotten rid of the 'Inventory Changer' and skins altogether since I don't have the time to maintain them anymore, v1 can be found here and won't receive any updates from now on.

Injection

(⚠️ This also applies for v1.)
(⚠️ Manual mapping will break unloading.)

Windows

  • ✅ LoadLibrary - Works as expected.
  • ⚠️ Manual map - /Zc:threadSafeInit- flag is required. C/C++ -> Command Line -> Additional Options.

Linux

  • ✅ dlopen - Works as expected.

Detection ❗

(⚠️ This also applies for v1.)

The base should be DETECTED since the base uses generic approaches such as trampoline hooking. Hence the detection I recommend just seeing how stuff is done/works to try to implement it in your own project. Be creative!

Building

Windows

  • Open cs2-sdk.sln with Visual Studio 2022 and Build Solution or Ctrl+Shift+B. Select the Release configuration if you don't plan on debugging and also disable logging if not necessary.

Linux

  • Create a binary folder and use CMake after going in the directory, what's left is to build the library. Here's what it should look like:
    mkdir binlinux && cd binlinux && cmake ../ && make

Media

image image

Dependencies

Windows

Linux

관련 프로젝트 살펴보기

불러오는 중…