Writing Our Own Cheat Engine (2021)
Key topics
The blog post about writing a Cheat Engine alternative in Rust sparked a discussion, but not about the topic itself - instead, commenters were sidetracked by a rendering issue on the author's website, where text was partly off-screen on mobile devices. Multiple users reported experiencing the issue across various browsers and devices, with some finding workarounds like switching to landscape mode or using reader mode. The root cause was eventually attributed to a min-width issue, with charles_f pinpointing the likely culprit. Meanwhile, cybit shared a tangential anecdote about successfully using Rust for a similar project, injecting into a C++-based online game.
Snapshot generated from the HN discussion
Discussion Activity
Active discussionFirst comment
5d
Peak period
19
120-132h
Avg / period
7
Based on 28 loaded comments
Key moments
- 01Story posted
Dec 5, 2025 at 4:21 AM EST
30 days ago
Step 01 - 02First comment
Dec 9, 2025 at 9:07 PM EST
5d after posting
Step 02 - 03Peak activity
19 comments in 120-132h
Hottest window of the conversation
Step 03 - 04Latest activity
Dec 11, 2025 at 10:08 AM EST
23 days ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
Edit: landscape seems to be a work around for me though.
In my case, stupid use cases for a folding phone: unfolding the screen helped it render in desktop layout...
Picking the desktop site button in the ... menu also works though!
Or, alternatively reading it via archive.is:
- Part 1: Introduction https://archive.is/RZVBF
- Part 2: Exact Value scanning https://archive.is/OvGy2
- Part 3: Unknown initial value https://archive.is/Tqgx9
- Part 4: Floating points https://archive.is/eAdQn
- Part 5: Code finder https://archive.is/KtwjT
- Part 6: Pointers https://archive.is/PGPnm
- Part 7: Code Injection https://archive.is/mCMRz
- Part 8: Multilevel pointers https://archive.is/GJ486
In one of them I hook into C++'s inheritance with no issue, just by understanding how everything works within the compiler you can do a lot.
It's nice to get a look behind the scenes at how it's done.
It's funny though, I realized that I generally don't enjoy cheating at games, even single player games, unless the cheats are amusing stuff like big head mode or whatever. I once actually cheated to reduce my character's level in dark souls because I'd accidentally allocated a bunch of points into a famously rather useless stat and, in that game, stat point allocation is permanent. To clarify, I knew it was useless, I had mismatched which row I was looking at when assigning points.
Which is still cheating, I suppose, given that it saved me the convenience of starting the character over completely.
ls -la /proc/$PID/map_files cat /proc/$PID/maps cat /proc/$PID/status
[0]https://github.com/scanmem/scanmem