In April 1999, a few weeks after RollerCoaster Tycoon reached North American shelves on March 22, players began reporting the same disaster: their saved parks were gone. Chris Sawyer, sitting alone with the problem, had a hunch. The clocks had just changed for daylight saving time, and the trouble seemed to follow them.
Save files carried timestamps, stamped in to guard against tampering or corruption. After the clock change, those stamps no longer matched up. The puzzle was where the mismatch came from. The system call that supplied the time should have returned UTC, the world standard clock that daylight saving never touches, yet its answer had changed anyway. No colleague could take the other half of the search. The fault sat somewhere in thousands of lines that Sawyer had written almost entirely in assembly, the bare-metal language that tells a processor exactly what to do and little else. He went through it himself, wrote a patch to stop the damage, and later built a utility to repair the save files already broken.
Why would anyone build a hit that way, alone, in assembly? The answer starts years earlier.
The Lynx, the MTX and the unpaid royalties
In Doune, a youth named Sawyer sat at a store's ZX81 and typed BASIC, the gentle beginner's language that most home computers of the day spoke. BASIC was not what he wanted. He wanted machine code, the raw instructions a processor obeys, and the computer everyone pointed to for that was the BBC Micro.
He could not afford one. Instead he bought a Camputers Lynx, a lesser-known machine, and used it to teach himself the bare-metal language.
The next machine suited him better. His Memotech MTX came with an assembler built in, a tool that turns readable abbreviations into machine code, so he could write Z80 code, the language of the MTX's processor, without leaving the computer. The MTX gave him plenty to practice on. In 1984 and 1985 he turned out eleven games for it, and some of them were clones of arcade hits.
Then came the bill for all that work, or rather the lack of one. His publisher, Megastar, failed to pay royalties on the games. The money that did trickle in bought only a disk drive and a printer.
From 1988 to 1993 he kept working for others, converting games, mostly from the Amiga, to run on MS-DOS PCs. He did not simply copy them. His PC port of Frontier went beyond the Amiga original by adding texture mapping, which wraps a flat image around a surface so that planets and ships look solid instead of bare.
A railway game built by one man and two freelancers
Years before anyone asked for a railway game, Sawyer had started an isometric platform game for one reason only: to build an isometric graphics system. That is the trick of drawing a world at a slant, so that a flat screen shows depth. The platform game was a means to an end, and the system he finished stayed with him as a personal project.
Then Railroad Tycoon gave him a reason to use it. Inspired by that game, Sawyer built a railway game on top of the isometric world he had already designed.
He did it almost entirely alone. The only help came from two freelancers: the artist Simon Foster, who drew, and the composer Allister Brimble, who supplied the music. Everything else, the programming that held the world together, was Sawyer's own work.
MicroProse released the game in 1994 as Transport Tycoon. The name came with the publisher.
The deal mattered for another reason. Sawyer kept the rights to Transport Tycoon, a habit that now paid him a steady income.
Somewhere in the game sits a small house. It is the house where Sawyer lived and worked while he made the game, so the programmer's own front door ended up on the screen of every player.
He abandons Transport Tycoon 2 for a coaster game
Sawyer had the code, the freedom and a half-finished sequel. In mid-1996 the idea of a coaster game crossed his mind, and a year later it turned serious enough to cost him Transport Tycoon 2. He shelved the sequel and kept the useful part, much of its code, to build the coaster game on.
He took the plan to his agent, Jacqui Lyons. She backed him, but she warned him that a game like this would be hard to get published. Sawyer had no one to convince anyway. He paid for the project himself, with no boss to report to and no publisher to appease. People told him the game would not earn back its costs, and he went ahead regardless. Later he described himself as persistent, and also as self-absorbed and stubborn.

