Portal 2

From PCGamingWiki, the wiki about fixing PC games
Portal 2
Portal 2 cover
Developers
Valve Corporation
Engines
Source
Release dates
Windows April 19, 2011
OS X April 19, 2011
Linux June 17, 2014
Portal
Portal 2007
Portal 2 2011
Portal 2 Sixense Perceptual Pack 2013

Key points

Runs on low-end hardware.
Includes two-player split-screen co-op and controller support.
Built-in level editor with Steam Workshop support.[1]

General information

Official Portal 2 Site
Official Valve Portal 2 Site
Unofficial Portal Wiki
Portal Section of the Half-Life Wikia
Steam Community Discussions
Steam Users' Forums
Steam Workshop for Portal 2

Availability[edit]

Source DRM Notes Keys OS
Retail All copies of Portal 2 on PlayStation 3 come with a Steam key.
Green Man Gaming
Steam
All versions require Steam.
Soundtrack is available for free here.

PlayStation 3[edit]

The PlayStation 3 version includes a single-use product key for Steam.
Can be linked to a Steam account, which allows cross-platform multiplayer with Steam players, access to your Steam friend list (chat, invites, etc.), Steam Achievements, and Steam Cloud save-games (PlayStation 3 saves are not compatible with other versions).

Essential improvements[edit]

Skip intro videos[edit]

By using a launch parameter
  1. Right click on the game in your Steam library and select "Properties"
  2. Click "Set launch options"
  3. Enter -novid

Game data[edit]

Configuration files location[edit]

System Location
Steam <path-to-game>/portal2/cfg/

Save game data location[edit]

System Location
Steam <path-to-game>/portal2/SAVE/

Save game cloud syncing[edit]

System Native Notes
Steam Cloud

Video settings[edit]

In-game general video settings.
In-game general video settings.
In-game advanced video settings.
In-game advanced video settings.
Graphics option Option WSGF Notes
Widescreen resolution
Multi-monitor
Ultra-widescreen
4K Ultra HD
Field of view (FOV)
See Field of view (FOV).
Windowed
Borderless fullscreen windowed
Anisotropic filtering (AF)
Up to 16 samples.
Anti-aliasing (AA)
Up to 8x MSAA and up to 16x QCSAA.
Vertical sync (Vsync)
Double and triple buffered.
60 FPS
120+ FPS
No frame rate or refresh rate cap.[2]

Field of view (FOV)[edit]

Enter console commands[3]
  1. Go to Options, Keyboard/Mouse, and set Allow Developer Console to Enabled.
  2. Press ~ to toggle the console.
  3. Type in bind w "+forward; cl_fov 110" and press Enter.
  4. Type in viewmodel_offset_y 6 and press Enter. This moves the portal gun's position further away.
  5. Every time you load a map, press w to change the FOV to 110°.

Split-screen without bezels[edit]

Portal 2 split-screen mode was meant to be played on a single 16:9 screen only. If you have a different setup then, the image could not entirely fit the monitor(s).
Edit split-screen aspect-ratio[4]
  1. Go to <path-to-game>/portal 2
  2. Open splitscreen_config.txt with a text editor
  3. Look for "aspect" "8 by 9" string
  4. Change it accordingly to your actual aspect ratio divided by 2

Notes

If you are interested to horizontal split-screen aspect ratio, you should look instead for "aspect" "32 by 9" string (remember that you need to multiply by 2 the aspect ratio now)

Input settings[edit]

In-game general controls settings.
In-game general controls settings.
In-game gamepad settings.
In-game gamepad settings.
In-game key map settings.
In-game key map settings.
Keyboard and mouse Native Notes
Remapping
Mouse acceleration
Mouse sensitivity
Mouse input in menus
Mouse Y-axis inversion
Controller
Controller support
Perpetual Testing Initiative level select menu is buggy but workable.
Full controller support
Controller remapping
Controller sensitivity
Has separate sliders for horizontal and vertical sensitivity.
Controller Y-axis inversion
Additional information
Button prompts
Controller hotplugging
Haptic feedback

Audio settings[edit]

