Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Portal

From PCGamingWiki, the wiki about fixing PC games

This page is for the 2007 puzzle-platform game. For the unrelated 1986 game, see Portal (1986).

Portal
Portal cover
Developers
Valve Corporation
Portal with RTX Nvidia Lightspeed Studios
Publishers
Valve Corporation
Retail (The Orange Box) Electronic Arts
Russia Buka Entertainment
Portal with RTX Nvidia
Engines
Original Source 2007
Current Source 2013 Singleplayer
Release dates
Windows October 9, 2007
macOS (OS X) May 12, 2010
Linux May 2, 2013
Reception
Metacritic 90
IGDB 80
Taxonomy
Monetization One-time game purchase
Microtransactions None
Modes Singleplayer
Pacing Real-time
Perspectives First-person
Controls Direct control
Genres Platform, Puzzle, Shooter
Art styles Realistic
Themes Sci-fi, Contemporary, North America
Series Portal
Portal on HowLongToBeat
Portal on IGDB
Portal guide on StrategyWiki
Portal on MobyGames
Portal on Wikipedia
Subseries of Half-Life
Portal 2007
Portal 2 2011
Portal 2 Sixense Perceptual Pack 2013
Aperture Tag: The Paint Gun Testing Initiative (unofficial mod) 2014
Rexaura 2018
Portal Stories (series)
The Lab 2016
Bridge Constructor Portal 2017
Moondust 2018
Aperture Hand Lab 2019
Aperture Desk Job 2022

Warnings

The macOS (OS X) release of this game does not work on macOS Catalina (version 10.15) or later due to the removal of support for 32-bit-only apps.

Portal is a singleplayer first-person platform, puzzle and shooter game in the Portal series.

General information

Article on the official Valve Developer Community wiki
GitHub Issue Tracker for Portal and other Source-based games
Steam Community Discussions

Availability

Source DRM Notes Keys OS
Retail
Icon overlay.png
Windows
Steam
DRM-free after installation through Steam client (notes may include more details)
DRM-free when launched directly from the executable with -game portal[1] command line argument. (-game portal_rtx for the RTX edition)[citation needed]
Portal Bundle also available. The Linux port requires the Steam Linux Runtime 1.0 (scout).
Windows
macOS (OS X)
Linux
Soundtrack is available for free with purchase here.
Does not include the 14 bonus levels present in the Xbox 360 arcade & Nintendo Switch versions. However, modders ported over the levels, and have released them.[2]

Demo

A demo is available from Steam.

Monetization

Type Notes
One-time game purchase The game requires an upfront purchase to access.

Microtransactions

Type Notes
No microtransactions Game does not contain microtransactions.

DLC and expansion packs

Name Notes
Portal with RTX Brings full Vulkan ray tracing support[Note 1], DLSS 4 with Multi-Frame Generation (MFG), DLAA, Ray Reconstruction, DLSS Frame Generation and more detailed models with support for physically based rendering[4] by utilizing NVIDIA’s RTX Remix AI-assisted modding tool. Released on December 8, 2022.[5][6]
Require GPUs that supports Vulkan Ray Tracing.
Windows

Essential improvements

Skip intro videos

Use -novid command line argument[7]

Peixoto's patch

Has currently no effect on the latest version of Portal.[8]

Forced resolution allows in high resolution without shrinking the HUD\menus. Supersampling anti-aliasing is also possible.

Game data

In-game general settings
In-game general settings

Configuration file(s) location

System Location
Steam <path-to-game>\portal\cfg\
Windows HKEY_CURRENT_USER\Software\Valve\Source\portal\Settings
This game does not follow the XDG Base Directory Specification on Linux.

Save game data location

System Location
Steam <path-to-game>\portal\save\
<path-to-game>\portal\cfg\config.cfg[9]
<path-to-game>\portal\save\bonus_maps_data.bmd[10]

Save game cloud syncing

System Native Notes
Steam Cloud
1 GiB available.
Settings will sync too, except graphics settings.

Video

In-game general video settings
In-game general video settings
In-game advanced video settings. Avoid touching this panel in the Portal with RTX DLC.
In-game advanced video settings. Avoid touching this panel in the Portal with RTX DLC.

