NetVar offset dumper for source games in Linux.
Uses netvars to get the offsets of classes in a source game. It writes to stdout
and to /tmp/source-netvar-dumper.log.
You might need to change the following settings depending on your source game:
- The process name should be changed from the
process_namevariable in inject.sh - Relative location to
client.soshould be changed from theCLIENT_SOdefine in src/main.c - The vtable index of the
GetAllClassesfunction insideIBaseClientDLL. For black mesa it’s index 10, for csgo it’s index 8 afaik.
$ git clone https://github.com/8dcc/source-netvar-dumper
$ cd source-netvar-dumper
$ make
...Uses the gdb debugger for injecting the library.
$ ./injector.sh
[sudo] password for username:
...
source-netvar-dumper loaded!