In-game audio settings.
In-game audio settings.
Audio options Native Notes
Separate volume controls
Over-all game volume and separate music slider.
Surround sound
7.1, 5.1 surround sound, 4 speaker surround[5]
Subtitles
For non-English subtitles, see Changing subtitle language.
Closed captions
Mute on focus lost

Localizations

Language UI Audio CC Notes
English
Finnish
French
German
Spanish
Czech
Danish
Dutch
Hungarian
Italian
Japanese
Korean
Norwegian
Polish
Portuguese
Romanian
Russian
Simplified Chinese
Swedish
Thai
Traditional Chinese
Turkish

Changing subtitle language[edit]

Enter cc_lang LanguageName into the console
  1. Open the console (~) and enter cc_lang LanguageName
  2. Substitute LanguageName with available language.

Network[edit]

Multiplayer types

Type Native Players Notes
Local play
2 Co-op
Two player split-screen
LAN play
Online play
2 Co-op

Connection types

Type Native Notes
Matchmaking
Peer-to-peer
Dedicated
Self-hosting
Direct IP
Open the console (~) and enter connect followed by the IP and port.

Ports

Protocol Port(s) and/or port range(s)
TCP (outbound) 27014-27050
UDP (outbound) 3478, 4379-4380, 27000-27030

VR support[edit]

3D modes Native GG3D Notes
Native 3D
Nvidia 3D Vision
Use Helix Mod: Portal 2 for better support.
TriDef 3D
iZ3D

Issues fixed[edit]

Reflective lighting in certain levels broken[edit]

Lower Shader Detail to "Medium" under Advanced Video options.
For a temporary fix without lowering Shader Detail, read the alternative solution in this guide on Steam Community boards.

Purple and black broken textures[edit]

A generic fix for this issue can be found on our Source engine page.

Split-screen co-op[edit]

As of November 20, 2012, splitscreen mode has been officially added for Standard Co-Op.[6]
If you'd like to use a keyboard/mouse for Player 1 and a controller for Player 2 in Windows, follow these instructions:
Input joy_remap_player_for_controller1 2
  1. Open the console in Portal 2
  2. Input joy_remap_player_for_controller1 2
  3. Play
If you'd like to use a keyboard/mouse for Player 2 and a controller for Player 1 in OS X or Linux, follow these instructions:
Use in_forceuser to switch keyboard and mouse to player 2
  1. Make sure your controller is connected beforehand
  2. Open Portal 2
  3. Open the console
  4. Start a coop game ss_map mp_coop_start
  5. Run the following commands sv_cheats 1 then in_forceuser 1
  6. Keyboard/mouse is now controlling player 2 and the gamepad is controlling player 1.
  7. Play

Black screen at launch[edit]

Set your resolution to your native desktop resolution

'Visual 2005 Runtime' error[edit]

Install Microsoft Visual Runtime Libraries
  1. Visit Microsoft Visual Runtime Libraries
  2. Download and install the files provided
  3. Run the game

'Portal 2 Failed to create D3D device' error[edit]

Install DirectX
  1. Install/update DirectX
  2. Find Portal 2 in your Steam Library
  3. Right-click the game name
  4. Select Properties
  5. Select Set Launch Options...
  6. Input -w # -h #, where each # is your monitor's width and height respectively.

Freezes after logo intro video[edit]

-novid
  1. Find Portal 2 in your Steam Library
  2. Right-click the game name
  3. Select Properties
  4. Select Set Launch Options...
  5. Input -novid
  6. Press OK and launch the game
Verify Your Game Cache
  1. Find Portal 2 in your Steam Library
  2. Right-click the game name
  3. Select Properties
  4. Go to the Local Files tab
  5. Select Verify Integrity of Game Cache...
  6. This may take a while, just wait for it to finish
  7. Once it's done press OK
  8. Launch the game
If you have an FX Bulldozer CPU, such as the AMD FX 4100, you may need to:
Update the BIOS
Updating the BIOS may fix this issue
Orocho-CEG
  1. Visit this thread
  2. Download and open the Orocho-CEG application

Notes

Orocho-CEG must be restarted after each reboot

Freezes and stuttering on Mac[edit]

-nojoy
  1. Find Portal 2 in your Steam Library
  2. Right-click the game name
  3. Select Properties
  4. Select Set Launch Options...
  5. Input -nojoy
  6. Press OK and launch the game

