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 2

From PCGamingWiki, the wiki about fixing PC games

Template:Infobox Portal (series)

General information

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

Availability

Template:Availability Table

All versions require Steam.

Game data

Template:Game Location Table

Save game cloud syncing

Template:Save Game Cloud Syncing

PlayStation 3

New PlayStation 3 versions of the game include a Steam code for use on the PC.[1]

Can be linked to a Steam account, which also gives you access to both the PC and Mac versions of the game. In addition, linking to Steam allows cross-platform multiplayer with PC and Mac players, access to your Steam friend list (chat, invites, etc.), Steam Achievements, and Steam Cloud save-games (not compatible with PC/Mac versions).
Each PlayStation 3 copy can only be linked to a Steam account once, so take care if buying the game used - all the benefits from linking to Steam may not be available. Similarly, purchasing one PlayStation 3 copy of the game will not allow co-op play with someone using the included PC or Mac version.

Video settings

Template:Video Settings

Input settings

Template:Input Settings

General

Split Screen Co-op

As of Nov 20th 2012, splitscreen mode has been officially added for Standard Co-op.[2]
NOTE: If you're using a keyboard/mouse for Player 1 and a 360 controller for Player 2, enter the following command into the Console to enable the control for Player 2: joy_remap_player_for_controller1 2

Old Method

Thanks to SPUF user chameleon8 we can play co-op on one monitor split. These instructions are a recreation of his, for a more detailed guide check out his thread.

  • Step One: Make a new config for your controller, this tutorial implies it is a 360 controller, in your portal2/cfg folder.
cmd2 joy_name "Xbox360 controller"

cmd2 joy_advanced 1
cmd2 joy_advaxisx 3
cmd2 joy_advaxisy 1
cmd2 joy_advaxisz 0
cmd2 joy_advaxisr 2
cmd2 joy_advaxisu 4
cmd2 joy_advaxisv 0

cmd2 joy_forwardsensitivity -1
cmd2 joy_sidesensitivity 1
cmd2 joy_pitchsensitivity 0.75
cmd2 joy_pitchsensitivity_default 0.75
cmd2 joy_yawsensitivity -1.5
cmd2 joy_yawsensitivity_default -1.5
cmd2 joy_autoaimdampenrange 0.85
cmd2 joy_autoaimdampen 0.5
cmd2 joy_lowend 0.75
cmd2 joy_lowmap 0.25
cmd2 joy_no_accel_scale 1
cmd2 joy_accelscale 2.0
cmd2 joy_accelmax 1.0
cmd2 joy_response_move 5
cmd2 joy_response_look 1
cmd2 joyadvancedupdate
cmd2 crosshair 1
cmd2 hud_draw_fixed_reticle 1

cmd2 bind "JOY1" "+jump"			// (A) Button
cmd2 bind "JOY2" "+duck"			// (B) Button
cmd2 bind "JOY3" "+use"				// (X) Button
cmd2 bind "JOY4" "+remote_view"			// (Y) Button
cmd2 bind "JOY5" "+quick_ping"			// Left Bumper
cmd2 bind "JOY6" "+zoom"			// Right Bumper
cmd2 unbind "JOY7" //"+mouse_menu_taunt"	// Back ("select") Button
cmd2 bind "JOY8" "gameui_activate"		// Start Button
cmd2 unbind "JOY9" //"+quick_ping"		// Left Stick In
cmd2 unbind "JOY10" //"+zoom"			// Right Stick In
cmd2 unbind "JOY11"
cmd2 unbind "JOY12"

cmd2 bind "Z AXIS POS" "+attack2"		// Left Trigger
cmd2 bind "Z AXIS NEG" "+attack"		// Right Trigger

cmd2 bind "POV_UP" "+mouse_menu_taunt"		// D-Pad
cmd2 bind "POV_LEFT" "+mouse_menu"		// D-Pad
cmd2 unbind "POV_RIGHT" //"+mouse_menu"		// D-Pad
cmd2 unbind "POV_DOWN" //"+mouse_menu_taunt"	// D-Pad

cmd2 joystick 1
cmd2 sk_autoaim_mode 2
cmd2 +jlook

This is effectively the joy_configuration.cfg file but with cmd2 placed in front of everything. Name this new config something like joy_coop.360.cfg and save in the "common/Portal 2/Portal2/cfg" folder. Customize whatever binds you want to, but keep cmd2 in front of any commands/binds.

  • Step Two: Press 'Play Cooperative on the Portal 2 menu and wait for your friends list to open.
  • Step Three: Plug in your controller and enter this into your console.
