Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LaihoE/DLAC
Deep Learning Anti-Cheat For CSGO
https://github.com/LaihoE/DLAC
anticheat counter-strike-global-offensive csgo deep-learning machine-learning
Last synced: 3 months ago
JSON representation
Deep Learning Anti-Cheat For CSGO
- Host: GitHub
- URL: https://github.com/LaihoE/DLAC
- Owner: LaihoE
- Archived: true
- Created: 2021-06-15T15:24:00.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-24T07:07:39.000Z (almost 2 years ago)
- Last Synced: 2024-06-16T02:43:01.289Z (5 months ago)
- Topics: anticheat, counter-strike-global-offensive, csgo, deep-learning, machine-learning
- Language: Go
- Homepage:
- Size: 71.9 MB
- Stars: 25
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-game-security - Deep Learning Anti-Cheat For CSGO
README
# Deep Learning Anti-Cheat For CSGO
Input the directory with your .dem files and the model outputs predictions for every shot during the game.
```python
from DLAC import Modelmodel = Model("./path_to_demos/")
model.predict_to_terminal(threshold=0.95) # You can manually specify threshold, 0.95 by default
```
## Installation
Windows should be as easy as:
```python
pip install DLAC
```
Linux users will need to build the .so file. This requres GO.
```
git clone https://github.com/LaihoE/DLAC
cd DLAC
python3 setup.py install
cd DLAC
go build -o parser.so -buildmode=c-shared
```## You can choose between a bigger and a smaller model
```python
from DLAC import Modelmodel = Model("./path_to_demos/", model_type='big')
model.predict_to_terminal(threshold=0.99) # 0.99 is recommended with the bigger model
```
The bigger model is slower with slightly better accuracyOther ways to output predictions
model.predict_to_csv()
model.predict_to_list()## Example output from one shot
```CSV
Name, Confidence of cheating, SteamId, File
PeskyCheater22, 0.9601634, 123456789, exampledemo.dem
```## Special thank you to
Demoinfocs-golang is the underlying parser used for parsing the demos, found at:
https://github.com/markus-wa/demoinfocs-golang.87andrewh has written the majority of the specific parser used, found at: https://github.com/87andrewh/DeepAimDetector/blob/master/parser/to_csv.go