'Could not Load Library Client' error[edit]

Add Steam.exe and portal2.exe to your firewall's exception lists
  1. Open your firewall's software
  2. Find your exception list
  3. Add Steam.exe and portal2.exe to your exceptions list
  4. Open the game

No sound[edit]

Run the game with Stereo Sound

Sound causing stuttering[edit]

Update your sound card drivers

Generic crash fixes[edit]

Run as Administrator
  1. Go to the installation folder.
  2. Right-click on Portal2.exe and select Run as Administrator
Run in compatibility mode
  1. Go to the installation folder.
  2. Right-click on Portal2.exe and select Run in Compatibility Mode
  3. Make it run in compatibility mode with Windows XP SP3

Cinematic audio stutter[edit]

Update your audio device drivers
  1. Update audio device drivers
  2. Uninstall extra codecs you have installed

Lag physics blob fix[edit]

Input r_threaded_blobulator 0 in the console
  1. Open the console (~)
  2. Input r_threaded_blobulator 0

Portal 2 with Integrated Intel Graphics[edit]

Portal 2 may have problems running on integrated Intel graphics cards, including crashing and black screens. Windowed mode may fix this.
-windowed
  1. Find Portal 2 in your Steam Library
  2. Right-click the game name
  3. Select Properties
  4. Select Set Launch Options...
  5. Input -windowed
  6. Launch Portal 2

Other information[edit]

API[edit]

Technical specs Supported Notes
Direct3D 9
OpenGL 2.1 OS X and Linux only.
Shader Model support 2, 3
64-bit executable
OS X and Linux only.[citation needed]

Middleware[edit]

Middleware Notes
Physics Havok Heavily modified variant.
Audio Miles Sound System
Cutscenes Bink Video
Multiplayer Steamworks

Console commands[edit]

Games running on the Source engine can utilize Source Engine Console Commands for various tasks.
Enabling the console in Source games
  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 you enabling sv_cheats. You can do so with sv_cheats 1.
Users without a US keyboard could experience some problems.
You can also have the console open by default on launch by following this guide:
-console
  1. Find Portal 2 in your Steam Library
  2. Right-click the game name
  3. Select Properties
  4. Select Set Launch Options...
  5. Input -console
  6. Press OK
  7. Launch the game

Launch options[edit]

View this Steam Support Article regarding launch options as well as the relevant Valve Developer wiki page for further information and a list of useful Source engine launch options.
Enabling a launch parameter
  1. Find the game in your Steam Library
  2. Right-click the game name
  3. Select Properties
  4. Select Set Launch Options...
  5. Input your selected launch options and separate each command with a space
  6. Press OK
  7. Launch the game

System requirements[edit]

Windows
Minimum
Operating system (OS) XP, Vista, 7
Processor (CPU) Intel Pentium 4 3.0 GHz or 2 GHz dual-core
System memory (RAM) 1 GB (XP)
2 GB (Vista, 7)
Hard disk drive (HDD) 7.6 GB
Video card (GPU) 128 MB of VRAM
DirectX 9.0 compatible
OS X
Minimum Recommended
Operating system (OS) 10.6.7
Processor (CPU) Intel Core Duo 2.0 GHz
System memory (RAM) 2 GB 4 GB
Hard disk drive (HDD) 7.6 GB
Video card (GPU) ATI Radeon HD 2400
NVIDIA GeForce 8600M
Intel HD Graphics 3000
Linux
Minimum
Operating system (OS) Ubuntu 12.04
Processor (CPU) Dual core from Intel or AMD at 2.8 GHz
System memory (RAM) 2 GB
Hard disk drive (HDD) 8 GB
Video card (GPU) ATI Radeon HD2600/3600
nVidia GeForce 8600/9600GT

References

  1. News - Portal 2 Perpetual Testing Initiative Begins May 8
  2. New 120Hz Games Report
  3. Permanent FOV in Portal 2 and Change Portal Gun Position - YouTube
  4. Widescreen gaming blog post on Eyefinity in Left 4 Dead 1
  5. Portal 2 EAX sound fix for sublime sound - Steam Users' Forums
  6. Portal 2 Update Released - Steam News for Portal 2