Graphics feature State WSGF Notes
Widescreen resolution
Multi-monitor
Ultra-widescreen
4K Ultra HD
Some text may be too small, see this thread.
Field of view (FOV)
Values between 75° and 110°[11] (up to 120° using fov_desired or via Gamepad UI) horizontal can be set via ingame slider.[12] For higher values use this guide.
Windowed
Borderless fullscreen windowed
For newer versions, update then set to "Run in a window (No Border), otherwise set launch options to -windowed -noborder.
Anisotropic filtering (AF)
Up to 16 samples.
Anti-aliasing (AA)
Up to 8x MSAA and up to 16x QCSAA. SGSSAA available with flag 0x004010C1.
High-fidelity upscaling
DLSS 2.5
Supported only when playing Portal with RTX DLC.[5][6]
Frame generation
DLSS Frame Generation
Supported only when playing Portal with RTX DLC.[5][6]
Vertical sync (Vsync)
Double buffered [13]
60 FPS and 120+ FPS
Capped at 300 FPS. Frame rate cap can be changed by changing fps_max in the developer console. Framerates of 1000 and above will cause issues without sv_cheats set to 1. Engine tick rate is fixed at 66.666 Hz. See High tick rate to increase the internal update rate to match the output FPS.[14]
High dynamic range display (HDR)
Rendered image uses SDR color space. In-game HDR option refers only to HDR Rendering.
Ray tracing (RT)
Full Ray tracing when playing the game through Portal with RTX DLC.[6]
Color blind mode
See the glossary page for potential alternatives.
HBAO also available with flags (increasing in strength from left to right) 0x00000014, 0x0000002C, 0x00000006 and 0x00000008.

High tick rate

All elements except mouse movements and character animations are locked to a 66.666 Hz update rate and are then interpolated to match the output FPS. This allows the game's physics to remain completely consistent at all frame rates (both higher and lower) without needing to implement a complex frame rate independent physics engine at the cost of slightly less smooth experience at very high rates.
This value has a lower bound of 0.1 and a higher bound of 0.001 (between 10 and 1000 FPS).
Increasing the internal update rate limit will also make the physics (especially object physics) much more intense. At the maximum value, after objects spawn in a map, they might start violently bouncing all over the map, having continuously higher and higher acceleration until they inevitably go out of bounds, making the level unbeatable, or heading straight for the player, causing a death. This is nondeterministic, meaning that the behaviors change all the time. Restart the map if objects are missing.
Modify with Cheat Engine[15]
  1. Install Cheat Engine and attach the game process.
  2. While engine.dll is selected in the memory search range, search for the following in rounded (extreme) mode, while Executable, Writable and CopyOnWrite is set to Don't Care and the Fast Scan option disabled: 0.0150000 as a float.
  3. Change every value to 1/FPS (e.g. 0.006944444444 for 144 FPS or to 0.003333333333 for 300 FPS).
  4. Save the cheat table.
Temporary solution. The saved cheat table must be used and its values changed with each launch.

Input

In-game key map settings
In-game key map settings
In-game mouse/gamepad settings
In-game mouse/gamepad settings

Keyboard and mouse State Notes
Remapping
Mouse sensitivity
Mouse acceleration
Mouse input in menus
Keyboard and mouse prompts
Mouse Y-axis inversion
Controller
Controller support
While menu controls can be partially navigated with any major controller types[Note 2], in-game controls may not work. To ensure Controller Support works properly: head over to Options > Keyboard/Mouse and enable [Gamepad] and save.[Note 3][16].
Full controller support
Native since 2022 update, use -gamepadui Command line argument to enable Gamepad UI[Note 4]. By default, this will also enable Vulkan, which can cause the game to crash on incompatible hardware.

If enabling the Gamepad UI is desired on systems with GPUs that does not support Vulkan, use -dx9 alongside -gamepadui in order to force the game to launch with DX9 mode instead of Vulkan, while having Gamepad UI enabled.[17]

For older version of the game (or some third-party mods) please use this X360 Gamepad UI mod instead, however keep in mind that it does not include the latest patches for the game, which fixes various bugs[18].
Controller remapping
Controller sensitivity
Controller Y-axis inversion
Controller types
XInput-compatible controllers
Xbox button prompts
In-game button prompts will not be shown during gameplay, but will be shown if using Steam Input API.
Impulse Trigger support
DirectInput-compatible controllers
PlayStation controllers
DualShock 4, DualSense, DualSense Edge
PlayStation button prompts
In-Game button prompts will not be shown during gameplay, but will be shown if using Steam Input API.
Motion sensors support
Light bar support
Adaptive trigger support
DualSense haptic feedback support
Connection modes Wired, Wireless (Bluetooth), Wireless (DualShock 4 USB Wireless Adapter)
[19]
Nintendo controllers
Tracked motion controllers
Other controller(s)
Both Nintendo Switch Pro Controller and Generic Gamepads are supported via Steam Input API
Additional button prompts

