Thread overview
Blog Post: How I made a speedrun timer in D
12 hours ago
Bradley Chatha
7 hours ago
zjh
3 hours ago
Dmitry Olshansky
12 hours ago

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 :)

7 hours ago

On Sunday, 8 June 2025 at 23:41:50 UTC, Bradley Chatha wrote:

>

https://bradley.chatha.dev/blog/linux-speedrun-timer-dlang/post

Copied intro:

Thank you for your share.

3 hours ago

On Sunday, 8 June 2025 at 23:41:50 UTC, Bradley Chatha wrote:

>

https://bradley.chatha.dev/blog/linux-speedrun-timer-dlang/post

D’s raw literals do not support escape sequences.

It’s not exactly do not support, rather it’s their main feature. And indeed it’s handy for regex!

——
Dmitry Olshansky