Blog

  • Performance Improvements for Battle for Middle-earth II

    Over the last few weeks, the bfme2-patcher grew quite a bit. What started as a small dll that redirects a few DNS queries and skips a certificate check (if you missed it, that’s what my first blog post is about) now applies a whole list of patches to the running game: a 60 fps mode, a handful of crash fixes, AI fixes, tooltip improvements, and more. Most of them are small, but two areas turned out to be much more interesting than I expected: the performance of the pathfinder and the delayfix for multiplayer matches. This post is about those two.

  • Sage Engine INI File Language Support for IntelliJ IDEA

    It’s been a while since I last posted here, and looking back, I’m surprised by how quickly the time has passed. Since then, I’ve been working on a few BfME-related projects, but my most recent one felt worth writing about. So here we are: this post is about a plugin for IntelliJ IDEA that adds syntax highlighting, code formatting, completion, and navigation features for Sage Engine INI files.

  • The magic behind restoring multiplayer for Battle for Middle-Earth 2 - Part 1

    The Lord of the Rings, The Battle for Middle Earth II is one of many real-time strategy games released in 2006, yet it’s something special, for me at least. Maybe because it’s set in the world of JRR Tolkien or perhaps just because it reminds me of my childhood. Either way, it’s one of the few games that I can motivate myself to write software for.