Half-Life Fallout: Multiplayer Split Screen for Source Games - Half-Life Fallout

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Multiplayer Split Screen for Source Games



G-Man Personal Aid

Posts: 2,562

#1 Posted 23 June 2012 - 06:48 PM

Ok so using this thread, I have succesfully managed to get two instances of Counter-Strike: Source running on one machine and connected to the same local server. One player must use KB&M, the other an XBOX controller.

PIC: Posted Image

Now, I know some people are going to be offended, but I want BOTH players to use a controller (just so that it's fair and we can sit on the couch or something).

Problem is it looks like Source only supports an XBOX controller that calls itself "Player 1" (the controller lights up showing you your number). Left 4 Dead is different, but that has native split screen support. This method is slightly hacky - but totally works and is easy to set up!

So I need to read input from "Player 2" also. i.e. a second XBOX controller. How can this be done?

EDIT: Also, the best thing about this method is that if you have two (or more) monitors, you can have one instance of the game running on each! Better than split-screen!
Posted Image
A.K.A. Mike MHz



Mr Macintosh

Posts: 15,889

Icon

#2 Posted 23 June 2012 - 06:56 PM

Does it run at a smooth frame rate having both playing at the same time?



G-Man Personal Aid

Posts: 2,562

#3 Posted 23 June 2012 - 07:42 PM

Yes on my system - on most mid-range desktop systems.

There is a frame rate drop when the window is not selected, but it's a consistent drop, so I think that has something to do with how fast Windows updates background apps. I think there may be a fix.
Posted Image
A.K.A. Mike MHz



G-Man Personal Aid

Posts: 2,562

#4 Posted 23 June 2012 - 09:02 PM

OK so I've officially got this working!

I used this site to map the second XBOX controller to the mouse and keyboard.

Only issue is the jerky framerate and no sound on the window not using the keyboard/mouse hack. The keyboard/mouse window must be focused for it to receive input. This causes the second window to be treated as a background process. If there's some way I can change how often to update HL2.exe when it is a background process, this should fix it.
Posted Image
A.K.A. Mike MHz



Ivan the Space Biker's Personal Aid

Posts: 6,217

Icon

#5 Posted 23 June 2012 - 09:15 PM

    why dont you try a program that converts the 2nd gamepad into keyboard input, so its even more hacky, but fair. 
Posted Image



G-Man Personal Aid

Posts: 2,562

#6 Posted 23 June 2012 - 09:43 PM

Turns out there's a frame skip when out of focus built into the HL2 engine. Can't be fixed without some programming knowledge. Here's to hoping valve makes CS:GO split-screen friendly :please:
Posted Image
A.K.A. Mike MHz

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users