There was one awkward gap in his preparation. Sawyer had hated roller coasters, and before the game he had ridden only a handful, among them the Wild Mouse at Blackpool and Thunder Loop Express at Loudoun Castle.
So he spent some of the Transport Tycoon money on travel. He crossed Europe and the United States, and he went to theme parks for the roller coasters. The dislike did not survive the trip. Sawyer became an enthusiast, and by his own count he has ridden at least 700 coasters.
The research left him with a different problem, one that no ride could solve. A coaster game with crowds of visitors, track and scenery had to run on the weak PCs that most players owned. Every line of code would have to be lean.
Two PCs, a pocket guide and 99% assembly
Sawyer sat down at his desk and picked the language he would build the coaster game in. He chose x86 assembly, the low-level instructions that the PC's processor reads almost directly, written for the Microsoft Macro Assembler. Some 99% of the game would be written that way, and only the last 1% in C.
He had his reasons. Sawyer liked how clean assembly looked on the page, and he liked how fast it compiled, the step that turns written code into a program he could run. Every change he made could be tested within moments.
The machines mattered as much as the language. Sawyer rigged up two PCs, a fast one to write the code on and a slower one to test it on. The slow machine stood in for the players he was aiming at: the system requirements called for a Pentium 90MHz with at least 16 megabytes of RAM.
Around the two computers, his desk looked like a workshop from another decade. A dot matrix printer sat on it, along with a fax machine, a pocket x86 guide and a reference book of about 500 pages.
The pocket guide was the one he reached for, because most of what he needed was already in his head. The official manuals ran to thousands of pages, and Sawyer had memorised most of the x86 material he needed from them. The guide covered the rest, and he worked without a team to ask.
The coaster game now needed something to simulate, and what it needed was a crowd. Thousands of guests would pour through the gates, and each of them would need to find a way through the park. How could a Pentium 90 manage that?
Guests lost in the bushes
The answer, as it turned out, was that one guest at a time had to be allowed to be stupid. Pathfinding, the work of steering each visitor from gate to ride to toilet, became the biggest performance headache in the whole project. Sawyer could picture a perfect route-searching algorithm, but he saw its flaw too: it was useless if it stalled the game at the moment a guest needed to make a decision.
So he trimmed it. Each cut made the search cheaper for the Pentium 90 and a little blinder for the guest. Soon many guests were stranded in the bushes, or wandering along the wrong path with no idea how to get anywhere useful.
The slow test PC kept judging everything else he added. New features loaded it, and some could be cut, while others had to stay, whatever they cost.
For the lost guests, Sawyer found a reason to leave the flaw alone. He had got lost himself in large US theme parks, and he reasoned that visitors struggling in a badly designed park was exactly right. A confusing layout should confuse people.
He did not pretend the code was tidy. The design had evolved as he built it, and he admitted that some data structures ended up more restrictive and less efficient than they could have been. One man, writing in assembly, had no team to go back and clean them up.
Players could see the result for themselves. Clicking a guest showed that person's most recent thoughts, a running complaint from someone who could not find the exit. IGN's Xbox review later joked that the guests had some of the least intelligent AI imaginable. Would anyone pay for a park full of lost people?
White Knuckle goes to Hasbro and sells four million
Sawyer started with the people closest to him. Family and friends played the game first and told him what broke. When they had found what they could, he turned to the publisher Hasbro for more extensive bug-testing and feedback. The build he sent still carried the name it had worn for most of its development: White Knuckle.
The box still needed a picture of the man behind it. Sawyer was photographed on Megafobia, a coaster at Oakwood, and because the park was closed for winter, the ride had to be run just for the shoot. The cold left a film of ice on the track. Nobody could start until it melted, and only then did the engineer send the train out. The US box shows Sawyer riding it.
The wait looks small beside what came next. On January 18, 2000, RollerCoaster Tycoon was announced as the best-selling PC game of 1999. Sawyer later said that everyone, himself included, was stunned by the success.
The numbers kept climbing. By July 2002 the game had sold over four million copies, and Sawyer reportedly made around $30 million in royalties.
What happened to the code that broke on a weekend, and who would later pick the game up and put it to uses Sawyer never planned?
The coasters that were never built
The game's second life began with a man who built real rides. John Wardley had designed many coasters across Europe, and he used RollerCoaster Tycoon to help work out his designs. Some of those designs never got beyond a planning office. When local authorities refused permission for certain rides, Wardley kept the tracks alive in the only place they could still run. He released saved games of the refused coasters, so anyone with the game could ride rides that will never be built.
Sawyer went back to the same language for the sequel. He designed and programmed RollerCoaster Tycoon 2 entirely in x86 assembly, again by himself, with no team to share the load. Years later, other people took the engine apart. In 2015 the first release of OpenRCT2 appeared, an open-source recreation of the engine that anyone could read, fix and extend. Players used it, and the original game, to build coasters no park would dare to open. Footage of these creations spread across imageboards and social media, and the media took notice.

Sawyer watched the craft behind all this fade. He says assembly is falling out of use, that there is now little need for assembly coders, and that working alone is harder than it was.
Yet the picture from April 1999 still holds. One man sat with code he had written himself, found the fault that the clock change had exposed, and wrote both the patch and the repair utility with no one else's help. The lost parks came back.
Editorial graphic and headline text by Signal Titans.
Source: One Man, Assembly Language and a Theme Park: Chris Sawyer and the Making of RollerCoaster Tycoon · RollerCoaster Tycoon 2 (Wikipedia) · Chris Sawyer (Wikipedia) · RollerCoaster Tycoon: the best-optimised game of all time? · Chris Sawyer Software Development · Can a Solo-Dev Make a Successful Game? | IndieGameDev · RollerCoaster Tycoon Critic Reviews – Metacritic · RollerCoaster Tycoon Review | Eurogamer.net · Roller Coaster Tycoon – IGN · RollerCoaster Tycoon Xbox Review – IGN · Chris Sawyer Software Development · archive.org

Leave a Reply