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.

Difference between revisions of "Portal 2"

From PCGamingWiki, the wiki about fixing PC games
m
 
(213 intermediate revisions by 81 users not shown)
Line 4: Line 4:
 
{{Infobox game/row/developer|Valve Corporation}}
 
{{Infobox game/row/developer|Valve Corporation}}
 
|publishers  =  
 
|publishers  =  
 +
{{Infobox game/row/publisher|Valve Corporation}}
 +
{{Infobox game/row/publisher|Buka Entertainment|Russia}}
 
|engines      =  
 
|engines      =  
 
{{Infobox game/row/engine|Source}}
 
{{Infobox game/row/engine|Source}}
Line 10: Line 12:
 
{{Infobox game/row/date|OS X|April 19, 2011}}
 
{{Infobox game/row/date|OS X|April 19, 2011}}
 
{{Infobox game/row/date|Linux|June 17, 2014}}
 
{{Infobox game/row/date|Linux|June 17, 2014}}
 +
|reception    =
 +
{{Infobox game/row/reception|Metacritic|portal-2|95}}
 +
{{Infobox game/row/reception|IGDB|portal-2|92}}
 +
|taxonomy    =
 +
{{Infobox game/row/taxonomy/monetization      | One-time game purchase, Cross-game bonus}}
 +
{{Infobox game/row/taxonomy/microtransactions | Time-limited}}
 +
{{Infobox game/row/taxonomy/modes            | Singleplayer, Multiplayer}}
 +
{{Infobox game/row/taxonomy/pacing            | Real-time}}
 +
{{Infobox game/row/taxonomy/perspectives      | First-person}}
 +
{{Infobox game/row/taxonomy/controls          | Direct control}}
 +
{{Infobox game/row/taxonomy/genres            | Platform, Puzzle}}
 +
{{Infobox game/row/taxonomy/art styles        | Realistic}}
 +
{{Infobox game/row/taxonomy/themes            | Sci-fi, North America, Post-apocalyptic}}
 +
{{Infobox game/row/taxonomy/series            | Portal}}
 
|steam appid  = 620
 
|steam appid  = 620
|steam appid side = 323180
+
|steam appid side = 659, 660, 323180, 104600
|gogcom page  =  
+
|gogcom id    =  
 +
|hltb        = 7231
 +
|lutris      = portal-2
 +
|official site= http://www.thinkwithportals.com/
 +
|strategywiki = Portal 2
 +
|mobygames    = 51233
 
|wikipedia    = Portal 2
 
|wikipedia    = Portal 2
 +
|winehq      = 12988
 +
