Skip to content

Counter-Strike 2 SDK/Base written in C++.

License

Notifications You must be signed in to change notification settings

catgaming/cs2-sdk

 
 

Repository files navigation

cs2-sdk

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.)

I'm guessing the base is 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

TODO

Media

image

Dependencies

Linux

About

Counter-Strike 2 SDK/Base written in C++.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.0%
  • CMake 2.5%
  • GDB 0.5%