Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
408 commits
Select commit Hold shift + click to select a range
aa3463c
counterbike2
Mar 12, 2025
fe14d05
Add files via upload
Mar 20, 2025
dc0603a
Game update (14072)
a2x Mar 21, 2025
c791a97
Update README.md
a2x Mar 28, 2025
a538968
Simplify some code
a2x Mar 28, 2025
9452c39
Update Cargo.toml to use 2024 edition
a2x Mar 28, 2025
18c5ab1
Delete rustfmt.toml
a2x Mar 28, 2025
d8b7788
f
Apr 1, 2025
2502046
Game update (14073)
a2x Apr 1, 2025
8463366
fix
Apr 1, 2025
e43a7e8
Merge pull request #333 from iraqichild/main
a2x Apr 1, 2025
45276a4
Add files via upload
Apr 2, 2025
ba1578b
Delete output directory
Apr 2, 2025
6e8bdf6
Add files via upload
Apr 2, 2025
e734ca4
Game update (14074)
a2x Apr 2, 2025
85feb6b
Merge branch 'a2x:main' into main
JannesBonk Apr 22, 2025
cfce30c
Game update
JannesBonk Apr 22, 2025
9049fb5
Merge pull request #339 from JannesBonk/main
a2x Apr 22, 2025
3387f84
Game update (14075)
a2x May 8, 2025
677730b
Game update (14076)
a2x May 9, 2025
c426568
Add files via upload
Ivannnnnnnnnnnn May 14, 2025
c448a27
Merge pull request #1 from Ivannnnnnnnnnnn/Ivannnnnnnnnnnn-patch-1
Ivannnnnnnnnnnn May 14, 2025
a4329c2
Game update (14078)
a2x May 14, 2025
795c3c8
Game update (14079)
a2x May 16, 2025
762edea
Game Update
mildnsj May 21, 2025
7ecdb1e
Merge pull request #346 from mildnsj/main
a2x May 22, 2025
ef2016a
Game Update (14082)
mildnsj May 23, 2025
eda4202
Merge pull request #347 from mildnsj/main
a2x May 23, 2025
897b835
Add files via upload
mildnsj May 24, 2025
5d9c804
Game Update (14083)
mildnsj May 30, 2025
90ecef3
Merge pull request #348 from mildnsj/main
a2x May 30, 2025
c0a171e
Game update
JannesBonk Jun 11, 2025
e38c508
Revert "Game update"
JannesBonk Jun 11, 2025
2cd824e
Merge branch 'a2x:main' into main
JannesBonk Jun 11, 2025
3f9895c
Game update
JannesBonk Jun 11, 2025
39c5899
Merge pull request #350 from JannesBonk/main
a2x Jun 11, 2025
7dae795
Game Update
Jesewe Jul 3, 2025
8b1d3e0
Merge pull request #352 from Jesewe/main
a2x Jul 3, 2025
80190f1
Game Update (14086)
Jesewe Jul 8, 2025
d79726e
Merge pull request #353 from Jesewe/game-update
a2x Jul 8, 2025
4707a17
Game Update (14087)
mildnsj Jul 16, 2025
ff26c38
Game Update (14088)
mildnsj Jul 16, 2025
778d3f2
Merge pull request #355 from mildnsj/main
a2x Jul 16, 2025
7f60c80
Game update (14090)
a2x Jul 29, 2025
3b37f42
Game Update (14091)
Tonyha7 Jul 30, 2025
2fad5b8
Merge pull request #369 from Tonyha7/main
a2x Jul 30, 2025
96b5a49
Game update (14092)
a2x Jul 31, 2025
7517c0c
latest game update
cacamelio Aug 1, 2025
174d048
Merge pull request #375 from cacamelio/main
a2x Aug 2, 2025
66b99ba
Game Update (14095)
sieciowiecxyz Aug 14, 2025
b97fb45
Merge pull request #381 from Pondiniii/main
a2x Aug 14, 2025
3daf9b8
Add files via upload
Lufzys Aug 18, 2025
42864e9
Merge pull request #389 from Lufzys/main
a2x Aug 19, 2025
8250206
Game update (14097)
vablings Aug 27, 2025
463c29d
Merge pull request #397 from vablings/main
a2x Aug 27, 2025
a528299
Update cs2-dumper.log
a2x Aug 27, 2025
fc693c9
Game Update (14098)
Calastrophe Aug 28, 2025
b7f4658
Merge pull request #401 from Calastrophe/main
a2x Aug 28, 2025
762b1f5
Add files via upload
pompompur-in Sep 3, 2025
c7be594
Delete output directory
pompompur-in Sep 3, 2025
c503d2f
oops i fucked up lmao mb
pompompur-in Sep 3, 2025
a783861
now it should be fixed
pompompur-in Sep 3, 2025
6c9e61f
Merge pull request #402 from pompompur1nn/main
a2x Sep 4, 2025
8569a65
Game update version 19878101
pompompur-in Sep 6, 2025
cbe9916
Merge pull request #407 from pompompur1nn/main
a2x Sep 7, 2025
eb6f343
Game Update (14101)
Enoouo Sep 9, 2025
59adfb3
Merge pull request #408 from Enoouo/main
a2x Sep 9, 2025
f06714d
Game Update (14102)
leobalbo Sep 10, 2025
fa7e07d
Merge pull request #409 from leobalbo/main
a2x Sep 10, 2025
51c93f5
Game Update (14103)
leobalbo Sep 13, 2025
6179414
Merge branch 'a2x:main' into main
leobalbo Sep 13, 2025
0efa661
Merge pull request #410 from leobalbo/main
a2x Sep 13, 2025
990dc29
Game Update 20007819
pedro3z0 Sep 17, 2025
cb97600
Merge pull request #411 from pedro3z0/main
a2x Sep 17, 2025
6cac3f8
Game Update (14105)
leobalbo Sep 17, 2025
a152929
Merge pull request #413 from leobalbo/main
a2x Sep 18, 2025
97ef6ba
update
JannesBonk Sep 19, 2025
92c36f1
fix this
JannesBonk Sep 19, 2025
0b16449
Merge pull request #415 from JannesBonk/main
a2x Sep 20, 2025
2607daa
Game Update
ArcherY417 Sep 23, 2025
c79cdab
Merge pull request #416 from ArcherY417/main
JannesBonk Sep 23, 2025
4c12e7e
Game Update (14107)
ArcherY417 Sep 24, 2025
8a0bb8f
Merge pull request #418 from ArcherY417/main
JannesBonk Sep 24, 2025
a42b065
Game update
ArcherY417 Sep 25, 2025
5bbba43
Merge pull request #419 from ArcherY417/main
JannesBonk Sep 25, 2025
6970a52
Game update (14108)
ArcherY417 Sep 26, 2025
19fe755
Merge pull request #420 from ArcherY417/main
JannesBonk Sep 26, 2025
0d47977
Game Update (14297)
GhostReaper8 Oct 2, 2025
f35b795
Merge pull request #422 from GhostReaper8/main
JannesBonk Oct 2, 2025
0abfa64
Game Update (20230584)
GhostReaper8 Oct 3, 2025
c9d757d
Merge pull request #425 from GhostReaper8/main
JannesBonk Oct 3, 2025
d2a53d3
4.10.2025 CS2 Update
JannesBonk Oct 4, 2025
56e9662
fix: new HashBucket (UtlTsHash) offsets and new update
birthdates Oct 15, 2025
e925821
refactor: more accurate representation
birthdates Oct 15, 2025
9f0e258
fix: spacing
birthdates Oct 15, 2025
b22d387
refactor: useless space
birthdates Oct 15, 2025
b5f6704
Merge pull request #429 from birthdates/update-offsets
JannesBonk Oct 15, 2025
809c8fa
16.10.2025 update
JannesBonk Oct 16, 2025
e5f09f5
Game update 14114
ArcherY417 Oct 16, 2025
66f881d
Merge pull request #436 from ArcherY417/main
JannesBonk Oct 16, 2025
55e0793
23.10.2025 Game Update
antalnn Oct 22, 2025
5f6d50f
Merge pull request #445 from antalnn/main
JannesBonk Oct 23, 2025
f64a872
30.10.2025 Game Update
antalnn Oct 30, 2025
96918d8
Merge pull request #453 from antalnn/main
JannesBonk Oct 30, 2025
96c6b59
Game update (14121)
Enoouo Nov 5, 2025
ff7a5ca
Merge pull request #459 from Enoouo/main
JannesBonk Nov 5, 2025
23a60df
fix: new dwNetworkGameClient signature
estdae Nov 5, 2025
ff84f45
Merge pull request #460 from estdae/update-network-game-sig
JannesBonk Nov 5, 2025
59b6618
Fix Rust compiler error
JannesBonk Nov 5, 2025
ac50276
Update 13.11.2025
antalnn Nov 12, 2025
65be03d
Merge pull request #469 from antalnn/main
JannesBonk Nov 13, 2025
9205bea
Game update (14124)
Coslly Nov 13, 2025
bdc9cf8
Merge pull request #472 from Coslly/main
JannesBonk Nov 13, 2025
82ffbea
Game update (14125)
Coslly Nov 14, 2025
23d082f
Merge pull request #474 from Coslly/main
JannesBonk Nov 14, 2025
cee8a60
19.11.2025
JannesBonk Nov 19, 2025
c3cb6b4
Update offsets and interface addresses for latest build
NotDidaka Nov 20, 2025
96fc8b6
Merge pull request #480 from NotDidaka/main
JannesBonk Nov 20, 2025
fbe8efd
Auto update offsets to build 20865201 (release 0.1.3)
NotDidaka Nov 20, 2025
69e1e2c
Auto update offsets to build 20865201 (release 0.1.3)
NotDidaka Nov 20, 2025
0d66f6c
Auto update offsets to build 20897362 (release 0.1.3)
NotDidaka Nov 22, 2025
2c423d5
Auto update offsets to build 20897362 (release 0.1.3)
NotDidaka Nov 25, 2025
2057942
Merge pull request #485 from NotDidaka/main
a2x Nov 29, 2025
4103f33
Auto update offsets to build 20940526 (release 0.1.3)
NotDidaka Dec 3, 2025
ae8922b
Merge pull request #490 from NotDidaka/main
a2x Dec 4, 2025
f200c9c
Game Update (14126)
Coslly Dec 6, 2025
e54fc10
Merge pull request #491 from Coslly/main
a2x Dec 6, 2025
00c6024
Game update (14127)
Coslly Dec 9, 2025
82a0bc9
Game update (14128)
Coslly Dec 10, 2025
aee9895
Merge pull request #493 from Coslly/main
a2x Dec 10, 2025
495dfcf
Game update #14129
29p4ypdrwy-lgtm Dec 21, 2025
f24dcce
Merge pull request #1 from 29p4ypdrwy-lgtm/gameupdate#14129
29p4ypdrwy-lgtm Dec 21, 2025
29118d1
Merge pull request #497 from 29p4ypdrwy-lgtm/main
a2x Dec 23, 2025
249cd0b
fix: game update
birthdates Jan 21, 2026
f9da77d
fix: schema padding
birthdates Jan 22, 2026
416a0e1
fix: offset comment
birthdates Jan 22, 2026
2e5712a
Merge pull request #510 from birthdates/main
a2x Jan 22, 2026
06af096
fix(offsets.rs): dwNetworkGameClient sig
laine Jan 22, 2026
a5bf900
Merge pull request #517 from laine/main
a2x Jan 22, 2026
a9a8d54
Game update (14132)
a2x Jan 23, 2026
a03f972
Game update (14132)
a2x Jan 24, 2026
e709e1e
0.1.3
a2x Jan 25, 2026
5f4fcf5
Game update (14133)
Coslly Jan 27, 2026
5066132
Merge pull request #529 from Coslly/main
a2x Jan 27, 2026
458dcff
Add files via upload
Ivannnnnnnnnnnn Jan 30, 2026
7e0b501
Add files via upload
Ivannnnnnnnnnnn Jan 30, 2026
72b2b39
Game update (14134)
a2x Jan 30, 2026
223f681
Game update (14135)
Coslly Feb 5, 2026
3dd9d26
Merge pull request #538 from Coslly/main
a2x Feb 5, 2026
d8c20af
Game update (14135) (2)
a2x Feb 10, 2026
4307c8b
Game update (14136)
Coslly Feb 24, 2026
66f27ea
Merge pull request #546 from Coslly/main
a2x Feb 24, 2026
81f1479
Game update (14137)
jhl337 Feb 26, 2026
efc130e
Merge pull request #549 from jhl337/main
a2x Feb 26, 2026
cb7d00e
Game update (14138)
Enoouo Mar 5, 2026
f54ca75
Merge pull request #550 from Enoouo/main
a2x Mar 5, 2026
56ca942
feat(output): add Zig code generation backend
hagz0r Mar 8, 2026
5941dc7
Game update 1.41.3.8 (747)
KEV0143 Mar 9, 2026
c63c5e2
Merge pull request #554 from KEV0143/update-output-1.41.3.8-747
a2x Mar 10, 2026
f383bba
Game update 1.41.3.9 (749)
KEV0143 Mar 12, 2026
06a6ae1
Merge pull request #555 from KEV0143/update-output-1.41.3.9-749
a2x Mar 12, 2026
4f574d2
Merge pull request #552 from hagz0r/feat/zig-output-support
a2x Mar 12, 2026
518b1fb
Remove unstable once_cell_try feature
a2x Mar 12, 2026
a7c6145
Create rust-toolchain.toml
a2x Mar 12, 2026
2de66e0
Push generated zig files
a2x Mar 16, 2026
649dad3
latest game update
cacamelio Mar 17, 2026
74787ad
up latest
cacamelio Mar 19, 2026
d75c3c9
Merge pull request #562 from cacamelio/main
a2x Mar 19, 2026
97c24db
Game update (14141) (2)
a2x Mar 27, 2026
41ba3f4
Latest Game Update.
gn1e Apr 3, 2026
1bd5eaa
Merge pull request #576 from gn1e/main
a2x Apr 4, 2026
1eafd9b
+0x8
wizenx Apr 20, 2026
03d756a
Update offsets.rs
wizenx Apr 20, 2026
bbe17ce
Merge pull request #582 from wizenx/main
a2x Apr 20, 2026
8db544c
fix: dwGameRules sig
Apr 21, 2026
c185d55
1.41.5.3 (795)
GLadiator279 Apr 22, 2026
8c903d5
Update dwGameRules offset in offsets.hpp
GLadiator279 Apr 22, 2026
9d44865
Updated dwGameRules offset
GLadiator279 Apr 22, 2026
1444d57
Merge pull request #593 from nax4rax/main
a2x Apr 22, 2026
313a00f
Merge pull request #610 from GLadiator279/main
a2x Apr 22, 2026
eecb816
Create rust.yml
a2x Apr 22, 2026
8372fad
1.41.5.4 (797)
GLadiator279 Apr 23, 2026
acd288a
Merge pull request #616 from GLadiator279/main
a2x Apr 23, 2026
2cc919f
Game update 1.41.5.5 (804)
KEV0143 Apr 24, 2026
2b80ca8
Merge pull request #620 from KEV0143/game-update-1.41.5.5-804
a2x Apr 25, 2026
7513b90
Game update 1.41.5.6 (805)
KEV0143 Apr 29, 2026
d131d6b
Merge pull request #623 from KEV0143/game-update-1.41.5.6-805
a2x Apr 29, 2026
32a81b9
Game update
Ivannnnnnnnnnnn Apr 29, 2026
0717ca0
Game update
Ivannnnnnnnnnnn Apr 30, 2026
3309686
Game update
Ivannnnnnnnnnnn Apr 30, 2026
f2e8929
Merge pull request #626 from Ivannnnnnnnnnnn/main
a2x May 1, 2026
f703307
Game update 1.41.6.0 (814)
KEV0143 May 7, 2026
1919cb0
Merge pull request #631 from KEV0143/game-update-1.41.6.0-814
a2x May 9, 2026
fd8cc4a
Game update 1.41.6.1 (825)
KEV0143 May 15, 2026
5111650
Merge pull request #635 from KEV0143/game-update-1.41.6.1-825
a2x May 15, 2026
53c3a04
Game update (14162)
Enoouo May 19, 2026
d0b66e1
Merge pull request #640 from Enoouo/main
a2x May 19, 2026
7592dd3
Game update (14164)
a2x May 24, 2026
1a6ccef
Latest Game Update.
gn1e May 29, 2026
5be0353
Merge pull request #648 from gn1e/main
a2x May 30, 2026
02f1e74
Game update (14165) (2)
Enoouo Jun 3, 2026
f06091f
Merge pull request #650 from Enoouo/main
a2x Jun 3, 2026
d889387
Game update (14165) (3)
Enoouo Jun 11, 2026
5bff237
Merge pull request #652 from Enoouo/main
a2x Jun 11, 2026
bf9ab02
Game update (14166)
Coslly Jul 1, 2026
bf934e1
Game update (14166)
Coslly Jul 1, 2026
9f4fe58
Merge pull request #656 from Coslly/main
a2x Jul 1, 2026
2c1a4e9
Game update (14168)
a2x Jul 9, 2026
fa54a6d
Game update (14169)
Enoouo Jul 10, 2026
134550a
Merge pull request #667 from Enoouo/main
a2x Jul 10, 2026
97e128b
Game update (14172)
rynduse Jul 21, 2026
21ee37c
Merge pull request #671 from rynduse/main
a2x Jul 21, 2026
02f2905
Game update (14173)
rynduse Jul 29, 2026
8b26b73
Merge pull request #674 from rynduse/main
a2x Jul 29, 2026
13d91d7
Game update (14174)
Tonyha7 Aug 4, 2026
b4b2670
Merge pull request #675 from Tonyha7/main
a2x Aug 4, 2026
5532267
Game update (14174) (2)
a2x Aug 11, 2026
011f58f
Game update (14175)
a2x Aug 13, 2026
2126185
Game update (14176)
Grovvik Aug 20, 2026
b64c0a0
Merge pull request #679 from Grovvik/main
a2x Aug 20, 2026
88b9ce4
Game update (14177)
a2x Aug 25, 2026
786a1f5
Game update (14178)
Grovvik Aug 27, 2026
ba6a5f9
Merge pull request #680 from Grovvik/main
a2x Aug 27, 2026
559dea6
Game update (14179)
Grovvik Aug 29, 2026
825616b
Merge pull request #681 from Grovvik/main
a2x Aug 29, 2026
e329355
Game Update (14181)
Grovvik Sep 10, 2026
2bf622c
Merge branch 'main' of https://github.com/Grovvik/cs2-dumper
Grovvik Sep 10, 2026
c09739c
Merge pull request #682 from Grovvik/main
a2x Sep 10, 2026
d51cd68
Game update (14182)
NuddiGit Sep 23, 2026
7c77309
Merge pull request #684 from NuddiGit/game-update-14182
a2x Sep 23, 2026
0ec0a4e
Game update (14183)
NuddiGit Sep 24, 2026
31e4906
Merge pull request #686 from NuddiGit/game-update-14183
a2x Sep 24, 2026
982e701
Game update (14184)
Enoouo Sep 25, 2026
14dec34
Merge pull request #687 from Enoouo/main
a2x Sep 25, 2026
dc58e87
Game update (14185)
NuddiGit Sep 25, 2026
c46bfec
Merge pull request #688 from NuddiGit/game-update-14185
a2x Sep 26, 2026
be4703c
Game update (14186)
NuddiGit Sep 29, 2026
e5ab60e
Merge pull request #689 from NuddiGit/game-update-14186
a2x Sep 29, 2026
bb5ef83
Game update (14188)
Enoouo Oct 1, 2026
2d204b1
Merge pull request #690 from Enoouo/main
a2x Oct 1, 2026
103c3aa
Game update (14189)
Enoouo Oct 6, 2026
4116de0
Merge pull request #691 from Enoouo/main
a2x Oct 6, 2026
db4a675
wip: merged main into linux to attempt upd
nyarw Oct 15, 2026
52f6ebd
fix: update dwNetworkGameClient
nyarw Oct 15, 2026
76917b1
fix: update dwCSGOInput
nyarw Oct 15, 2026
0aa55c5
fix: update dwViewAngles
nyarw Oct 15, 2026
0b12ccd
fix: update dwGameRules
nyarw Oct 15, 2026
2e1ceed
fix: update dwBuildNumber
nyarw Oct 15, 2026
45f2711
chore: update dump output
nyarw Oct 15, 2026
aa5c513
chore: remove old output files
nyarw Oct 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Rust