|license      = commercial
 
}}
 
}}
{{Series|Portal}}
 
  
'''Key points'''
+
{{Introduction
{{++}} Runs on low-end hardware.
+
|introduction      =
{{++}} Includes two-player split-screen co-op and controller support.
+
 
{{++}} Built-in level editor with Steam Workshop support.<ref>[http://store.steampowered.com/news/7842/ News - Portal 2 Perpetual Testing Initiative Begins May 8]</ref>
+
|release history  =
 +
 
 +
|current state    =
 +
}}
  
 
'''General information'''
 
'''General information'''
{{mm}} [http://www.thinkwithportals.com/ Official Portal 2 Site]
+
{{mm}} [https://steamcommunity.com/app/620/discussions/ Steam Community Discussions]
{{mm}} [http://www.valvesoftware.com/games/portal2.html Official Valve Portal 2 Site]
+
{{mm}} [https://steamcommunity.com/workshop/browse/?appid=620 Steam Workshop for Portal 2]
{{mm}} [http://theportalwiki.com/wiki/Main_Page Unofficial Portal Wiki]
 
{{mm}} [http://half-life.wikia.com/wiki/Portal Portal Section of the Half-Life Wikia]
 
{{mm}} [http://steamcommunity.com/app/620/discussions/ Steam Community Discussions]
 
{{mm}} [http://forums.steampowered.com/forums/forumdisplay.php?f=854 Steam Users' Forums]
 
{{mm}} [http://steamcommunity.com/workshop/browse/?appid=620 Steam Workshop for Portal 2]
 
  
 
==Availability==
 
==Availability==
 
{{Availability|
 
{{Availability|
{{Availability/row| Retail | | Steam | All copies of Portal 2 on PlayStation 3 come with a Steam key. |  | Windows, OS X, Linux }}
+
{{Availability/row| Retail | | Steam | |  | Windows, OS X }}
{{Availability/row| GMG | portal-2 | Steam | |  | Windows, OS X, Linux }}
+
{{Availability/row| Steam | 620 | Steam | [https://store.steampowered.com/bundle/234/Portal_Bundle Portal Bundle] also available. |  | Windows, OS X, Linux }}
{{Availability/row| Steam | 620 | Steam | | | Windows, OS X, Linux }}
+
}}
 +
{{ii}} All versions require {{DRM|Steam}}.
 +
{{++}} Soundtrack is available for free {{store link|Steam|323180|as DLC}} and [http://www.thinkwithportals.com/music.php on the official website].
 +
{{--}} Owners of the PlayStation 3 version were previously able to redeem a single-use product key for [[Steam]] as well as link their game to a Steam account, which allowed 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). However, Valve dropped support for PlayStation 3 in 2016 and shutdown the servers without warning on May 22, 2018.<ref>https://www.playstationtrophies.org/forum/topic/300749-platinum-unobtainable-servers-shutdown-22052018/</ref>
 +
 
 +
==Monetization==
 +
{{Monetization
 +
|ad-supported                =
 +
|cross-game bonus            = 7 specific hats obtainable in [[Team Fortress 2]]<ref>{{Refurl|url=https://wiki.teamfortress.com/wiki/Portal_2|title=Portal 2 - Team Fortress Wiki|date=29 March 2023}}</ref> can (if the player owns the hats in Team Fortress 2) be used in Portal 2's co-op modes.
 +
|dlc                        =
 +
|expansion pack              =
 +
|freeware                    =
 +
|free-to-play                =
 +
|one-time game purchase      =
 +
|sponsored                  =
 +
|subscription                =
 +
|subscription gaming service =
 
}}
 
}}
{{ii}} All versions require [[Steam]].
 
{{++}} Soundtrack is available for free {{store link|Steam|323180|here}}.
 
  
===PlayStation 3===
+
{{DLC|
{{ii}} The PlayStation 3 version includes a single-use product key for [[Steam]].
+
{{DLC/row| Peer Review | Free, included in latest update. Requires completion of the original co-op missions.<ref>{{Refurl|url=https://gaming.stackexchange.com/questions/32061/how-do-i-actually-start-the-peer-review-dlc-on-portal-2|title=gaming.stackexchange.com|date=May 2023}}</ref> | Windows, OS X, Linux }}
{{++}} 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).
+
{{DLC/row| Roll cage | Pre-order only | Windows, OS X, Linux }}
 +
{{DLC/row| Paint job | Pre-order only | Windows, OS X, Linux }}
 +
{{DLC/row| Antenna topper | Pre-order only | Windows, OS X, Linux }}
 +
{{DLC/row| Sixense MotionPack | Included in the limited edition of the [[Controller:Razer Hydra|Razer Hydra]] motion controller. (Which is now discontinued.) The DLC is incompatible with the latest builds of the game, and requires the [https://www.moddb.com/games/portal-2/downloads/portal-2-sixense-motionpack-post-february-2021-setup Sixense MotionPack DLC Preservation Mod] to make it work on the latest game builds. | Windows, OS X, Linux | unavailable }}
 +
}}
  
 
==Essential improvements==
 
==Essential improvements==
 
===Skip intro videos===
 
===Skip intro videos===
{{Fixbox|1=
+
{{Fixbox|description=Use <code>-novid</code> [[Glossary:Command line arguments|command line argument]]|ref=<ref>{{Refcheck|user=Mine18|date=2022-12-23}}</ref>}}
{{Fixbox/fix|By using a launch parameter}}
 
# Right click on the game in your Steam library and select "Properties"
 
# Click "Set launch options"
 
# Enter <code>-novid</code>
 
}}
 
  
 
==Game data==
 
==Game data==
===Configuration files location===
+
===Configuration file(s) location===
 
{{Game data|
 
{{Game data|
{{Game data/row|Steam|{{p|game}}/portal2/cfg/}}
+
{{Game data/config|Windows|{{p|game}}\portal2\cfg\|{{p|game}}\portal2_dlc2\cfg\|{{p|game}}\update\cfg\}}
 +
{{Game data/config|OS X|}}
 +
{{Game data/config|Linux|}}
 
}}
 
}}
 +
{{XDG|unknown}}
  
 
===Save game data location===
 
===Save game data location===
 
{{Game data|
 
{{Game data|
{{Game data/row|Steam|{{p|game}}/portal2/SAVE/}}
+
{{Game data/saves|Steam|{{p|game}}\portal2\SAVE\}}
 
}}
 
}}
  
 
===[[Glossary:Save game cloud syncing|Save game cloud syncing]]===
 
===[[Glossary:Save game cloud syncing|Save game cloud syncing]]===
 
{{Save game cloud syncing
 
{{Save game cloud syncing
|origin               =  
+
|discord                  =
|origin notes         =  
+
|discord notes            =
|steam cloud           = true
+
|epic games launcher      =
|steam cloud notes    =  
+
|epic games launcher notes =
|uplay                =  
+
|gog galaxy                =
|uplay notes           =  
+
|gog galaxy notes          =
 +
|origin                   =  
 +
|origin notes             =  
 +
|steam cloud               = true
 +
|steam cloud notes        = Approx. 1 GB available.
 +
|ubisoft connect          =
 +
|ubisoft connect notes    =  
 +
|xbox cloud                =  
 +
|xbox cloud notes         =  
 
}}
 
}}
  
==Video settings==
+
==Video==
 
{{Image|Portal 2 General Video.png|In-game general video settings.}}
 
{{Image|Portal 2 General Video.png|In-game general video settings.}}
 
{{Image|Portal 2 Advanced Video.png|In-game advanced video settings.}}
 
{{Image|Portal 2 Advanced Video.png|In-game advanced video settings.}}
{{Video settings
+
{{Video
|wsgf link                  = http://www.wsgf.org/dr/portal-2
+
|wsgf link                  = https://www.wsgf.org/dr/portal-2
 
|widescreen wsgf award      = gold
 
|widescreen wsgf award      = gold
 
|multimonitor wsgf award    = gold
 
|multimonitor wsgf award    = gold
|ultrawidescreen wsgf award = incomplete
+
|ultrawidescreen wsgf award = gold
 
|4k ultra hd wsgf award    = incomplete
 
|4k ultra hd wsgf award    = incomplete
 
|widescreen resolution      = true
 
|widescreen resolution      = true
|widescreen resolution notes=  
+
|widescreen resolution notes= {{Term|Hor+}}
 
|multimonitor              = true
 
|multimonitor              = true
|multimonitor notes        =  
+
|multimonitor notes        = {{Term|Hor+}}
 
|ultrawidescreen            = true
 
|ultrawidescreen            = true
|ultrawidescreen notes      =  
+
|ultrawidescreen notes      = {{Term|Hor+}}
 
|4k ultra hd                = true
 
|4k ultra hd                = true
|4k ultra hd notes          =  
+
|4k ultra hd notes          = Crosshair scales poorly with resolutions larger than 1280 pixels wide, making it too small in very high resolutions.
 
|fov                        = hackable
 
|fov                        = hackable
 
|fov notes                  = See [[#Field of view (FOV)|Field of view (FOV)]].
 
|fov notes                  = See [[#Field of view (FOV)|Field of view (FOV)]].
Line 100: Line 144:
 
|anisotropic notes          = Up to 16 samples.
 
|anisotropic notes          = Up to 16 samples.
 
|antialiasing              = true
 
|antialiasing              = true
|antialiasing notes        = Up to 8x [[MSAA]] and up to 16x [[QCSAA]].  
+
|antialiasing notes        = Up to 8x [[MSAA]]. Nvidia users can acheive OGSSAA hybrid modes combined with TrSSAA using flag <code>0x000000C0</code>.<ref>https://www.forum-3dcenter.org/vbulletin/showpost.php?p=9559666&postcount=3606</ref>
 +
|upscaling                  = unknown
 +
|upscaling tech            =
 +
|upscaling notes            =
 
|vsync                      = true
 
|vsync                      = true
 
|vsync notes                = Double and triple buffered.
 
|vsync notes                = Double and triple buffered.
Line 106: Line 153:
 
|60 fps notes              =  
 
|60 fps notes              =  
 
|120 fps                    = true
 
|120 fps                    = true
|120 fps notes              = No frame rate or refresh rate cap.<ref>[http://120hz.net/showthread.php?3258-New-120Hz-Games-Report New 120Hz Games Report]</ref>
+
|120 fps notes              = Capped at 300 FPS. Frame rate cap can be changed by changing <code>fps_max</code> in the [[#Enabling the console|developer console]]. To uncap FPS or cap FPS higher than 300 you must first set <code>sv_cheats = 1</code> before using <code>fps_max</code>. <code>sv_cheats = 1</code> will also disable achievements.<br>
 +
"Laptop Power Setting" enables a 30fps limit
 +
|hdr                        = unknown
 +
|hdr notes                  =
 
|color blind                = unknown
 
|color blind                = unknown
 
|color blind notes          =  
 
|color blind notes          =  
 
}}
 
}}
 +
{{ii}} HBAO also available with flag <code>0x00000014</code>.
  
 
===[[Glossary:Field of view (FOV)|Field of view (FOV)]]===
 
===[[Glossary:Field of view (FOV)|Field of view (FOV)]]===
{{Fixbox|1=
+
{{Fixbox|description=Enter console commands|ref=<ref>{{Refurl|url=https://www.youtube.com/watch?v=9DyU_W3z4k8|title=Permanent FOV in Portal 2 and Change Portal Gun Position - YouTube|date=May 2023}}</ref>|fix=
{{Fixbox/fix|Enter console commands|ref=<ref>[https://www.youtube.com/watch?v=9DyU_W3z4k8 Permanent FOV in Portal 2 and Change Portal Gun Position - YouTube]</ref>}}
 
 
# Go to Options, Keyboard/Mouse, and set Allow Developer Console to Enabled.
 
# Go to Options, Keyboard/Mouse, and set Allow Developer Console to Enabled.
 
# Press {{key|~}} to toggle the console.
 
# Press {{key|~}} to toggle the console.
# Type in <code>bind w "+forward; cl_fov 110"</code> and press {{key|Enter}}.
+
# Type in {{code|bind w "+forward; cl_fov xx"}}, replacing {{code|xx}} with the desired FOV, and press {{key|Enter}}.
# Type in <code>viewmodel_offset_y 6</code> and press {{key|Enter}}. This moves the portal gun's position further away.
+
# OPTIONAL: Type in {{code|viewmodel_offset_y 6}} and press {{key|Enter}}. This moves the portal gun's position further away.
# Every time you load a map, press {{key|w}} to change the FOV to 110°.
+
# Every time you load a map, press {{key|w}} to change the FOV to the desired value.
 
}}
 
}}
  
===Split-screen without bezels===
+
===Disable motion blur===
{{ii}} 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).  
+
{{Fixbox|description=Use the {{code|+mat_motion_blur_percent_of_screen_max 0}} [[Glossary:Command line arguments|command line argument]]|ref=<ref name="steamcommunity.com">https://steamcommunity.com/app/620/discussions/0/133258593395350927/</ref>}}
{{Fixbox|1=
+
 
{{Fixbox/fix|Edit split-screen aspect-ratio|ref=<ref>[http://www.wsgf.org/blog/blevar/2012/01/13/howto-left-4-dead-split-screen-eyefinity Widescreen gaming blog post] on Eyefinity in Left 4 Dead 1</ref>}}
+
===Disable bloom===
# Go to <code>{{p|game}}/portal 2</code>
+
{{Fixbox|description=Use the {{code|+mat_disable_bloom 1}} [[Glossary:Command line arguments|command line argument]]|ref=<ref name="steamcommunity.com">https://steamcommunity.com/app/620/discussions/0/133258593395350927/</ref>}}
# Open <code>splitscreen_config.txt</code> with a text editor
+
 
# Look for <code>"aspect" "8 by 9"</code> string
+
===Run at monitor's refresh rate===
# Change it accordingly to your actual aspect ratio '''''divided by 2'''''
+
{{Fixbox|description=Use the {{code|-refresh }}&nbsp;[[Glossary:Command line arguments|command line argument]], followed by the desired refresh rate.|ref={{cn|date=May 2019}}|fix=}}
'''Notes:'''
+
 
{{ii}} If you are interested to horizontal split-screen aspect ratio, you should look instead for <code>"aspect" "32 by 9"</code> string (remember that you need to ''multiply by 2'' the aspect ratio now)
+
===[[Glossary:Frame rate capping|Cap frame rate]]===
}}
+
{{Fixbox|description=Use the {{code|+fps_max }}&nbsp;[[Glossary:Command line arguments|command line argument]], followed by the desired frame rate.|ref={{cn|date=May 2019}}|fix=}}
  
==Input settings==
+
==Input==
 
{{Image|Portal 2 Controls.png|In-game general controls settings.}}
 
{{Image|Portal 2 Controls.png|In-game general controls settings.}}
 
{{Image|Portal 2 Gamepad.png|In-game gamepad settings.}}
 
{{Image|Portal 2 Gamepad.png|In-game gamepad settings.}}
 
{{Image|Portal 2 Remapping.png|In-game key map settings.}}
 
{{Image|Portal 2 Remapping.png|In-game key map settings.}}
{{Input settings
+
{{Image|Portal 2 Gamepad Remapping.png|In-game button map settings.}}
 +
{{Input
 
|key remap                = true
 
|key remap                = true
 
|key remap notes          =  
 
|key remap notes          =  
Line 148: Line 199:
 
|invert mouse y-axis      = true
 
|invert mouse y-axis      = true
 
|invert mouse y-axis notes =  
 
|invert mouse y-axis notes =  
 +
|touchscreen              = unknown
 +
|touchscreen notes        =
 
|controller support        = true
 
|controller support        = true
 
|controller support notes  = Perpetual Testing Initiative level select menu is buggy but workable.
 
|controller support notes  = Perpetual Testing Initiative level select menu is buggy but workable.
 
|full controller          = true
 
|full controller          = true
|full controller notes    =  
+
|full controller notes    = To make {{code|controller vibration}} work, download an updated version of the SDL2 file and replace it with the one in the Portal2\Bin folder. [https://www.libsdl.org/release/SDL2-2.0.12-win32-x86.zip SDL] This works for any Source engine based game.
 
|controller remap          = true
 
|controller remap          = true
 
|controller remap notes    =  
 
|controller remap notes    =  
Line 158: Line 211:
 
|invert controller y-axis  = true
 
|invert controller y-axis  = true
 
|invert controller y-axis notes=  
 
|invert controller y-axis notes=  
|touchscreen               =  
+
|xinput controllers        = true
|touchscreen notes        =  
+
|xinput controllers notes  =
|button prompts           = xbox
+
|xbox prompts              = true
|button prompts notes     =  
+
|xbox prompts notes        =
 +
|impulse triggers          = hackable
 +
|impulse triggers notes    = Use [https://github.com/araghon007/X1nput/releases X1nput]<ref>{{Refurl|url=https://www.reddit.com/r/pcgaming/comments/b31frk/x1nput_20_xbox_one_controller_impulse_triggers_on/|title=X1nput 2.0 - Xbox One Controller Impulse Triggers on (almost) any PC game|date=May 2023}}</ref>
 +
|dualshock 4               = true
 +
|dualshock 4 notes        = Officially supported via [[Steam Input]].
 +
|dualshock prompts        = true
 +
|dualshock prompts notes  = Both [[Controller:DualShock 4|DualShock 4]] and [[Controller:DualSense|DualSense]] prompts.
 +
|light bar support        = true
 +
|light bar support notes  = Static, Blue or Orange depending on last active portal
 +
|dualshock 4 modes        = Wired, wireless
 +
|dualshock 4 modes notes  =
 +
|tracked motion controllers= true
 +
|tracked motion controllers notes = [[Controller:Razer Hydra|Razer Hydra]] with the Portal 2 Sixense MotionPack DLC.
 +
|tracked motion prompts    = true
 +
|tracked motion prompts notes =
 +
|other controllers         = limited
 +
|other controllers notes  = Both [[Controller:Switch Pro Controller|Switch Pro Controller]] and Generic Gamepads are supported through [[Steam#Steam Input|Steam Input]].
 +
|other button prompts     = Nintendo, Xbox, DualShock
 +
|other button prompts notes= No generic DirectInput-type prompt, types of button prompts shown the the game depends on Steam Input settings.<ref>{{Refcheck|user=Fudgesiclesxd|date=2022-08-13}}</ref>
 
|controller hotplug        = true
 
|controller hotplug        = true
 
|controller hotplug notes  =  
 
|controller hotplug notes  =  
 
|haptic feedback          = true
 
|haptic feedback          = true
 
|haptic feedback notes    =  
 
|haptic feedback notes    =  
|light bar support        = false
+
|simultaneous input        = true
|light bar support notes   =  
+
|simultaneous input notes  =
 +
|steam input api          = true
 +
|steam input api notes    =
 +
|steam hook input          = unknown
 +
|steam hook input notes    =
 +
|steam input presets      = true
 +
|steam input presets notes =
 +
|steam controller prompts  = true
 +
|steam controller prompts notes =
 +
|steam cursor detection    = unknown
 +
|steam cursor detection notes =  
 
}}
 
}}
  
==Audio settings==
+
==Audio==
 
{{Image|Portal 2 Audio.png|In-game audio settings.}}
 
{{Image|Portal 2 Audio.png|In-game audio settings.}}
{{Audio settings
+
{{Audio
 
|separate volume          = true
 
|separate volume          = true
 
|separate volume notes    = Over-all game volume and separate music slider.
 
|separate volume notes    = Over-all game volume and separate music slider.
 
|surround sound          = true
 
|surround sound          = true
|surround sound notes    = 7.1, 5.1 surround sound, 4 speaker surround<ref>[http://forums.steampowered.com/forums/showthread.php?t=2608992 Portal 2 EAX sound fix for sublime sound - Steam Users' Forums]</ref>
+
|surround sound notes    = 7.1, 5.1 surround sound, 4 speaker surround<ref>[https://web.archive.org/web/20141205150543/http://forums.steampowered.com/forums/showthread.php?t=2608992 Portal 2 EAX sound fix for sublime sound - Steam Users' Forums] (retrieved)</ref>  
 +
The option for the 7.1 surround sound might be missing, type snd_surround_speakers 7 to fix this issues.
 
|subtitles                = true
 
|subtitles                = true
|subtitles notes          = For non-English subtitles, see [[#Changing subtitle language|Changing subtitle language]].
+
|subtitles notes          =  
 
|closed captions          = true
 
|closed captions          = true
 
|closed captions notes    =  
 
|closed captions notes    =  
|mute on focus lost      = true
+
|mute on focus lost      = hackable
|mute on focus lost notes =  
+
|mute on focus lost notes = Open console and type snd_mute_losefocus 0 to Disable, snd_mute_losefocus 1 to Enable
 
|eax support              = false
 
|eax support              = false
|eax support notes       =  
+
|eax support notes         =
 +
|royalty free audio      = always on
 +
|royalty free audio notes =  
 
}}
 
}}
  
Line 195: Line 279:
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
  |language  = Finnish
+
  |language  = Simplified Chinese
 
  |interface = true
 
  |interface = true
 
  |audio    = false
 
  |audio    = false
Line 204: Line 287:
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
  |language  = French
+
  |language  = Traditional Chinese
 
  |interface = true
 
  |interface = true
  |audio    = true
+
  |audio    = false
 
  |subtitles = true
 
  |subtitles = true
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
  |language  = German
+
  |language  = Czech
 
  |interface = true
 
  |interface = true
  |audio    = true
+
  |audio    = false
 
  |subtitles = true
 
  |subtitles = true
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
  |language  = Spanish
+
  |language  = Danish
 
  |interface = true
 
  |interface = true
  |audio    = true
+
  |audio    = false
 
  |subtitles = true
 
  |subtitles = true
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
  |language  = Czech
+
  |language  = Dutch
 
  |interface = true
 
  |interface = true
 
  |audio    = false
 
  |audio    = false
Line 240: Line 319:
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
  |language  = Danish
+
  |language  = Finnish
 
  |interface = true
 
  |interface = true
 
  |audio    = false
 
  |audio    = false
Line 249: Line 327:
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
  |language  = Dutch
+
  |language  = French
 +
|interface = true
 +
|audio    = true
 +
|subtitles = true
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = German
 
  |interface = true
 
  |interface = true
  |audio    = false
+
  |audio    = true
 
  |subtitles = true
 
  |subtitles = true
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
Line 267: Line 351:
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
Line 276: Line 359:
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
Line 285: Line 367:
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
Line 294: Line 375:
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
Line 303: Line 383:
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
Line 312: Line 391:
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
Line 321: Line 399:
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
  |fan notes =  
+
}}
 +
{{L10n/switch
 +
|language  = Brazilian Portuguese
 +
|interface = true
 +
|audio    = false
 +
|subtitles = true
 +
|notes    = Added in latest updates. [https://steamcommunity.com/sharedfiles/filedetails/?id=2447501108 How to change the game language.]
 +
  |fan       =  
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
Line 330: Line 415:
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
Line 337: Line 421:
 
  |audio    = true
 
  |audio    = true
 
  |subtitles = true
 
  |subtitles = true
  |notes    =  
+
  |notes    = For unknown reasons, the localization has the effect of breaking phrases or overlapping one phrase with another. To fix this, follow [https://steamcommunity.com/sharedfiles/filedetails/?id=586104148 the instructions]
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
  |language  = Simplified Chinese
+
  |language  = Spanish
 
  |interface = true
 
  |interface = true
  |audio    = false
+
  |audio    = true
 
  |subtitles = true
 
  |subtitles = true
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
Line 357: Line 439:
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
Line 366: Line 447:
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
  |language  = Traditional Chinese
+
  |language  = Turkish
 
  |interface = true
 
  |interface = true
 
  |audio    = false
 
  |audio    = false
Line 375: Line 455:
 
  |notes    =  
 
  |notes    =  
 
  |fan      =  
 
  |fan      =  
|fan notes =
 
 
}}
 
}}
 
{{L10n/switch
 
{{L10n/switch
  |language  = Turkish
+
  |language  = Ukrainian
 
  |interface = true
 
  |interface = true
 
  |audio    = false
 
  |audio    = false
 
  |subtitles = true
 
  |subtitles = true
  |notes    =  
+
  |notes    = Added in updates.
 
  |fan      =  
 
  |fan      =  
  |fan notes =  
+
}}
 +
{{L10n/switch
 +
|language  = Ukrainian
 +
|interface = hackable
 +
|audio    = hackable
 +
|subtitles = hackable
 +
|notes    = Fan localization with dubbing and texture replacement. [https://steamcommunity.com/sharedfiles/filedetails/?id=3025621306 Steam Guide]
 +
  |fan       = true
 
}}
 
}}
 
}}
 
}}
  
===Changing subtitle language===
+
===Disable in-game voice chat===
{{Fixbox|1=
+
{{++}} Disables in-game voice chat to allow using other voice chat services instead.
{{Fixbox/fix|Enter cc_lang LanguageName into the console}}
+
 
# Open the console and enter <code>cc_lang LanguageName</code>
+
{{Fixbox|description=Disable voice chat|ref={{cn|date=February 2021}}|fix=
# Substitute <code>LanguageName</code> with [[#Localizations|available language]].  
+
# Go into game options.
 +
# Enable the developer console.
 +
# Press {{key|~}}.
 +
# Type in <code>voice_enable 0</code>.
 
}}
 
}}
  
Line 401: Line 490:
 
|local play modes    = Co-op
 
|local play modes    = Co-op
 
|local play notes    = Two player split-screen
 
|local play notes    = Two player split-screen
|lan play            = unknown
+
|lan play            = true
|lan play players    =  
+
|lan play players    = 2
|lan play modes      =  
+
|lan play modes      = Co-op
|lan play notes      =  
+
|lan play notes      = Use sv_lan command.
 
|online play          = true
 
|online play          = true
|online play players  = 2
+
|online play players  = 33
 
|online play modes    = Co-op
 
|online play modes    = Co-op
|online play notes    =  
+
|online play notes    = Formerly supported crossplay with PS3. You can play with up to 33 players with the [https://steamcommunity.com/sharedfiles/filedetails/?id=2458260280 Portal 2: Multiplayer Mod].
 
|asynchronous        =  
 
|asynchronous        =  
 
|asynchronous notes  =  
 
|asynchronous notes  =  
Line 429: Line 518:
 
|tcp  = 27014-27050
 
|tcp  = 27014-27050
 
|udp  = 3478, 4379-4380, 27000-27030
 
|udp  = 3478, 4379-4380, 27000-27030
|upnp =  
+
|upnp = unknown
 +
}}
 +
 
 +
===Split-screen without bezels===
 +
{{ii}} 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).
 +
 
 +
{{Fixbox|description=Edit split-screen aspect-ratio|ref=<ref>[https://www.wsgf.org/blog/blevar/2012/01/13/howto-left-4-dead-split-screen-eyefinity Widescreen gaming blog post] on Eyefinity in Left 4 Dead 1</ref>|fix=
 +
# Go to {{folder|{{p|game}}\portal 2}}.
 +
# Open {{file|splitscreen_config.txt}} with a text editor.
 +
# Look for <code>"aspect"      "8 by 9"</code> string
 +
# Change it accordingly to the actual aspect ratio '''''divided by 2'''''
 +
 
 +
'''Notes'''
 +
{{ii}} To use a horizontal split-screen aspect ratio, instead look for <code>"aspect"        "32 by 9"</code> string (the aspect ratio needs to be ''multiplied by 2'' now)
 
}}
 
}}
  
Line 442: Line 544:
 
|native 3d notes            =  
 
|native 3d notes            =  
 
|nvidia 3d vision            = true
 
|nvidia 3d vision            = true
|nvidia 3d vision notes      = Use [http://helixmod.blogspot.com/2015/07/portal-2.html Helix Mod: Portal 2] for better support.
+
|nvidia 3d vision notes      = Use [https://helixmod.blogspot.com/2015/07/portal-2.html Helix Mod: Portal 2] for better support.
 
|tridef 3d                  = true
 
|tridef 3d                  = true
 
|tridef 3d notes            =  
 
|tridef 3d notes            =  
 
|iz3d                        = true
 
|iz3d                        = true
 
|iz3d notes                  =  
 
|iz3d notes                  =  
 +
|vorpx                      = true
 +
|vorpx modes                = G3D,DirectVR
 +
|vorpx notes                = Officially supported game, see [https://www.vorpx.com/supported-games/ official vorpx game list].
 +
|htc vive                    =
 +
|htc vive notes              =
 +
|oculus rift                =
 +
|oculus rift notes          =
 +
|osvr                        =
 +
|osvr notes                  =
 +
|keyboard-mouse              =
 +
|keyboard-mouse notes        =
 
|3rd space gaming vest      =  
 
|3rd space gaming vest      =  
 
|3rd space gaming vest notes =  
 
|3rd space gaming vest notes =  
|creative senz3d            =
 
|creative senz3d notes      =
 
|leap motion controller      =
 
|leap motion controller notes=
 
 
|novint falcon              =  
 
|novint falcon              =  
 
|novint falcon notes        =  
 
|novint falcon notes        =  
|oculus rift                =
 
|oculus rift notes          =
 
|razer hydra                =
 
|razer hydra notes          =
 
 
|trackir                    =  
 
|trackir                    =  
 
|trackir notes              =  
 
|trackir notes              =  
 +
|tobii eye tracking          =
 +
|tobii eye tracking notes    =
 +
|play area seated            =
 +
|play area seated notes      =
 +
|play area standing          =
 +
|play area standing notes    =
 +
|play area room-scale        =
 +
|play area room-scale notes  =
 
}}
 
}}
 
==Issues unresolved==
 
===Hang on exit===
 
{{--}} New patch on July 12, 2013, introduced a crash when exiting the game. Application hangs and does not respond when the game is exited via the quit button on the main menu or task manager. Steam Cloud synchronisation resumes when forcefully quit. No fix has been announced.<ref>http://community.pcgamingwiki.com/topic/398-portal-2-hangs-on-exit/</ref>
 
  
 
==Issues fixed==
 
==Issues fixed==
===Purple and black broken textures===
+
==="Portal 2 Failed to create D3D device" error===
{{ii}} A generic fix for this issue can be found [[Engine:Source#Broken textures|on our Source engine page]].
+
{{Fixbox|description=Install [[Glossary:DirectX#Legacy versions|DirectX 9.0c end-user runtimes]]|ref={{cn|date=2022-11-29|reason=}}|fix=
 
 
===Split-screen co-op===
 
{{ii}} As of November 20, 2012, splitscreen mode has been officially added for Standard Co-Op.<ref>[http://store.steampowered.com/news/9423/ Portal 2 Update Released - Steam News for Portal 2]</ref>
 
 
 
{{ii}} If you'd like to use a keyboard/mouse for Player 1 and a controller for Player 2 in Windows, follow these instructions:
 
 
 
{{Fixbox|1=
 
{{Fixbox/fix|Input joy_remap_player_for_controller1 2}}
 
# Open the [[#Console commands|console]] in Portal 2
 
# Input <code>joy_remap_player_for_controller1 2</code>
 
# Play
 
 
}}
 
}}
  
{{ii}} 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:
+
===Flickering white grainy graphical artifacts on some surfaces===
 
+
{{ii}} In seemingly rare cases on some specific surfaces, textures can show flickering white grainy graphical artifacts.<ref>{{Refurl|url=https://www.youtube.com/watch?v=Kg_TUJCxfdo|title=Camera bug and weird flickering - Youtube|date=2022-12-21}}</ref><ref name="flickering testing">{{Refcheck|user=Mrtnptrs|date=2022-12-21|comment=Tested on first few levels of the game and especially the beginning of Chapter 2. Could only reproduce it at the Chapter 2 beginning room. Saw it on the texture where the laser pointed at and also on the black tiles near the walls close to the exit door of the Chapter 2 level. Tested with latest Nvidia GPU drivers and thus while using dedicated GPU.}}</ref><ref name="flickering"/><ref>{{Refurl|url=https://github.com/ValveSoftware/portal2/issues/310|title=Portal 2 artifacts in recent drivers #310 - ValveSoftware/portal2 - GitHub|date=2022-12-21}}</ref><ref name="artifacts report 2020">{{Refurl|url=https://github.com/ValveSoftware/portal2/issues/315|title=<nowiki>[Portal 2]</nowiki> Graphical artifacts with Nvidia #315 - ValveSoftware/portal2 - GitHub|date=2022-12-21}}</ref>
{{Fixbox|1=
+
{{Fixbox|description=Use {{Code|-vulkan}} [[Glossary:Command line arguments|command line argument]]|ref=<ref name="flickering">{{Refurl|url=https://github.com/ValveSoftware/portal2/issues/391|title=<nowiki>[Portal 2]</nowiki> Security camera's lens and behavior bug #391 - ValveSoftware/portal2 - GitHub|date=2022-12-21}}</ref><ref>{{Refcheck|user=Mrtnptrs|date=2022-12-21|comment=Setting the game to use the DXVK layer through the {{Code|-Vulkan}} argument indeed fixes the flickering issue.}}</ref>|fix=
{{Fixbox/fix|Use in_forceuser to switch keyboard and mouse to player 2}}
+
{{ii}} Suggested that this happens due to an old Nvidia driver bug causing problems with projected textures that are used by the game.<ref name="flickering"/><ref name="artifacts report 2020"/>
# Make sure your controller is connected beforehand
+
{{ii}} Seems to happen only on rare occasions, but especially at first room of chapter 2.<ref name="flickering testing"/>
# Open Portal 2
 
# Open the [[#Console commands|console]]
 
# Start a coop game <code>ss_map mp_coop_start</code>
 
# Run the following commands <code>sv_cheats 1</code> then <code>in_forceuser 1</code>
 
# Keyboard/mouse is now controlling player 2 and the gamepad is controlling player 1.
 
# Play
 
}}
 
 
 
===Black screen at launch===
 
{{Fixbox|1=
 
{{Fixbox/fix|Set your resolution to your native desktop resolution}}
 
}}
 
 
 
==='Visual 2005 Runtime' error===
 
{{Fixbox|1=
 
{{Fixbox/fix|Install Microsoft Visual Runtime Libraries}}
 
# Visit [http://www.microsoft.com/en-us/download/details.aspx?id=5555 Microsoft Visual Runtime Libraries]
 
# Download and install the files provided
 
# Run the game
 
}}
 
 
 
==='Portal 2 Failed to create D3D device' error===
 
{{Fixbox|1=
 
{{Fixbox/fix|Install DirectX}}
 
# Install/update [https://www.microsoft.com/en-us/download/details.aspx?id=35&44F86079-8679-400C-BFF2-9CA5F2BCBDFC=1 DirectX]
 
# Find Portal 2 in your Steam Library
 
# Right-click the game name
 
# Select <code>Properties</code>
 
# Select <code>Set Launch Options...</code>
 
# Input <code>-w # -h #</code>, where each <code>#</code> is your monitor's width and height respectively.
 
}}
 
 
 
===Freezes after logo intro video===
 
{{Fixbox|1=
 
{{Fixbox/fix|-novid}}
 
# Find Portal 2 in your Steam Library
 
# Right-click the game name
 
# Select <code>Properties</code>
 
# Select <code>Set Launch Options...</code>
 
# Input <code>-novid</code>
 
# Press <code>OK</code> and launch the game
 
 
 
{{Fixbox/fix|Verify Your Game Cache}}
 
# Find Portal 2 in your Steam Library
 
# Right-click the game name
 
# Select <code>Properties</code>
 
# Go to the <code>Local Files</code> tab
 
# Select <code>Verify Integrity of Game Cache...</code>
 
# This may take a while, just wait for it to finish
 
# Once it's done press <code>OK</code>
 
# Launch the game
 
}}
 
 
 
{{ii}} If you have an FX Bulldozer CPU, such as the AMD FX 4100, you may need to:
 
{{Fixbox|1=
 
{{Fixbox/fix|Update the BIOS}}
 
{{ii}} Updating the [[Glossary:BIOS|BIOS]] may fix this issue
 
 
 
{{Fixbox/fix|Orocho-CEG}}
 
# Visit [http://www.xtremesystems.org/forums/showthread.php?276698-A-fix-for-Valve-CEG-games-causing-BSOD-on-Bulldozer-issue this thread]  
 
# Download and open the Orocho-CEG application
 
 
 
'''Notes'''
 
{{ii}} Orocho-CEG must be restarted after each reboot
 
}}
 
 
 
==='Could not Load Library Client' error===
 
{{Fixbox|1=
 
{{Fixbox/fix|Add Steam.exe and portal2.exe to your firewall's exception lists}}
 
# Open your firewall's software
 
# Find your exception list
 
# Add <code>Steam.exe</code> and <code>portal2.exe</code> to your exceptions list
 
# Open the game
 
}}
 
 
 
===No sound===
 
{{Fixbox|1=
 
{{Fixbox/fix|Run the game with Stereo Sound}}
 
}}
 
 
 
===Sound causing stuttering===
 
{{Fixbox|1=
 
{{Fixbox/fix|Update your sound card drivers}}
 
}}
 
 
 
===Generic crash fixes===
 
{{Fixbox|1=
 
{{Fixbox/fix|Run as Administrator}}
 
# Go to the installation folder.
 
# Right-click on <code>Portal2.exe</code> and select <code>Run as Administrator</code>
 
 
 
{{Fixbox/fix|Run in compatibility mode}}
 
# Go to the installation folder.
 
# Right-click on <code>Portal2.exe</code> and select <code>Run in Compatibility Mode</code>
 
# Make it run in compatibility mode with Windows XP SP3
 
}}
 
 
 
===Cinematic audio stutter===
 
{{Fixbox|1=
 
{{Fixbox/fix|Update your audio device drivers}}
 
# Update audio device drivers
 
# Uninstall extra codecs you have installed
 
}}
 
 
 
===Lag physics blob fix===
 
{{Fixbox|1=
 
{{Fixbox/fix|Input r_threaded_blobulator 0 in the console}}
 
# Open the console in Portal 2
 
# Input <code>r_threaded_blobulator 0</code>
 
}}
 
 
 
===Portal 2 with Integrated Intel Graphics===
 
{{ii}} Portal 2 may have problems running on integrated Intel graphics cards, including crashing and black screens. Windowed mode may fix this.
 
 
 
{{Fixbox|1=
 
{{Fixbox/fix|-windowed}}
 
# Find Portal 2 in your Steam Library
 
# Right-click the game name
 
# Select <code>Properties</code>
 
# Select <code>Set Launch Options...</code>
 
# Input <code>-windowed</code>
 
# Launch Portal 2
 
 
}}
 
}}
  
Line 615: Line 591:
 
===API===
 
===API===
 
{{API
 
{{API
|direct3d versions      = 9
+
|direct3d versions      = 9.0c
 
|direct3d notes        =  
 
|direct3d notes        =  
 
|directdraw versions    =  
 
|directdraw versions    =  
 
|directdraw notes      =  
 
|directdraw notes      =  
 +
|wing                  =
 +
|wing notes            =
 
|opengl versions        = 2.1
 
|opengl versions        = 2.1
 
|opengl notes          = OS X and Linux only.
 
|opengl notes          = OS X and Linux only.
Line 627: Line 605:
 
|mantle support        =  
 
|mantle support        =  
 
|mantle support notes  =  
 
|mantle support notes  =  
 +
|metal support          =
 +
|metal support notes    =
 +
|vulkan versions        = hackable
 +
|vulkan notes          = Use {{code|-vulkan}} [[Command line arguments|Command line argument]].<ref>{{Refurl|url=https://store.steampowered.com/oldnews/81067|title=Portal 2 - Update|date=May 2023}}</ref> Works via DXVK 2.0<ref>{{Refurl|url=https://store.steampowered.com/news/app/620/view/3488629295080243621|title=Portal 2 - Update|date=2023-05-20}}</ref> translation layer.<ref>{{Refurl|url=https://www.reddit.com/r/linux_gaming/comments/ln426q/a_big_portal_2_update_has_been_released_which/gnynoe1|title=A big Portal 2 update has been released which includes a Vulkan renderer and lots of fixes for Linux!|date=May 2023}}</ref>
 
|dos modes              =  
 
|dos modes              =  
 
|dos modes notes        =  
 
|dos modes notes        =  
 
|shader model versions  = 2, 3
 
|shader model versions  = 2, 3
 
|shader model notes    =  
 
|shader model notes    =  
|64-bit executable     = true
+
|windows 32-bit exe    = true
|64-bit executable notes= OS X and Linux only.{{CN|date=August 2015}}
+
|windows 64-bit exe    = false
 +
|windows arm app        = unknown
 +
|windows exe notes     =
 +
|mac os x powerpc app  = unknown
 +
|macos intel 32-bit app = true
 +
|macos intel 64-bit app = false
 +
|macos app notes       = <ref name="mastan20210219">{{Refcheck|user=Mastan|date=2021-02-19}}</ref>
 +
|macos arm app          = unknown
 +
|linux powerpc app      = unknown
 +
|linux 32-bit executable= true
 +
|linux 64-bit executable= false
 +
|linux arm app          = unknown
 +
|linux executable notes = <ref name="mastan20210219"/>
 
}}
 
}}
  
Line 646: Line 640:
 
|input notes      =  
 
|input notes      =  
 
|cutscenes        = Bink Video
 
|cutscenes        = Bink Video
|cutscenes notes  =  
+
|cutscenes notes  = Used for startup videos, in-game movies, and movies applied to surfaces.
 
|multiplayer      = Steamworks
 
|multiplayer      = Steamworks
 
|multiplayer notes=  
 
|multiplayer notes=  
Line 654: Line 648:
 
{{ii}} Games running on the Source engine can utilize [https://developer.valvesoftware.com/wiki/Console_Command_List Source Engine Console Commands] for various tasks.
 
{{ii}} Games running on the Source engine can utilize [https://developer.valvesoftware.com/wiki/Console_Command_List Source Engine Console Commands] for various tasks.
  
{{Fixbox|1=
+
{{Fixbox|description=Enabling the console in Source games|ref={{cn|date=July 2016}}|fix=
{{Fixbox/fix|Enabling the console in Source games}}
 
 
# Launch the game
 
# Launch the game
 
# From the main menu select Options
 
# From the main menu select Options
Line 663: Line 656:
 
# Click Apply
 
# Click Apply
  
'''Notes:'''  
+
'''Notes'''
{{ii}} Press {{key|~}} to open the console.
 
 
{{ii}} Some commands may first require you enabling sv_cheats. You can do so with <code>sv_cheats 1</code>.
 
{{ii}} Some commands may first require you enabling sv_cheats. You can do so with <code>sv_cheats 1</code>.
 
{{--}} Users without a US keyboard could experience some [[Engine:Source#Console doesn't open|problems]].
 
{{--}} Users without a US keyboard could experience some [[Engine:Source#Console doesn't open|problems]].
 
}}
 
}}
  
{{ii}} You can also have the console open by default on launch by following this guide:
+
===Launch options===
{{Fixbox|1=
+
{{ii}} View [https://developer.valvesoftware.com/wiki/Launch_options#Source_Games the relevant Valve Developer wiki page] for further information and a list of useful Source engine [[Glossary:Command line arguments|command line arguments]].
{{Fixbox/fix|-console}}
 
# Find Portal 2 in your Steam Library
 
# Right-click the game name
 
# Select <code>Properties</code>
 
# Select <code>Set Launch Options...</code>
 
# Input <code>-console</code>
 
# Press <code>OK</code>
 
# Launch the game
 
}}
 
  
===Launch options===
+
===Mods===
{{ii}} View [https://support.steampowered.com/kb_article.php?ref=1040-JWMT-2947 this Steam Support Article regarding launch options] as well as [https://developer.valvesoftware.com/wiki/Launch_options#Source_Games the relevant Valve Developer wiki page] for further information and a list of useful Source engine launch options.
+
* [https://gamebanana.com/guis/33584 HD Loading Screens]
{{Fixbox|1=
+
* [https://gamebanana.com/skins/159041 Remastered GLaDOS] or [https://gamebanana.com/skins/159062 Source 2 GLaDOS]
{{Fixbox/fix|Enabling a launch parameter}}
+
* [https://gamebanana.com/skins/165755 HD Portals with Hands]
# Find the game in your Steam Library
 
# Right-click the game name
 
# Select <code>Properties</code>
 
# Select <code>Set Launch Options...</code>
 
# Input your selected launch options and separate each command with a space
 
# Press <code>OK</code>
 
# Launch the game
 
}}
 
  
 
==System requirements==
 
==System requirements==
 
{{System requirements
 
{{System requirements
 
|OSfamily = Windows
 
|OSfamily = Windows
 
+
|minOS    = 7, 8.1, 10
|minOS    = XP, Vista, 7
+
|minCPU  = Intel Pentium 4 3.0 GHz
|minCPU  = Intel Pentium 4 3.0 GHz or 2 GHz dual-core
+
|minCPU2  = AMD Athlon 64 X2
|minRAM  = 1 GB (XP)<br/>2 GB (Vista, 7)
+
|minCPU3  = Dual Core CPU 2.0 GHz
|minHD    = 7.6 GB
+
|minRAM  = 2 GB
 +
|minHD    = 8 GB
 +
|minGPU  = ATI Radeon X800
 +
|minGPU2  = Nvidia GeForce 7600
 +
|minGPU3  = Intel HD Graphics 2000
 
|minVRAM  = 128 MB
 
|minVRAM  = 128 MB
|minDX    = 9.0
+
|minDX    = 9.0c
 +
|minSM    = 2.0b
 +
|minaudio = DirectX 9.0c compatible
 +
|notes    = {{ii}} Windows XP and Vista were previously supported, but as future updates for this game and Steam occurred; the support was dropped, even with retail copies.
 
}}
 
}}
  
 
{{System requirements
 
{{System requirements
 
|OSfamily = OS X
 
|OSfamily = OS X
 
 
|minOS    = 10.6.7
 
|minOS    = 10.6.7
 
|minCPU  = Intel Core Duo 2.0 GHz
 
|minCPU  = Intel Core Duo 2.0 GHz
 
|minRAM  = 2 GB
 
|minRAM  = 2 GB
|minHD    = 7.6 GB
+
|minHD    = 8 GB
|minGPU  = NVIDIA GeForce 8600M
+
|minGPU  = ATI Radeon HD 2400
|minGPU2  = ATI Radeon HD 2400
+
|minGPU2  = Nvidia GeForce 8600M
 
|minGPU3  = Intel HD Graphics 3000
 
|minGPU3  = Intel HD Graphics 3000
 
|recRAM  = 4 GB
 
 
}}
 
}}
  
 
{{System requirements
 
{{System requirements
 
|OSfamily = Linux
 
|OSfamily = Linux
 
 
|minOS    = Ubuntu 12.04
 
|minOS    = Ubuntu 12.04
|minCPU  = Dual core from Intel or AMD at 2.8 GHz
+
|minCPU  = Intel Dual Core 2.8 GHz
 +
|minCPU2  = AMD Dual Core 2.8 GHz
 
|minRAM  = 2 GB
 
|minRAM  = 2 GB
 
|minHD    = 8 GB
 
|minHD    = 8 GB
|minGPU  = nVidia GeForce 8600/9600GT
+
|minGPU  = ATI Radeon HD 2600/3600
|minGPU2  = ATI/AMD Radeon HD2600/3600
+
|minGPU2  = Nvidia GeForce 8600/9600 GT
 +
|minOGL  = 2.1
 +
|minaudio = OpenAL compatible
 +
|minother = (Graphic Drivers: Nvidia 310, AMD 12.11)
 
}}
 
}}
  
 
{{References}}
 
{{References}}

Latest revision as of 11:16, 5 April 2024

Portal 2
Portal 2 cover
Developers
Valve Corporation
Publishers
Valve Corporation
Russia Buka Entertainment
Engines
Source
Release dates
Windows April 19, 2011
macOS (OS X) April 19, 2011
Linux June 17, 2014
Reception
Metacritic 95
IGDB 92
Taxonomy
Monetization One-time game purchase, Cross-game bonus
Microtransactions Time-limited
Modes Singleplayer, Multiplayer
Pacing Real-time
Perspectives First-person
Controls Direct control
Genres Platform, Puzzle
Art styles Realistic
Themes Sci-fi, North America, Post-apocalyptic
Series Portal
Portal 2 on HowLongToBeat
Portal 2 on IGDB
Portal 2 guide on StrategyWiki
Portal 2 on MobyGames
Portal 2 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
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) version 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 2 is a singleplayer and multiplayer first-person platform and puzzle game in the Portal series.

General information

Steam Community Discussions
Steam Workshop for Portal 2

Availability

Source DRM Notes Keys OS
Retail
Icon overlay.png
Windows
macOS (OS X)
Steam
Icon overlay.png
Portal Bundle also available.
Windows
macOS (OS X)
Linux
All versions require Steam DRM.
Soundtrack is available for free as DLC and on the official website.
Owners of the PlayStation 3 version were previously able to redeem a single-use product key for Steam as well as link their game to a Steam account, which allowed 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). However, Valve dropped support for PlayStation 3 in 2016 and shutdown the servers without warning on May 22, 2018.[1]

Monetization

Type Notes
Cross-game bonus 7 specific hats obtainable in Team Fortress 2[2] can (if the player owns the hats in Team Fortress 2) be used in Portal 2's co-op modes.

DLC and expansion packs

Name Notes
Peer Review Free, included in latest update. Requires completion of the original co-op missions.[3]
Windows
macOS (OS X)
Linux
Roll cage Pre-order only
Windows
macOS (OS X)
Linux
Paint job Pre-order only
Windows
macOS (OS X)
Linux
Antenna topper Pre-order only
Windows
macOS (OS X)
Linux
Sixense MotionPack Included in the limited edition of the Razer Hydra motion controller. (Which is now discontinued.) The DLC is incompatible with the latest builds of the game, and requires the Sixense MotionPack DLC Preservation Mod to make it work on the latest game builds.
Windows
macOS (OS X)
Linux

Essential improvements

Skip intro videos

Use -novid command line argument[4]

Game data

Configuration file(s) location

System Location
Windows <path-to-game>\portal2\cfg\[Note 1]
<path-to-game>\portal2_dlc2\cfg\[Note 1]
<path-to-game>\update\cfg\[Note 1]
macOS (OS X)
Linux
It's unknown whether this game follows the XDG Base Directory Specification on Linux. Please fill in this information.

Save game data location

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

Save game cloud syncing

System Native Notes
Steam Cloud
Approx. 1 GB available.

Video

In-game general video settings.
In-game general video settings.
In-game advanced video settings.
In-game advanced video settings.

Graphics feature State WSGF Notes
Widescreen resolution
Hor+
Multi-monitor
Hor+
Ultra-widescreen
Hor+
4K Ultra HD
Crosshair scales poorly with resolutions larger than 1280 pixels wide, making it too small in very high resolutions.
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. Nvidia users can acheive OGSSAA hybrid modes combined with TrSSAA using flag 0x000000C0.[5]
Vertical sync (Vsync)
Double and triple buffered.
60 FPS and 120+ FPS
Capped at 300 FPS. Frame rate cap can be changed by changing fps_max in the developer console. To uncap FPS or cap FPS higher than 300 you must first set sv_cheats = 1 before using fps_max. sv_cheats = 1 will also disable achievements.
"Laptop Power Setting" enables a 30fps limit
High dynamic range display (HDR)
See the glossary page for potential alternatives.
HBAO also available with flag 0x00000014.

Field of view (FOV)

Enter console commands[6]
  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 xx", replacing xx with the desired FOV, and press Enter.
  4. OPTIONAL: 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 the desired value.

Disable motion blur

Use the +mat_motion_blur_percent_of_screen_max 0 command line argument[7]

Disable bloom

Use the +mat_disable_bloom 1 command line argument[7]

Run at monitor's refresh rate

Use the -refresh  command line argument, followed by the desired refresh rate.[citation needed]

Cap frame rate

Use the +fps_max  command line argument, followed by the desired frame rate.[citation needed]

Input

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.
In-game button map settings.
In-game button map settings.

Keyboard and mouse State 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
To make controller vibration work, download an updated version of the SDL2 file and replace it with the one in the Portal2\Bin folder. SDL This works for any Source engine based game.
Controller remapping
Controller sensitivity
Has separate sliders for horizontal and vertical sensitivity.
Controller Y-axis inversion
Controller types
XInput-compatible controllers
Xbox button prompts
Impulse Trigger vibration
Use X1nput[8]
PlayStation controllers
Officially supported via Steam Input.
PlayStation button prompts
Both DualShock 4 and DualSense prompts.
Light bar support
Static, Blue or Orange depending on last active portal
Adaptive trigger support
DualSense haptic feedback support
Connection modes Wired, Wireless (Bluetooth)
Tracked motion controllers
Razer Hydra with the Portal 2 Sixense MotionPack DLC.
Button/gesture prompts
Generic/other controllers
Both Switch Pro Controller and Generic Gamepads are supported through Steam Input.
Button prompts
No generic DirectInput-type prompt, types of button prompts shown the the game depends on Steam Input settings.[9]
Additional information
Controller hotplugging
Haptic feedback
Digital movement supported
Simultaneous controller+KB/M
Steam Input
Steam Input API support
Official controller preset(s)
Steam Controller button prompts

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[10] The option for the 7.1 surround sound might be missing, type snd_surround_speakers 7 to fix this issues.
Subtitles
Closed captions
Mute on focus lost
Open console and type snd_mute_losefocus 0 to Disable, snd_mute_losefocus 1 to Enable
Royalty free audio

Localizations

Language UI Audio Sub Notes
English
Simplified Chinese
Traditional Chinese
Czech
Danish
Dutch
Finnish
French
German
Hungarian
Italian
Japanese
Korean
Norwegian
Polish
Portuguese
Brazilian Portuguese
Added in latest updates. How to change the game language.
Romanian
Russian
For unknown reasons, the localization has the effect of breaking phrases or overlapping one phrase with another. To fix this, follow the instructions
Spanish
Swedish
Thai
Turkish
Ukrainian
Added in updates.
Ukrainian
Fan localization with dubbing and texture replacement. Steam Guide

Disable in-game voice chat

Disables in-game voice chat to allow using other voice chat services instead.
Disable voice chat[citation needed]
  1. Go into game options.
  2. Enable the developer console.
  3. Press ~.
  4. Type in voice_enable 0.

Network

Multiplayer types

Type Native Players Notes
Local play
2 Co-op
Two player split-screen
LAN play
2 Co-op
Use sv_lan command.
Online play
33 Co-op
Formerly supported crossplay with PS3. You can play with up to 33 players with the Portal 2: Multiplayer Mod.

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 27014-27050
UDP 3478, 4379-4380, 27000-27030
Universal Plug and Play (UPnP) support status is unknown.

Split-screen without bezels

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[11]
  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 the actual aspect ratio divided by 2

Notes

To use a horizontal split-screen aspect ratio, instead look for "aspect" "32 by 9" string (the aspect ratio needs to be multiplied by 2 now)

VR support

3D modes State GG3D Notes
Nvidia 3D Vision
Use Helix Mod: Portal 2 for better support.
TriDef 3D
iZ3D
vorpX
G3D, DirectVR
Officially supported game, see official vorpx game list.

Issues fixed

"Portal 2 Failed to create D3D device" error

Install DirectX 9.0c end-user runtimes[citation needed]

Flickering white grainy graphical artifacts on some surfaces

In seemingly rare cases on some specific surfaces, textures can show flickering white grainy graphical artifacts.[12][13][14][15][16]
Use -vulkan command line argument[14][17]
Suggested that this happens due to an old Nvidia driver bug causing problems with projected textures that are used by the game.[14][16]
Seems to happen only on rare occasions, but especially at first room of chapter 2.[13]

Other information

API

Technical specs Supported Notes
Direct3D 9.0c
OpenGL 2.1 OS X and Linux only.
Vulkan
Use -vulkan Command line argument.[19] Works via DXVK 2.0[20] translation layer.[21]
Shader Model support 2, 3
Executable 32-bit 64-bit Notes
Windows
macOS (OS X)
[18]
Linux
[18]

Middleware

Middleware Notes
Physics Havok Heavily modified variant.
Audio Miles Sound System
Cutscenes Bink Video Used for startup videos, in-game movies, and movies applied to surfaces.
Multiplayer Steamworks

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 you enabling sv_cheats. You can do so with sv_cheats 1.
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.

Mods

System requirements

Windows
Minimum
Operating system (OS) 7, 8.1, 10
Processor (CPU) Intel Pentium 4 3.0 GHz
AMD Athlon 64 X2
System memory (RAM) 2 GB
Hard disk drive (HDD) 8 GB
Video card (GPU) ATI Radeon X800
Nvidia GeForce 7600
Intel HD Graphics 2000
128 MB of VRAM
DirectX 9.0c compatible
Shader model 2.0b support
Sound (audio device) DirectX 9.0c compatible
Windows XP and Vista were previously supported, but as future updates for this game and Steam occurred; the support was dropped, even with retail copies.
macOS (OS X)
Minimum
Operating system (OS) 10.6.7
Processor (CPU) Intel Core Duo 2.0 GHz
System memory (RAM) 2 GB
Hard disk drive (HDD) 8 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) Intel Dual Core 2.8 GHz
AMD Dual Core 2.8 GHz
System memory (RAM) 2 GB
Hard disk drive (HDD) 8 GB
Video card (GPU) ATI Radeon HD 2600/3600
Nvidia GeForce 8600/9600 GT
OpenGL 2.1 compatible
Sound (audio device) OpenAL compatible
Other (Graphic Drivers: Nvidia 310, AMD 12.11)

Notes

  1. 1.0 1.1 1.2 When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).

References

  1. https://www.playstationtrophies.org/forum/topic/300749-platinum-unobtainable-servers-shutdown-22052018/
  2. Portal 2 - Team Fortress Wiki - last accessed on 29 March 2023
  3. gaming.stackexchange.com - last accessed on May 2023
  4. Verified by User:Mine18 on 2022-12-23
  5. https://www.forum-3dcenter.org/vbulletin/showpost.php?p=9559666&postcount=3606
  6. Permanent FOV in Portal 2 and Change Portal Gun Position - YouTube - last accessed on May 2023
  7. 7.0 7.1 https://steamcommunity.com/app/620/discussions/0/133258593395350927/
  8. X1nput 2.0 - Xbox One Controller Impulse Triggers on (almost) any PC game - last accessed on May 2023
  9. Verified by User:Fudgesiclesxd on 2022-08-13
  10. Portal 2 EAX sound fix for sublime sound - Steam Users' Forums (retrieved)
  11. Widescreen gaming blog post on Eyefinity in Left 4 Dead 1
  12. Camera bug and weird flickering - Youtube - last accessed on 2022-12-21
  13. 13.0 13.1 Verified by User:Mrtnptrs on 2022-12-21
    Tested on first few levels of the game and especially the beginning of Chapter 2. Could only reproduce it at the Chapter 2 beginning room. Saw it on the texture where the laser pointed at and also on the black tiles near the walls close to the exit door of the Chapter 2 level. Tested with latest Nvidia GPU drivers and thus while using dedicated GPU.
  14. 14.0 14.1 14.2 [Portal 2] Security camera's lens and behavior bug #391 - ValveSoftware/portal2 - GitHub - last accessed on 2022-12-21
  15. Portal 2 artifacts in recent drivers #310 - ValveSoftware/portal2 - GitHub - last accessed on 2022-12-21
  16. 16.0 16.1 [Portal 2] Graphical artifacts with Nvidia #315 - ValveSoftware/portal2 - GitHub - last accessed on 2022-12-21
  17. Verified by User:Mrtnptrs on 2022-12-21
    Setting the game to use the DXVK layer through the -Vulkan argument indeed fixes the flickering issue.
  18. 18.0 18.1 Verified by User:Mastan on 2021-02-19
  19. Portal 2 - Update - last accessed on May 2023
  20. Portal 2 - Update - last accessed on 2023-05-20
  21. A big Portal 2 update has been released which includes a Vulkan renderer and lots of fixes for Linux! - last accessed on May 2023