https://github.com/8dcc/source-netvar-dumper
NetVar offset dumper for source games in Linux
https://github.com/8dcc/source-netvar-dumper
c fuck-oop game-hacking linux netvar netvars-dumper offsets source-games
Last synced: 3 months ago
JSON representation
NetVar offset dumper for source games in Linux
- Host: GitHub
- URL: https://github.com/8dcc/source-netvar-dumper
- Owner: 8dcc
- License: gpl-3.0
- Created: 2023-08-03T12:09:01.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-26T14:30:38.000Z (about 1 year ago)
- Last Synced: 2025-03-20T08:47:11.369Z (3 months ago)
- Topics: c, fuck-oop, game-hacking, linux, netvar, netvars-dumper, offsets, source-games
- Language: C
- Homepage:
- Size: 34.2 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
#+title: Source NetVar dumper
#+options: toc:nil
#+startup: showeverything
#+author: 8dcc*NetVar offset dumper for source games in Linux.*
#+TOC: headlines 2
* Description
Uses netvars to get the offsets of classes in a source game. It writes to =stdout=
and to =/tmp/source-netvar-dumper.log=.* Configuring
You might need to change the following settings depending on your source game:
- The process name should be changed from the =process_name= variable in [[https://github.com/8dcc/source-netvar-dumper/blob/main/inject.sh][inject.sh]]
- Relative location to =client.so= should be changed from the =CLIENT_SO= define in
[[https://github.com/8dcc/source-netvar-dumper/blob/main/src/main.c][src/main.c]]
- The vtable index of the =GetAllClasses= function inside =IBaseClientDLL=. For
black mesa it's *index 10*, for csgo it's *index 8* afaik.* Building
#+begin_src console
$ git clone https://github.com/8dcc/source-netvar-dumper
$ cd source-netvar-dumper
$ make
...
#+end_src* Injecting
Uses the [[https://www.gnu.org/savannah-checkouts/gnu/gdb/index.html][gdb]] debugger for injecting the library.#+begin_src console
$ ./injector.sh
[sudo] password for username:...
source-netvar-dumper loaded!
#+end_src