All About Speedrunning

Remember all of those games you played as a kid? Games like Mario 64, Ocarina of Time, Banjo Kazooie, and the like? Well you might be surprised to learn that there exists an entire subculture of people who try to complete these games as quickly as possible. From what I understand speedrunners live for the sake of the puzzle; figuring out all the programming quirks, tricks, and unexpected oddities that make each game unique. In programming, this is known as an “optimization problem,” or the process of finding the ideal solution to a set of parameters.

To give you some perspective, the world record speedrun for Zelda: Ocarina of Time is just a few seconds over 18 minutes. I know what you are probably thinking right now. Allow me to explain how something like this is possible.

In competitive speedrunning (and yes, there are competitions) there are a number of types:

No-glitch, where players go through the game as any normal player would, finding the optimal path through movement and mechanics, completing the game as the developers intended.

Glitch, where players take advantage of (usually fascinating) programming errors or memory mis-allocation to do something they could otherwise not do, such as clip through a wall to get to a new area or get an item they otherwise would not get for some time. They do not play the game as the developers intended, but work entirely within the game itself.

Tool-assisted: the optimization problem in the literal sense, writing a computer program to aid the player in completing the game in the most optimal way (down to the frame) or write to the game’s memory to allow certain behaviors. These players use external tools to allow them to complete the game more quickly.

Beyond this, there are several other sub-classifications that I won’t go into now that deal with %completion and other game specific objectives. There is a lot of granularity.

That Ocarina of Time speedrun is the world record glitch playthrough, working entirely within the game but clipping through walls, using movement and damage bugs, and moving through and around areas in ways the developers did not intend. Executing many of these glitches requires an enormous amount of skill and timing that I personally do not possess.

Remember those competitions I mentioned? Beyond just informal ones, there was an enormous annual fundraiser that had many of the worlds best speedrunners stream live for a week straight (24hr/day) that raised $1.5 million for charity. Yes I watched it. Yes it was pretty cool. Not to mention that people will actually compete to see who can complete the game the fastest, all starting at the same time (a race).

If you are interested in watching an 18min Ocarina of Time speedrun, the previous world record holder (3s slower than current, that is how quickly that this world moves) did a commentary about how some of these glitches were discovered, what he does to execute them, and that also serves as a good background to the community in general and the history of the game itself.

When things get crazy is when you enter the world of tool assisted speedruns (TAS), allowing you to do absurd things (such as writing a game within a Pokemon Red cartridge by changing the number of Potions or Pokeballs that you have, altering the memory value at those locations, then running it as a program) or program the entirety of Super Mario Brothers within Mario 64 by taking advantage of a buffer overflow. Stuff like this seriously blows my mind. Check out this article on ArsTechnica that explains a lot of what they did.

So there you go, a little bit about speedrunning. Chances are, if you played it, people speedrun it, Take a peek at how quickly they’ve beaten your favorite game. Note that all of these are “any%” meaning that they get through to the end titles as quickly as possible, skipping anything that is unnecessary (as opposed to 100% runs).

The Physics of the Impossible Drive

Around this time last year a series of small experiments run at Eagleworks—a NASA research and development lab—became big news. The subject of these experiments—the EmDrive and the Cannae Drive—are two independently invented “reactionless” propulsion systems.