ss_map mp_coop_start
  • Step Four: While this loads, unplug your controller, wait a few seconds, then plug it back in. This should switch the player light on the 360 controller to the second slot. Once you have the light on the player 2 slot you can leave the joypad in and it should stay on that slot. If this doesn't work (you probably have a wireless 360 pad) you can give JoyID a go.
  • Step Five: Execute the config we just made in the developer console.
exec joy_coop.360.cfg

You should now be able to control the second slot with your 360 pad and the first should be whatever binds you had on the keyboard/mouse.

To play with two controllers use change the cmd2 joystick 1 line in the config to cmd2 joystick 2

Changing Subtitles Language

Open the console and enter the following:

cc_lang LanguageName

Substitute LanguageName with one of the available languages:

  • English
  • French
  • German
  • Spanish
  • Czech
  • Danish
  • Dutch
  • Finnish
  • Hungarian
  • Italian
  • Japanese
  • Korean
  • Norwegian
  • Polish
  • Portuguese
  • Romanian
  • Russian
  • Simplified Chinese
  • Swedish
  • Thai
  • Traditional Chinese
  • Turkish

Performance

Console Commands

To activate these, go to Options - Keyboard/Mouse - Allow Developer Console and enable it.

  • Turning off dynamic shadows
    r_shadows 0

Launch Options

  • Disable Intro Loading Videos
    -novid
  • Borderless Fullscreen Windowed
    -window 1 -noborder

General Issues and Fixes

Portal 2 Black Screen At Launch

This normally arises due to the resolution not being supported by your monitor. To fix this, run the game at your native desktop resolution.

Visual 2005 Run Time Error

Download and install Microsoft Visual Runtime Libraries to fix this problem.

Portal 2 Failed to create D3D device” Error

Install or Update DirectX and your video card drivers to fix this issue. In the launch options you need to put in your resolution:

-w 1366 -h 768

Replace the numbers with whatever your native resolution is.

Portal 2 Freezes After Logo Intro Video

  • Right-click on the game title under the Library in Steam and select Properties.
  • Under the General tab click the Set launch options... button.
  • Enter '-Novid' and click OK.
  • Close the game's Properties window and launch the game.

If that doesn't work, you can try verifying the games cache.

  • Load Steam
  • From the Library section, right-click on Portal 2 and select Properties from the menu.
  • Select the Local files tab and click the Verify integrity of game cache... button.
  • Steam will verify the game's files - this process may take several minutes.
  • Once the process is completed, the Check Window will automatically exit.

Note: If you have an FX bulldozer cpu, such as: AMD FX 4100. You need to:

  • Permanent Fix: Update the bios.
  • Temporary Fix: Visit this thread [1] and download and open the Orocho-CEG application. However, it must be restarted after each reboot.

Could not Load Library Client.

Add 'Steam.exe' and 'portal2.exe' to your firewall's exception lists and then run the game.

No Sound

Run the game with Stereo Sound if you are experiencing no sound or sound stuttering.

Sound Causing Stuttering

Update your sound card drivers and it will resolve this issue.

Generic Crash Fix

  • Navigate to the Portal 2 directory.
C:\Program Files (x86)\Steam\steamapps\common\portal 2
  • Right click on Portal 2.exe and select “Run as Administrator”.

If that doesn't work, try running the game in compatibility with Windows XP SP3.

Cinematic Audio Stutter

If this is occurring try to update your audio device drivers and uninstall any extra codecs you have installed. The reason is probably because multiple audio drivers and codecs are conflicting.

Lag Physics Blob Fix

  • Launch Portal 2 and go into the console by pressing '`'
  • Type in ‘r_threaded_blobulator 0′

Display Driver Has Stopped Working

  • Go to the Portal 2 folder.
C:\Program Files (x86)\Steam\steamapps\common/portal 2
  • Right click 'portal2.exe'.
  • Select troubleshoot in-compatibility issues.
  • Run Portal 2

Portal 2 Integrated Intel Graphics

Portal 2 does not to seem to run well with integrated graphics chipsets resulting in crashes and black screen. You can try running the game in Windowed mode, it may work or may not but worth a try.

  • Open Steam and go to the library
  • Right click Portal 2, click properties, then launch options
  • Add the following text in the launch options
-windowed
  • Close the window and launch Portal 2.

Console Commands

Games running on the source engine can utilize Source Engine Console Commands for various tasks.

System requirements

Template:System Requirements Template:System Requirements

References