Hearthstone game logs

I’m playing a little of Hearthstone, Blizzard’s casual online CCG. It’s quite a fun little game, each turn is like solving a puzzle.

There’s a world of Hearthstone trackers out there that record your games and collect statistics. They are scary though, that whole industry is a little shady and I don’t trust them not to install malware. Also most of the trackers work by image detection (!) and there’s reports that some are messing with SSL certificates. Screw that.

There’s an alternative: Hearthstone has a debug log option that causes the game to write a bunch of debug info to a file. It’s not really a game log, it’s mostly about memory management, etc. But it has enough data to reconstruct the game. On the Mac the logging is enabled with ~/Library/Preferences/Blizzard/Hearthstone/log.config and the log ends up in ~/Library/Logs/Unity/Player.log. It’s a big file, 1 megabyte after a single game, but the Blizzard launcher seems to clean it up every launch.

There’s a few tracker apps that use this logging and are open source. I tried TrackOBot and it’s nice, runs on Mac just fine. There’s also Hearthstone Deck Tracker which is way fancier but is Windows only.

The drawback is that the log doesn’t record everything. Trackobot can see what cards you’ve played, for instance, but not what your whole deck is. And it doesn’t capture actions like which cards attacked what. But for high level stats of “I tend to win with Warlock” it’s not bad.