Why are these experiments so exciting? The way that these drives may be working turns our understanding of physics on its head. As you might be familiar ,all chemical rockets (think the Apollo or fireworks) work on more-or-less the same principle: direct the rapidly expanding gasses from the combustion of fuel and an oxidizer through a nozzle. The focused hypersonic movement of the gas pushes the rocket in the opposite direction through the conservation of momentum (Newton’s Third Law). Other types of rockets, such as ion rockets (, utilize the same principle by accelerating gasses to high speed using an electromagnetic field. Rockets that work in this manner are collectively known as reaction rockets.

Reaction rockets all share one critical drawback: they all must carry their own fuel. Fuel is heavy, I’ll let Randal Munroe of XKCD explain why this is a problem:

“If we want to launch a 65-kilogram spaceship, we need to burn around 90 kilograms of fuel. We load that fuel on board—and now our spaceship weighs 155 kilograms. A 155-kilogram spaceship requires 215 kilograms of fuel, so we load another 125 kilograms on board…

…fortunately, we’re saved from an infinite loop—where we add 1.3 kilograms for every 1 kilogram we add—by the fact that we don’t have to carry that fuel all the way up. We burn it as we go, so we get lighter and lighter, which means we need less and less fuel. But we do have to lift the fuel partway.”

For decades, long-term space exploration has been limited by the fuel problem and continues to represent a significant practical barrier. Overcoming the fuel problem would be a breakthrough of untold magnitude.

After all of that, what exactly is this reactionless drive? Chances are if you have read/watched/played any science fiction, a staple of faster-than-light space travel was a reactionless drive of some sort—an engine able to generate thrust without focusing the exhaust from the combustion of a propellant. Unfortunately, basic tenets of physics are not on our side. Remember Newton’s Third Law and the conservation of momentum? The same reason that a figure skater spins faster when they tuck in their legs is the same reason that rockets work at all. Removing the high-speed exhaust (and its mass) from the equation there is suddenly no force to move your rocket. Based on our current understanding of physics such an engine would indeed be an “impossible drive.”

With that, let’s look at the technologies causing the stir and what exactly they seem to be capable of. Before we begin I would like to remind you that we have very little certainty on any of the following; scientists are attempting to document and explain this unusual phenomenon.

Both the EmDrive and the Cannae Drive likely function on similar principles. You might have seen toys like this one that work on the principle that while photons have no relativistic mass, they do still possess momentum (start here for a discussion of this, or for a more formal treatment here). When the photons hit the wheel they transfer a small amount of energy, and with enough of them they overcome friction forces and turn the wheel. This action is known as radiation pressure, a principle loosely analogous to the water pressure that moves a turbine in a hydroelectric dam. The running hypothesis is that rapidly creating photons at specific frequencies in a specially designed chamber allows the particles to be focused out in one direction. Other hypotheses involve phrases like “quantum foam” and “space bubbles” that have not yet been entirely worked out into something cohesive. The inventor of the Cannae Drive claims that the particular shape of the internal cavity is critical to the design, although this has yet to be validated.

Both drive designs were independently tested by Eagleworks at the Johnson Space Center.

EmDrive test summary:

  1. A test at 2500W of power during which a thrust of 750 millinewtons was measured by a Chinese team at the Chinese Northwestern Polytechnical University
  2. A test at 50W of power during which a thrust of 50 micronewtons was measured by Eagleworks at the Johnson Space Center at ~760 Torr of pressure. (Summer 2014)
  3. A test at 50 W of power during which a thrust of 50 micronewtons was measured by Eagleworks at the Johnson Space Center at ~5.0×10−6torr or pressure. (Early 2015)

Now the Cannae test summary. They did three trials with different experimental setups:

  1. The device as the inventor designed it
  2. The device as the inventor designed it without the slotting that the inventor claimed was critical
  3. A control test that used the same energy, but without the cavity present in the design

Results summary:

  1. Approximately 25 micronewtons of thrust at 50W
  2. The same results as test #1, showing that at the very least, the slotting provided no benefit or detriment to the effect happening
  3. No measurable thrust

Tests were conducted on an apparatus that could measure down to 10 micronewtons and in multiple directions. It is important to note that these tests were not conducted in a vacuum like the EmDrive tests.

As you can see, incredibly tiny amounts of thrust are being generated at these low power levels. A force of 50 micronewtons is approximately the amount of force required to launch a few ants into space. Tiny, but significant.

Normally, technology this early in its development cycle—especially one that is throwing a wrench into several well established principles of Newtonian physics—would be greeted by an enormous amount of skepticism. Thankfully this holds true: I have rarely seen more critical discussion about an emerging technology than I have about these reactionless drives. What is certain is that there is something going on here. Whether or not it does turn out to be a reactionless drive remains to be seen. Larger scale tests at a higher power will be completed this year and should provide more insight. A fourth experiment with the EmDrive (not listed above) was conducted with a device called a Michelson interferometer inside the chamber—a device that is capable of measuring changes in spacetime (a gross oversimplification). The device noted changes in the compression of spacetime within the chamber while the EmDrive was activated. If your reaction to that last sentence was anything like mine, this discussion might be interesting.

Should this technology pan out, the implications are enormous. Virtually every form of transportation (including cars, bikes, and planes) in addition to rocketry and space exploration can benefit greatly from the development of a power efficient reactionless drive. I have been following these experiments closely for the last year, and given that they have been turned over for dozens of reviews and still hold any amount of water a year later is exciting.

With developments like these we are one step closer to the world I dreamed of as a child. Outer space gets closer every day.

Further reading:

  1. Papers from the experiments, including a set done by a Chinese laboratory (disclosure: sponsored by the inventor): One Two Three
  2. More detailed write-ups on the EmDrive
  3. Lengthy forum discussion on the experiments
  4. Historical “attempts” at the development of a reactionless drive; which (unsurprisingly) all sounds very similar to the history of perpetual motion machines.
  5. Discussion of the Michelson interferometer experiment
  6. Eagleworks data