29

I picked up Portal 2 and wanted to try co-op with my son. We have two computers, but just one Steam account. Usually this is fine since I just leave the family computer in offline mode. Unfortunately it would appear that Portal 2 only does co-op when Steam is online.

Is there a way to do Portal 2 Co-op / multiplayer with a single Steam account on two PC's? I saw you can with a PS3, and there is no split screen on a single PC.

3
  • 3
    gaming.stackexchange.com/questions/20769/…
    – badp
    Commented Jul 28, 2011 at 21:43
  • @Badp Didn't know about the split screen, but Matthew Reed got me pointed in the right direction. Thanks! Commented Aug 17, 2011 at 0:40
  • I don't know if it was before, but split screen is available now.
    – Millard
    Commented Nov 23, 2020 at 17:22

1 Answer 1

31

As it sounds like you're aware, you cannot be logged in to Steam in two separate locations at the same time (unless one or both are in offline mode, and thus unable to play online).

But, as badp notes, another question talks about a hack for single-PC splitscreen.

Edit: Suprisingly, it looks like you can play with Steam offline over a LAN:

Go to "C:\Program Files (x86)\Steam\steamapps\common\portal 2\portal2\scripts" or to the relevant folder or drive where you installed Portal 2. Now you have to add the following code in "extras.txt":

"lan"
{
    "title"     "Host LAN"
    "subtitle"  "sv_lan 1"
    "pic"       "vgui/extras/attract01"
    "command"   "sv_lan 1"
}

"lan"
{
    "title"     "Connect"
    "subtitle"  "192.168.1.1"
    "pic"       "vgui/extras/attract01"
    "command"   "connect 192.168.1.1"
}

"lobby"
{
    "title"     "Start Coop Lobby"
    "subtitle"  "Kind of pointless..."
    "pic"       "vgui/extras/attract01"
    "command"   "map mp_coop_lobby_2"
}

Select Start LAN on the host computer and select Connect on the computer. Then the host should select Start. Make sure the IP Address is correct for the HOST.

Alternatively you can use the console:

  1. Enable the console via Main Menu, then hit Options: Keyboard and Mouse: Enable Developer’s Console OR add -console to the Portal 2 launch options.
  2. Press ~ to toggle the console.
  3. Run Portal 2 offline on both computers
  4. On the HOST sv_lan 1 in the console
  5. On the other type connect <host ip> in the console
  6. On the HOST type map mp_coop_start or any other MP map in the console
7
  • I'll be back to edit it some more next time we try playing it. Commented Aug 18, 2011 at 18:49
  • 1
    Are achievements able to be unlocked this way?
    – PileOfDuty
    Commented Apr 24, 2012 at 18:37
  • @John I would assume it works for Portal's in-game achievements, but I'd be doubtful as to whether it would sync with the Steam achievements. Commented Apr 24, 2012 at 21:18
  • 3
    Where do I select "Start Lan" or "Connect"? I can't find these options in the interface.
    – neves
    Commented Jan 16, 2017 at 16:45
  • 1
    The extras.txt didn't work for me. The easiest was to just enable the console on both machines and follow the steps.
    – Sal
    Commented Sep 29, 2019 at 0:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .