Skip to content

vmctx/csgo-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

violet-sdk

A CS:GO SDK originally used in a private project of mine made with rust-lang. If you want to try this out, read the instructions below.
This is not currently working, but maybe it helps people to make their own SDK in Rust, this project is like 2 years old and I have no use for it anymore. If you have improvement ideas, discovered bugs or just want to contact me for whatever reason here's my discord: felixfem

Installation

Just add the following to your project's Cargo.toml file:

[dependencies]
sdk = { version = "^1.0", git = "https://github.com/felix-rs/csgo-sdk" }

Usage

After you have added the crate to your Cargo.toml you need to initialize the SDK once, somewhere in your DLL. For that just call sdk::initialize(); (this returns a result you need to handle). Now you can call sdk::get_interfaces() to get access to all the interfaces and their virtual functions etc.

Example

sdk::initialize().expect("failed to init sdk");

let (mut width, mut height) = (0, 0);

sdk::get_interfaces().engine.get_screen_size(&mut width, &mut height);

About

old sdk for csgo written in rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages