Skip to content

Instantly share code, notes, and snippets.

View William-Carter's full-sized avatar

William Carter William-Carter

  • Australia
  • 23:53 (UTC +10:00)
View GitHub Profile

The Ultimate Portal Speedrun Guide

Welcome! This is an extensive guide to speedrunning Portal! Here you'll find everything you need on your speedrunning journey, from the basics of setting up the game, to the most advanced strategies a runner can learn.

If you're new to this, read through the Setup Guide.

Otherwise, jump ahead to the tutorials:

Glitchless - Inbounds No SLA - Inbounds - Out of Bounds

General Rules

Beat the game without scripts, macros or cheats. This has to be done in one sitting, quicksaves and quickloads are allowed.

No setup can be peformed prior to the start of the run. This includes obtaining persistent glitched states such as Item Save Glitch (ISG).

After reaching a given chapter, the 'New Game' menu can be used to reload from that chapter. If this is to be performed, the command sv_unlockedchapters 0 must be executed before the run is started.

Game Version

Speedruns can be performed on three builds of the game:

import turtle, time, sys, random
turtle.tracer(0, 0)
turtle.setup( width = 710, height = 700, startx = None, starty = None)
tu = turtle.Turtle()
tu.shape("square")
tu.color("yellow")
tu.up()
tu.turtlesize(2)
tu.sety(50)