Blog Post: How I made a speedrun timer in D
Bradley Chatha
sealabjaster at gmail.com
Sun Jun 8 23:41:50 UTC 2025
https://bradley.chatha.dev/blog/linux-speedrun-timer-dlang/post
Copied intro:
> I semi-recently played through the original Deus Ex, and
> enjoyed my time with it so much that I felt like getting into
> speedrunning it, which ended up with me having to create a
> custom speedrun timer that “injects” itself into the game in
> order to implement features such as auto-splitting and load
> time removal.
> This article details the rough journey I went through. It’s not
> super well structured, but I was sorely lacking resources such
> as this when I was implementing the more complicated parts of
> the timer, so I wanted to share my experience.
> This is basically a detailing of “baby’s first game hack” as
> none of the techniques I’ve used here are advanced, and are
> more basic building blocks for injecting your own stuff into
> another process, but resources like this article were severely
> lacking/hard to find in my experience, so I imagine this will
> still be useful to someone.
---
More specifically I love how easy D made it for me to have a
high-level wrapper around some of the lower-level actions I had
to perform.
Honestly this article was more of a Trojan horse to talk about D
rather than the project itself :)
More information about the Digitalmars-d-announce
mailing list