on:
push:
branches: ["linux"]
pull_request:
branches: ["linux"]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Cache Dependencies
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Test
run: cargo test

- name: Build Release
run: cargo build --release

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: cs2-dumper-linux
path: target/release/cs2-dumper
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/.idea
/.vscode
/.vs
/target
Cargo.lock
/scratch
cs2-dumper.exe
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
[package]
name = "cs2-dumper"
version = "0.1.1"
version = "0.1.3"
authors = ["a2x"]
edition = "2021"
edition = "2024"
readme = "README.md"
repository = "https://github.com/a2x/cs2-dumper"
license = "MIT"

[dependencies]
anyhow = "1.0"
clap = { version = "4.5", features = ["derive"] }
chrono = { version = "0.4", features = ["serde"] }
heck = "0.5"
log = "0.4"
memflow = "0.2"
memflow-native = { git = "https://github.com/memflow/memflow-native" }
phf = { version = "0.11", features = ["macros"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
simplelog = "0.12"
memflow-native = { git = "https://github.com/memflow/memflow-native", version = "0.2.6" }
skidscan = "2.0"
skidscan-macros = "0.1"
simplelog = "0.12"
thiserror = "1.0"
thiserror = "1"

[profile.dev]
opt-level = 1
Expand Down
25 changes: 17 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,41 @@
# cs2-dumper

An external Counter-Strike 2 offset/interface dumper for Linux.
An external offset/interface dumper for Counter-Strike 2 on Linux. Powered by
[memflow](https://github.com/memflow/memflow).

**Note:** This branch will likely not be kept up-to-date by myself. Pull requests are welcome!
For a work-in-progress offline version, check out the [cs2-analyzer](https://github.com/a2x/cs2-analyzer) repository or
view its included web demo [here](https://a2x.github.io/cs2-analyzer).

## Getting Started

You can download the latest release from [Releases](https://github.com/a2x/cs2-dumper/releases) or compile it yourself.
Note that compiling it yourself requires your Rust compiler version to be at least 1.74.0 or newer, and the nightly
toolchain must be installed.
Building from source requires Rust 1.85 or newer.

## Usage

1. Ensure the game process is running (Being in the main menu should suffice).
2. Run the `cs2-dumper` executable.
1. Ensure CS2 is running (being in the main menu should suffice).
2. Run `cs2-dumper` from the directory containing `config.json`.

By default, the program uses the [memflow-native](https://github.com/memflow/memflow-native) Linux OS layer to read
CS2. Linux signatures and their address operations are configured in `config.json`; those signatures may need updates
after a game patch. You can select another installed memflow connector with `--connector` and pass connector options
with `--connector-args`. Some connectors require elevated privileges; follow the connector's documentation.

### Available Arguments

- `-f, --file-types <file-types>`: The types of files to generate. Default: `cs`, `hpp`, `json`, `rs`.
- `-c, --connector <connector>`: The name of the memflow connector to use.
- `-a, --connector-args <connector-args>`: Additional arguments to pass to the memflow connector.
- `-f, --file-types <file-types>`: The types of files to generate. Default: `cs`, `hpp`, `json`, `rs`, `zig`.
- `-i, --indent-size <indent-size>`: The number of spaces to use per indentation level. Default: `4`.
- `-o, --output <output>`: The output directory to write the generated files to. Default: `output`.
- `-p, --process-name <process-name>`: The name of the game process. Default: `cs2`.
- `-v...`: Increase logging verbosity. Can be specified multiple times.
- `-h, --help`: Print help.
- `-V, --version`: Print version.

## Running Tests

To run tests, use the following command: `cargo test -- --nocapture`.
Run `cargo test` to validate the configured Linux signature patterns.

## License

Expand Down
33 changes: 17 additions & 16 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"signatures": [
{
"libclient.so": [

{
"name": "dwEntityList",
"pattern": "3B 72 10 75 0E 48 83 3A 00 0F 95 C0 C3",
Expand Down Expand Up @@ -39,10 +38,12 @@
},
{
"name": "dwGameRules",
"pattern": "48 8B 05 ? ? ? ? 48 89 83 A0 07 00 00",
"pattern": "48 C7 43 30 00 00 00 00 48 8B 00 C6 43 38 00 48 89 1D ? ? ? ? 48 89 43 08 48 8D 1D ? ? ? ? 8B 3B E8 ? ? ? ? 84 C0",
"operations": [
{
"type": "rip"
"type": "rip",
"offset": 18,
"length": 22
}
]
},
Expand Down Expand Up @@ -142,12 +143,12 @@
},
{
"name": "dwCSGOInput",
"pattern": "F3 41 0F 7E 06 F3 0F 7E 4D B0 48 8D 05 ? ? ? ? 0F 58 C1",
"pattern": "F3 41 0F 7E 06 F3 0F 7E C9 48 8D 05 ? ? ? ? 0F 58 C1",
"operations": [
{
"type": "rip",
"offset": 13,
"length": 17
"offset": 12,
"length": 16
},
{
"type": "add",
Expand All @@ -157,12 +158,12 @@
},
{
"name": "dwViewAngles",
"pattern": "F3 41 0F 7E 06 F3 0F 7E 4D B0 48 8D 05 ? ? ? ? 0F 58 C1",
"pattern": "F3 41 0F 7E 06 F3 0F 7E C9 48 8D 05 ? ? ? ? 0F 58 C1",
"operations": [
{
"type": "rip",
"offset": 13,
"length": 17
"offset": 12,
"length": 16
},
{
"type": "add",
Expand Down Expand Up @@ -198,23 +199,23 @@
"libengine2.so": [
{
"name": "dwBuildNumber",
"pattern": "89 15 ? ? ? ? 48 83",
"pattern": "55 48 89 E5 41 56 41 55 41 54 44 8B 25 ? ? ? ? 53 45 85 E4 0F 85 ? ? ? ?",
"operations": [
{
"type": "rip",
"offset": 2,
"length": 6
"offset": 13,
"length": 17
}
]
},
{
"name": "dwNetworkGameClient",
"pattern": "48 8D 15 ? ? ? ? 48 8D 35 ? ? ? ? 48 8D 3D ? ? ? ? E8 3E FA 0F 00",
"pattern": "4C 89 25 ? ? ? ? 48 8B 03 48 89 DF 48 8D 35 ? ? ? ? FF 90 50 02 00 00",
"operations": [
{
"type": "rip",
"offset": 17,
"length": 21
"offset": 3,
"length": 7
}
]
},
Expand Down Expand Up @@ -388,4 +389,4 @@
]
}
]
}
}
5 changes: 5 additions & 0 deletions cs2-dumper.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
20:27:44 [INFO] found 1 buttons
20:28:00 [INFO] found 122 interfaces across 30 modules
20:28:01 [INFO] found 32 offsets across 5 modules
20:28:01 [INFO] found 3301 classes and 568 enums across 18 modules
20:28:01 [INFO] analysis completed in 17.30s
6 changes: 3 additions & 3 deletions output/buttons.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2026-07-09 21:54:28.505310310 UTC
// 2026-10-15 20:28:01.381534584 UTC

namespace CS2Dumper {
// Module: client.dll
// Module: libclient.so
public static class Buttons {
public const nint = 0xDE284353;
public const nint = 0x6567F8075D484353;
}
}
7 changes: 4 additions & 3 deletions output/buttons.hpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2026-07-09 21:54:28.505310310 UTC
// 2026-10-15 20:28:01.381534584 UTC

#pragma once

#include <cstddef>
#include <cstdint>

namespace cs2_dumper {
// Module: client.dll
// Module: libclient.so
namespace buttons {
constexpr std::ptrdiff_t = 0xDE284353;
constexpr std::ptrdiff_t = 0x6567F8075D484353;
}
}
4 changes: 2 additions & 2 deletions output/buttons.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"client.dll": {
"": 3727180627
"libclient.so": {
"": 7307081630945395539
}
}
6 changes: 3 additions & 3 deletions output/buttons.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2026-07-09 21:54:28.505310310 UTC
// 2026-10-15 20:28:01.381534584 UTC

#![allow(non_upper_case_globals, unused)]

pub mod cs2_dumper {
// Module: client.dll
// Module: libclient.so
pub mod buttons {
pub const : usize = 0xDE284353;
pub const : usize = 0x6567F8075D484353;
}
}
9 changes: 9 additions & 0 deletions output/buttons.zig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2026-10-15 20:28:01.381534584 UTC

pub const cs2_dumper = struct {
// Module: libclient.so
pub const buttons = struct {
pub const @"": usize = 0x6567F8075D484353;
};
};
4 changes: 2 additions & 2 deletions output/info.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"build_number": 0,
"timestamp": "2026-07-09T21:54:28.505310310+00:00"
"build_number": 10924,
"timestamp": "2026-10-15T20:28:01.381534584+00:00"
}
Loading