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 Good Gear Guide newsletter!

Error: Please check your email address.

Tags games

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

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

Essentials

Microsoft L5V-00027 Sculpt Ergonomic Keyboard Desktop

Learn more >

Lexar® JumpDrive® S57 USB 3.0 flash drive

Learn more >

Mobile

Lexar® JumpDrive® S45 USB 3.0 flash drive 

Learn more >

Exec

Lexar® JumpDrive® C20c USB Type-C flash drive 

Learn more >

Lexar® Professional 1800x microSDHC™/microSDXC™ UHS-II cards 

Learn more >

HD Pan/Tilt Wi-Fi Camera with Night Vision NC450

Learn more >

Audio-Technica ATH-ANC70 Noise Cancelling Headphones

Learn more >

Budget

Back To Business Guide

Click for more ›

Most Popular Reviews

Latest News Articles

Resources

PCW Evaluation Team

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Aysha Strobbe

Windows 10 / HP Spectre x360

Ultimately, I think the Windows 10 environment is excellent for me as it caters for so many different uses. The inclusion of the Xbox app is also great for when you need some downtime too!

Mark Escubio

Windows 10 / Lenovo Yoga 910

For me, the Xbox Play Anywhere is a great new feature as it allows you to play your current Xbox games with higher resolutions and better graphics without forking out extra cash for another copy. Although available titles are still scarce, but I’m sure it will grow in time.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?