How Gears of War used Splunk's data analytics and artificially intelligent bots to pinpoint game crashes

Microsoft game designer The Coalition harvests data by running Gears of War through with AI bots, and uses custom Splunk dashboards to give designers and engineers actionable data about glitches and crashes.

The studio behind the hugely popular Xbox game Gears of War is using AI bots and data analytics to cut down on in-game crashes.

Phil Cousins is principal engineer at The Coalition, the first-party Microsoft that makes the Gears of War series, and it's his job to bring together the artistic elements of the games and the technical side to make sure it runs up to speed across both PC and Xbox. Cousins wants to use data and analytics to catch problems with the game before the end user does.

Starting small

Cousins' team uses a complex stack of tools including out-of-the-box products like Adobe Photoshop, Unreal Engine, and Visual Studio along with its own custom software, plus anything coming in from its dozens of outsourcing partners. But logging formats vary from tool to tool, and this creates problems.

Splunk solved a lot of these issues for The Coalition. Speaking at Splunk's .conf user conference this week, Cousins said Splunk provided four features the team really liked.

"The first was that we require no centralised schema for our logs," he explains. "There was also a vast array of universal plugins to get that data flowing instantly without having to write a bunch of stuff. Then there was great searching and visualisation, and lastly it was easy to create alerts and reports for when our servers went down."

In short: "We could start to see key insights into a lot of our tools which we couldn't before."

Read next: How World of Warcraft maker Blizzard Entertainment uses BI and analytics to unlock business value of gameplay data

Naturally the studio started small, setting up an instance of Splunk and treating it like an IT operations manager would, feeding it well-formatted logs for things like disks, CPU, network and P4Admin to react quicker to errors.

Reports

Cousins says that once the studio had implemented Splunk for logging operational data others in the company started asking about reports. It has since increased the Splunk licence to allow for the ingestion of 40GB of data a day, which will set you back roughly £1200 per gigabyte per year on a perpetual licence.

The challenge for Cousins and his team was to get these into a format from which they could take actionable insights rather than as a technical dashboard.

Cousins says the team tweaked the metrics into things the company knew would be relevant to people like designers, artists and quality assurance people. "So these became frames-per-second, memory usage, crashes and test coverage, if someone had actually been to an area in the game," he says.

Bots at war

The Coalition derives relevant game data by using machine learning to spin up artificially intelligent bot players to run through the game during out of office hours, with the log data ready for the engineers in the morning.

"We actually play multiple versus tests in a multiplayer game where we spin up ten bots that play against each other, and hoard mode which we run through fifty waves," Cousins says. "It can do the entire coverage now of a quality assurance (QA) team by itself."

Read next: Splunk brings machine learning capabilities into its tools and launches toolkit for customer's own algorithms

Then to get this into a format that designers and engineers could understand the studio built its own Splunk app based on IT Service Intelligence. The dashboard features the same metrics to explore, plus a heat map to show where errors are occurring, so engineers can jump to that point in the game and investigate.

Teething problems

The early teething problems with Splunk mainly revolved around The Coalition's topography. Cousins had some advice for anyone starting out with Splunk to avoid the mistakes he made.

Read next: Travis Perkins uses Splunk's flexible cyber security monitoring to protect against customer data breaches

He explains: "Our indexes started falling behind as we started throwing more data at it. So we rebuilt our topology to have a single search head and a bunch of indexes that index on separate machines. Then we have a separate license deployment server and a bunch of forwarders with SQL server on the side which we inject into."

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection

Tags games

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

By Scott Carey

Computerworld UK
Show Comments

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

David Coyle

Brother PocketJet PJ-773 A4 Portable Thermal Printer

I rate the printer as a 5 out of 5 stars as it has been able to fit seamlessly into my busy and mobile lifestyle.

Kurt Hegetschweiler

Brother PocketJet PJ-773 A4 Portable Thermal Printer

It’s perfect for mobile workers. Just take it out — it’s small enough to sit anywhere — turn it on, load a sheet of paper, and start printing.

Featured Content

Product Launch Showcase

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?