Nintendo Switch Pro Controller button prompts are supported via Steam Input API
Additional information
Button Prompts
For older version of the game (or third-party mods that don't support the Gamepad UI), use Controller UI Mod to get a choice of button prompts such as Xbox 360, Xbox One, PlayStation 3/4, Switch, and more.
Controller hotplugging
Input prompt override
Haptic feedback
Supported via Steam Input API.

If using the old version or Legacy XInput mode: you can bring back Controller rumble by download an updated version of the SDL2 runtime binary (choose Runtime Binaries x86) and replace it with the one in <path-to-game>\bin.[20] This works for any Source engine based game.
Simultaneous controller+KB/M
Steam Input
Steam Input API support
Steam Input prompt modes
 
 
 

SIAPI Button Icons
Steam Deck button prompts
Steam Controller (1st gen) button prompts
Motion sensors support
Camera (SIAPI Game Action)
Official controller preset(s)
DualSense (shared with Xbox, DualShock 4 and Nintendo Switch controller types), Steam Controller and Steam Deck.

Audio

In-game audio settings
In-game audio settings

Audio feature State Notes
Separate volume controls
Over-all game volume and separate music slider.
Surround sound
7.1, 5.1 surround sound, 4 speaker surround. 7.1 output may require DirectSound3D restoration software.
Subtitles
Closed captions
Mute on focus lost
"Silence the audio while the game window is in the background" check box.
EAX support
Set snd_legacy_surround 1 in console, 4 speakers in options, and use DSOAL for binaural HRTF mixing.
Royalty free audio

Localizations

Language UI Audio Sub Notes
English
Arabic
Fan translation by Arabization Horizon. Doesn't support the RTX version.
Belarusian
Fan translation, Steam Workshop. In the testing stage.
Simplified Chinese
Traditional Chinese
Czech
Czech
Fan translation; text, dub
Danish
Dutch
Finnish
French
German
Hebrew
Fan localization by Hebrew Adventure; download.
Hungarian
Localization by Pink Sunset Studio. Download here.
Fan localization by YinSasin (incl. Dubbing, Subtitles, Graphics); download.
Italian
Japanese
Korean
Norwegian
Polish
Polish lector [1]
Portuguese
Brazilian Portuguese
Added in latest updates.
Brazilian Portuguese
Fan translation with AI dubbing; download.
Russian
Later updates broke the voiceover's timings, resulting in voice lines not playing properly, with some of them being completely absent as well. A fan patch fixing this issue is avaialble.
Slovak
Fan translation; text, dub, Prelude
Spanish
Swedish
Turkish
Fan translation; download.

VR support

3D modes State Notes
vorpX
G3D, DirectVR
Officially supported game, see official vorpx game list.
Headsets
SteamVR
This game might be playable with the Revive Compatibility Layer (compatibility list).
Oculus VR (LibOVR)
See Oculus Rift.
Windows Mixed Reality
This game might be playable with the Revive Compatibility Layer.
Devices
Tracked motion controllers
Traditional controller
See Input for details.
Keyboard/Mouse
Novint Falcon

Oculus Rift

Enable Oculus Rift support[21]
  1. Find Portal in the Steam Library.
  2. Right-click and select Properties.
  3. Choose Set Launch Options....
  4. Add -vr and press OK.
  5. Close the window and relaunch the game.

Issues fixed

Missing crosshair

cl_drawcrosshair 1[citation needed]
  1. Open the console in-game (Default key is ~).
  2. Input cl_drawcrosshair 1 to show the crosshair. Similarly, cl_drawcrosshair 0 can be used to hide it.

Notes

The console might need to be enabled in the game settings.

Portals are rendered incorrectly or lack any effects

The game might default to DirectX 8, causing portals to be rendered without effects.
Run the game in DirectX 9 or higher[citation needed]
  • Add -dxlevel 95 to the game's launch options to run the game in DirectX 9, then remove it after running the game once or the in-game video options will keep resetting back to the defaults.

"Node Graph Out of Date. Rebuilding..." error in Still Alive levels

Download pre-built graphs[citation needed]
  1. Download this file.
  2. Extract Portal-StillAlive from the archive into <Steam-folder>\steamapps\sourcemods\.
  3. Launch the game.

Other information

API

Technical specs Supported Notes
Direct3D 9 Has compatibility levels for Direct3D 8 cards.
OpenGL 2.1 OS X and Linux only.
Vulkan
Undocumented officially. Enable Vulkan for base game using the -vulkan command line argument, however it's enabled by default when playing the Portal with RTX DLC.[22] Works via DXVK translation layer.[23][24] Windows[25] and Linux only.[citation needed]
Executable 32-bit 64-bit Notes
Windows
macOS (OS X)
This 32-bit-only macOS game does not work on macOS Catalina (10.15) or later.
Linux

Middleware

Middleware Notes
Physics Havok Physics Heavily modified variant.
Audio Miles Sound System
Interface VGUI2
Input SDL
Cutscenes Bink Video Used for startup intro video only.

Console commands

Games running on the Source engine can utilize Source Engine Console Commands for various tasks.
Enabling the console in Source games[citation needed]
  1. Launch the game.
  2. From the main menu, select Options.
  3. Select the Keyboard tab.
  4. Click the Advanced button.
  5. Check the box next to Enable developer console (~).
  6. Click Apply.

Notes

Some commands may first require enabling sv_cheats, it can be done with with the command sv_cheats 1.
Many servers will not allow playing with cheats enabled, or will disable them upon entering the server.
Users without a US keyboard could experience some problems.

Launch options

View the relevant Valve Developer wiki page for further information and a list of useful Source engine command line arguments.

Disable the radios from the Portal 2 ARG ("Transmission Received" achievement)

Before Portal 2 was announced, Valve ran an ARG that cryptically hinted at a sequel through an update in Portal. For users who have already completed the game, the update added a radio to find in every single level and carrying them all to the end to be vaporized caused them to emit shrieking noises. These noises could be decoded into pictures that seemed to hint at Portal 2, which was later confirmed. Since the ARG serves no purpose anymore other than to obtain the achievement itself, the audio that these radios play to alert their presence may be distracting. These radios can be disabled with a command.
Disable via console[26]
  1. To enable the console, follow these intructions.
  2. Type portal_disable_radios 1 into the console.

Notes

Won't take effect until the next map is loaded.
Disable via autoexec.cfg[27]
For the Portal RTX mod, use the portal_rtx\cfg directory instead of the portal\cfg directory.
  1. Head to <path-to-game>\portal\cfg.
  2. If autoexec.cfg does not already exist, create a new txt file named autoexec and change the txt part to cfg.
  3. Open autoexec.cfg with a text editor.
  4. Type portal_disable_radios 1 and save the file.

Notes

This will ensure the radios are disabled at game startup.
Disable via Steam Deck UI (PC)[28]
  1. Right click on Portal in the Steam Client and click properties.
  2. Add -gamepadui to the launch options and launch the game.
  3. Click on options and set Post-game radios to disabled (use or arrow keys).

Notes

Will keep setting after removing -gamepadui from the launch options.
On Portal RTX, -gamepadui must be used along with -dx9, otherwise it would break the renderer.

Portal with RTX lower presets

Portal with RTX DLC has very limited options to lower the graphical settings for the added ray tracing features. This results in limited performance on (older) ray tracing capable hardware.
Workaround: add more (unofficial) presets[citation needed]

Mods

Portal: Still Alive For PC

Ports over 14 Xbox Live Arcade exclusive bonus test chambers (and "Challenge" versions of them), which were based on Portal: The Flash Version Mappack, over to the PC-version with improved lighting and various improvements.
Also includes the original Portal: The Flash Version Mappack, made by Hen Mazolski.
Also includes a mockup of the cut escape ending of the Still Alive bonus chambers. And adds the “GLaDOS Voice Map” by Hen Mazolski.

Still Alive as Bonus Maps

The same as above, but in a form of a bonus maps, like in the original Xbox Live Arcade release.
Doesn't includes bonuses from original mod, like The Flash Version Mappack or GLaDOS Voice Map.

Quality of Life Mod

Includes Portal: Still Alive For PC campaign.
Additionally adds few new models and normal maps for some objects, re-implements a missing Glados voice line, over 70 materials have been given new or unused reflections and the viewmodel and playermodel have received updates as well.

Various fixes

System requirements

Windows
MinimumRecommended
Operating system (OS) Vista, 7
Processor (CPU) Intel Pentium 4 1.7 GHz
AMD Athlon XP 1700+
System memory (RAM) 512 MB
Storage drive (HDD/SSD) 4 GB
Video card (GPU) Nvidia GeForce 3
ATI Radeon 8500
128 MB of VRAM
DirectX 8.1 compatible
Windows 2000 was previously supported, but as future updates for this game and Steam occurred; the support was dropped, even with retail copies. Support for Windows XP were also dropped with 2022 Steam Deck update.
Must be run without Steam to play on Vista.
macOS (OS X)
Minimum
Operating system (OS) 10.5.8
Processor (CPU)
System memory (RAM) 1 GB
Storage drive (HDD/SSD) 4 GB
Video card (GPU) Nvidia GeForce 8 series
ATI Radeon X1600
Intel HD Graphics 3000


Notes

  1. Thus requires a GPU with Vulkan support and VK_KHR_ray_query Vulkan extension support.[3]
  2. -gamepadui is not compatible with Legacy/Native Xbox bindings.
  3. However: It might be automatically enabled if you launch Portal with any major controller types controller already connected. This behavior is similar to Half-Life 2 and Left 4 Dead 2's Native Controller support
  4. -gamepadui is always-on via Steam Deck

References

  1. Verified by User:Jwillikers on 2025-09-25
    Confirmed on Linux that hl2.sh run with the -game portal flag can be launched directly from the game folder without the Steam client running or launching.
  2. Portal: Still Alive for PC - last accessed on 17 May 2023
  3. Verified by User:Mrtnptrs on 2022-12-08
    Confirmed with content of hl2.d3d9.log.
  4. [Read First] Portal with RTX FAQ - Steam Discussion Forum - last accessed on 2022-12-08
  5. 5.0 5.1 5.2 Portal with RTX | 4K NVIDIA DLSS 3 Comparison Video - YouTube - last accessed on 2022-11-29
  6. 6.0 6.1 6.2 6.3 Portal with RTX - YouTube - last accessed on 2022-09-20
  7. Verified by User:Mine18 on 2024-08-15
    Tested it myself.
  8. Verified by User:Mrtnptrs on 2022-09-20
    Checked on September 2022 with DX9 version of the game and Peixoto's patch v0.10.8
  9. Verified by User:Taylor.mabby654 on 2024-05-21
    Contains chapter progress
  10. Verified by User:Taylor.mabby654 on 2024-05-21
    Contains bonus maps progress
  11. Originally 90° before 2022 patch
  12. Field of View - Valve Developer Community - last accessed on 17 May 2023
  13. Black mesa vsync is double buffered - last accessed on 2024
  14. 1000+ fps: tf2 breaks. But turning sv_cheats on fixes it.. for some reason? - YouTube - last accessed on 2022-09-20
  15. Verified by User:Radmaxx on 2025-02-17
  16. Verified by User:Al2009man on 2024-10-11
    Tested by using an Xbox One Controller and DualSense Controller, and ensuring Steam Input API is fully disabled.
  17. Verified by User:Kr0tchet on 2024-01-27
  18. Verified by User:Kr0tchet on 2024-01-27
    Bugs such as Dropship gun unable to turn in any direction will reappear once the Xbox 360 UI mod is installed.
  19. Verified by User:Al2009man on 2024-10-13
    Tested on DualShock 4 V2 and DualSense Controller while Steam Input is forcefully disabled.
  20. Verified by User:Al2009man on 2022-05-05
    Seems like this method no longer works on Steam Deck branch.
  21. "Portal 1 - steampipe beta Active for Rift now!" - Oculus Rift Developer Forums - last accessed on May 2023
  22. Portal vs Portal with RTX: tested on 4080, 4090, 3060, 3080, RX 6800 XT - YouTube - last accessed on 2022-12-08
  23. NVIDIA RTX Remix: Create & Share #RTXON Mods For Classic Games - last accessed on 2022-12-08
  24. Portal Gets A UI Update For The Steam Deck - The Gamer - last accessed on 2022-12-08
  25. Verified by User:kr0tchet on 2022-04-03
    dxvk_d3d9.dll exists in game directory (Windows only)
    dxvk_d3d9.dll exists in game directory (Windows only)
  • Verified by User:Scottvordem on 2023-01-16
  • Verified by User:Scottvordem on 2023-01-16
  • Verified by User:Scottvordem on 2023-01-17
    An in game option to toggle these radios exist only in the Steam Deck UI