How do you set up Portal 2 split-screen co-op on a PC? [duplicate]

Is there a way to play Portal 2 co-op on a single PC or Mac? If so, do we need two keyboards, or two mice, or what? Do we need to buy two copies of the game?

Note: The wireless XBox 360 controller does not work standalone out of the box on either an iMac or Windows 7 PC. It needs a receiver as well. I thought it would be Bluetooth, but no.


Solution 1:

Split-screen PC/Mac play is not supported by Valve via obvious in-game menus. The only way in which you can play co-op Portal 2 with a single Portal 2 purchase in a way that is obviously supported by the game manufacturer is by purchasing the PS3 copy:

Only PlayStation®3 split-screen co-op can be played using a single copy of the game. When you purchase a new copy of Portal 2 for PlayStation®3, you will receive an in-box code which provides your linked Steam account with access to your copy of Portal 2 on your computer. The game is still owned by only a single Steam account--another copy will be required to play online co-op with a friend.

(source)

It has been noted in the other answers that the act of single-system split-screen is possible. It required modifying configuration files and a workaround to force the game to move a controller to the second player slot.

Valve has neither stated that this method is supported or banned. Steam Support indicates it's not supported, but also openly admits it's an option that currently exists.

Hello Shaun,

Thank you for contacting Steam Support.

Split-screen mode is available in the Xbox 360 and Playstation 3 versions of this game only.

However, split-screen options may be available using the methods found here: http://forums.steampowered.com/forums/showthread.php?t=1847904

Note: These methods are not supported, as split-screen is not an intended feature of the PC/Mac version of Portal 2. If you have any further questions, please let us know - we will be happy to assist you.

Solution 2:

According to this article and this steam forum thread, it's possible to set up a split-screen co-op in Portal 2 on the PC and many have gotten it to work. In fact, it can be done by setting up (or emulating) an XBox 360 USB controller using Joystick ID #2.

The original Steam forum post seems to work for many people, but not in all circumstances. The post is managed by one person and there seem to be conflicting statements on it. There are a lot of off-shoot threads in the wild with many different solutions, but none that seem to work in all cases (at least not that we can prove by voting).

It seems that the only sure bet solution is to buy and plug in an xbox 360 game USB controller and use JoyIDs to set the controller to ID #2.

Note that while this is 'unsupported' by Valve, it's IN NO WAY discouraged or illegal to do so. In fact, Valve has traditionally been extremely supportive of game modding and console tweaking.