I’ve been playing the heck out of Cataclysm: Dark Days Ahead lately. It’s a fun and challenging open source post-apocalyptic roguelike turn-based game. It’s in active development but there aren’t regular releases so you need to track the repo’s HEAD if you want to play the latest version (or a recent version).
This has been a pain on Linux, and so I ended up just playing on my Windows machine using the excellent CDDA Game Launcher application. But I really wanted something that would work on Linux too.
So I wrote a little CLI tool in Go called catalauncher. I’ve been using it myself for a few weeks and it works well. It downloads the latest build from a Jenkins server set up by … someone (I assume some past or present CDDA developer). It also adds in some optional mods and a soundpack. Then it launches the game inside a Docker container (so I don’t have to worry about library conflicts). It also preserves your saves and config across game upgrades transparently (I hope).
I’ve just done the first binary release so I hope folks will give it a try. While there are binaries for macOS I have no idea if they will work. The way it launches Docker may only work on Linux because it needs to give the container access to the host’s video & sound setup. Patches to improve this on other OS’s (and other Linux distros/setups) are very much welcome.