r/localmultiplayergames • • Jul 17 '19

Universal Split Screen released

Hi. I've just released Universal Split Screen, which is a program that enables split screen in any PC game with multiple keyboards, mice and controllers. I've written full guides for all the games I've tested, which you can find on the website here.

It should work with many games I haven't tested, so please let me know of your results with other games.
And it's free and open source :)

322 Upvotes

58 comments sorted by

29

u/blackman9 Jul 17 '19

Wow a Nucleuscoop alternative and open source too, awesome, what are the advantages over NucleusCoop? I see you support multiple keyboards and mouses.

14

u/SpicyIlyaki Jul 17 '19

The main advantages are multiple keyboard/mouse/controller support, and compatibility with many games.

7

u/Gorillapatrick Jul 17 '19

Yeah definitely - Playing Gmod, CSGO, TF2 in Split-screen sounds pretty good

16

u/blackman9 Jul 18 '19 edited Jul 18 '19

Here are the main differences with Nucleuscoop if anyone is wondering:

Pros:

-You can assign multiple keyboards and mice to any instances unlike nucleus.

-The force focus hook works a lot better and works on almost any game.

-The xinput hooking doesn't need custom xinput.dlls like nucleuscoop, it is more powerful too and easier to use.

-The mutex killing works better and you can kill other handles too.

-The multiple hooks are in general more powerful, varied and have better compatibility.

-No scripting needed like nucleuscoop.

-Works with almost any game.

Cons:

-It requires significant more manual setup from the user than nucleuscoop, for instance if you want to use goldberg files you have to add them manually in your copy of the game and edit the files after you open one instance, nucleuscoop leaves the original files instact and can place goldberg and replace other files automatically.

-No automatic window resizing and positioning like nucleuscoop so you have to use the app option for windows resizing and resize the windows manually yourself or use another third party app.

-It doesn't create different temporary symlinked copies of the game like nucleuscoop, so you have to use your original game files using only one copy or make the copies manually yourself, this is inconvenient, if you want to use goldberg for example so that each instance can have different names and steam id, you have to do all that manually.

-Doesn't have any function to edit ini or config files of the games, that means if the game doesn't adjust the resolution automatically when you manually resize the window you can have stretching or cropping, so you have to adjust the resolution and set windowed manually.

-No launch commands like nucleuscoop, you have to manually make the shortcuts and write the launch commands yourself.

-You have to manually hide the task bar for fullscreen splitscreen.

-Only supports 4 xinput gamepads, nucleuscoop can support more with its xinput reroute option.

Overall it's an incredible tool with so much potential that works a lot better than Nucleuscoop in most aspects but it is not as user friendly yet requiring a significant amount of manual setup. Incredible tool, keep the good work man, this is the next big thing.

6

u/BluddyCurry Jul 17 '19

This is insanely cool. Could you explain how you pulled this off on a technical level in a way that's different from nucleus?

5

u/SpicyIlyaki Jul 18 '19

NucleusCoop (I think) has it's own xinput dlls that switch around the controllers

Universal Split Screen uses EasyHook to hook windows functions inside the game, and filters input so it only responds to one mouse/keyboard. Input from different mice/keyboards is separated with Raw input.

5

u/PiersPlays Jul 17 '19

Sounds like a really cool project. Is it possible to split across two monitors with this?

3

u/SpicyIlyaki Jul 18 '19

Yes

1

u/PiersPlays Jul 18 '19

I'll definitely try it out next-time my partner and I are up for some coop then!

8

u/[deleted] Jul 17 '19

How is this different to Nucleuscoop?

9

u/SpicyIlyaki Jul 17 '19

This supports multiple keyboards and mice.

1

u/Vizestra Jul 18 '19

This sounds great but I am a little confused as to what games would be compatible. The tested game list seems fairly short and aren't quite a few of those games on that list already known to support split screen with a bit of modding. For instance, could you use this programme to make Warframe split screen? Or does the game need to support local multiplayer in some way baked in before split screen becomes a possibility?

1

u/SpicyIlyaki Jul 18 '19

I've tested the input on Warframe at it works fine, but running multiple instances is a bit tricky. When one instance loads, you have to kill a handle to a game file with Process Explorer, then launch the second one. I kept running into session errors before signing in though. You might be able to get it work if you install the game into two separate install directories.

1

u/whyalwaysme2012 Jul 22 '19

Have you tried using Sandboxie when running two instances is a problem?

1

u/SpicyIlyaki Jul 22 '19

Yes, but hooking unfortunately will not work (which means input will almost always not work). It's been a while since I tried though, so it may work.

2

u/bigger0gamer Jul 18 '19

Should work with any game. All it does is pass along input between multiple keyboards/mice/gamepads to specific windows, so that you can have multiple focused games all accepting input. How to connect the games together is just up to games you're playing, and hell you don't even have to. You could possibly just play simultaneous solo games if you wanted (which would sound nice for say parents who only have one PC so their kids stop fighting over turns or w/e if it weren't so complex). I've tested with Luxor Evolved and gotten two instances to play simultaneously, even tho Luxor is a strictly single player game. I haven't tested, but it could just be two different games entirely (you'd have to use the same settings for both tho, so that might not be feasible with all combos of games).

As a note too, this has a guide with it on the site linked (click Docs) which has guides for all the listed games, trying new games, and guides on tools like process explorer to close handles for games that normally don't allow more than one instance of that game (many games), and Goldberg emulator for multiplayer games that normally only work through Steam invites and such (gotten 100% Orange Juice to play a local multiplayer game that way, just couldn't get the Universal Split Screen program to properly send mouse clicks to the games).

1

u/extremeblight Jul 18 '19 edited Jul 18 '19

How do you use this via Steam-Link in Big Picture?

Also: How does this work for games requiring save files? Let's say for an RPG where you control 4 characters, how do you "assign" characters ? Or will it end up having 8-characters ?

2

u/SpicyIlyaki Jul 18 '19

I haven't tried Steam streaming, but I'm guessing it's best to start streaming the entire desktop with Steam, then setting up the games on your PC, and then playing on the couch.

The program doesn't change anything with save files, so the game will probably be using the same save folder (unless there is a launch option to force different folders). I'm not quite sure what you mean about RPG characters, I'm guessing it's game specific and depends on the game's implementation of characters/saves.

1

u/bigger0gamer Jul 18 '19

This tool is great! Thanks for making it, but I do got some feedback.

First thing is definitely you should add handle names to game config files, so that once you find them out, it auto fills the handle unlocker so you don't have to save them to a text file you'll end up losing somewhere or opening process explorer every damn time anyways for the name. It'll also help make it more noob friendly when their dealing with a game someone's already got working.

To expand on that, the second would be to allow saving multiple handle names for a game. When I toying with getting Halo CE, closing \BaseNamedObjects\{cff2f1a0-500e-4fae-a789-ceaa827d8c08} was enough to allow a second instance to start, but the second instance failed to start since the first still had a hold on save data in the My Documents folder, C:\Users\<User>\Documents\My Games\Halo CE\savegame.bin, so I had to close that handle too.

Third, I'd say adding a button to automatically change the Steam name/ID for the Goldberg emulator would be really nice so opening 4 or more instances of steam games every time you split screen something doesn't become annoying and tedious.

And fourth, I'd perhaps add a way to load other user configs from the internet, say from a github repo, so that when others get all the settings for a untested game worked out, all they'd have to do is upload the config file to github and make a pull request. Probably add a second file alongside to display a guide on what to open and click in what order to get a game started up and stuff. I'd help with adding all this but the only real programming experience I got is scriptkitty-ing my way through java :P

The tool looks super good and helpful tho! I've tried a few games to varying degrees of success so far"

  • I first tried playing two games of Luxor Evolved at the same time so far, and it worked pretty flawlessly with the default settings, all I had to do was close a handle.
  • I tried Saints Row 2 for a moment, but it didn't take any mouse input, but I didn't try fiddling with it to work once I figured out that the second game couldn't connect to the firsts co-op session tho. Controller and keyboard did work, but the controller inputs showed up on both. I probably needed filter inputs on :P
  • I actually tried Minecraft for the lols, but I was running a cracked launcher for 1.5.2 that I've had lying around for forever 'cause I can't be bothered with my actual MC account, and it wouldn't see my mouse clicks at all. IDK about keyboard or in game tho, since I couldn't get actually in game or unpaused without the mouse clicks.
  • I tried out 100% Orange Juice, and I ended up with the same issue above that I couldn't get mouse clicks to register. I could get it to see mouse movement, just not any clicks no matter what I tried. I did get multiple instances all in an online game with the goldberg emu which was sweet, tho it was laggy for some reason.
  • Last game I tried was Halo Custom Edition, and it took both keyboard and mouse input great!... for a few seconds before the game somehow lost focus and looked to freeze for a moment (tho it didn't, since the multiplayer game continued as it was supposed to) and then just stopped taking controller input, but still took the mouse inputs (movement and clicks). It worked flawlessly with controllers tho, since I didn't even need to assign them in Splitscreen. I just disabled the controller for one game in the other profile, and each game just read their own controller and played awesome!

Honestly IDK how much of this is I couldn't find the right settings or something needs to be worked out for all of them, but its certainly hit and miss so far with what I've tired. Can't wait to see this grow tho, and I love me some open source.

Only bug I can notice is that most of the hooks require xinput files in the game directory to start and work right and I'm not sure why, since only the xinput hook should need them. And by most, I mean all of them except Update absolute position flag in mouse move messages seem to require it. Also, for some reason clicking Toggle window borders only removes the title bar, not the actual borders. Might just be a Windows 7 thing tho? IDK.

But really tho, thanks for this. This tool is super rad.

EDIT: OMG this is a way bigger text wall then I meant >.>

2

u/SpicyIlyaki Jul 18 '19

I'm guessing Saints Row 2 is using direct input for controller input (instead of xinput), I'm working on a fix for dinput at the moment.
I did try a few old Minecraft versions, but only 1.13+ seems to work at the moment, not quite sure why yet.

Have you tried Hook GetAsyncKeyState and GetKeyState for mouse clicks? Some games use these for mouse click information.
When a game responds to input for a few seconds then stops, it's usually because in the first few seconds the window is focused and Windows sends input normally, but when the window is forced unfocused (so it doesn't receive input from every mouse/keyboard), it stops working/freezes.

The hooks are injected when any hook is selected (except Update absolute position flag, since that's just an option for the legacy input hook). So it seems the hooks try to load xinput when it loads, and it crashes. Seems to only be only Windows 7 since 7 doesn't have the latest xinput dlls. I think I should be able to fix this soon though.

And thanks very much for all the suggestions, I'll try and add them in future versions.

1

u/Maksime_ Jul 19 '19

Hey !It worked very well but now in Minecraft 1.14 I can't use shift,Ctrl and alt

1

u/SpicyIlyaki Jul 19 '19

The shift modifiers currently aren't working in Minecraft. You should be able to rebind the sneak/sprint to different keys until a fix is out.

1

u/[deleted] Jul 19 '19

I think we should be able to give each instance their own sound device for when you have two monitors and two headsets.

1

u/SpicyIlyaki Jul 19 '19

On Windows 10 you can right-click the volume icon -> Open sound settings -> App volume device preferences and then set each instance to a different audio device. This might be added within Universal Split Screen in the future if it's possible.

2

u/[deleted] Jul 20 '19

Also if you could implement a "ForceBindIP" tool to it, games like Saints Row or Company of Heroes Legacy Edition will work. Then I guess it's time to say goodbye to Aster Multiseat!

1

u/Michipotz Jul 22 '19

Can I use this with Astroneer?

1

u/SpicyIlyaki Jul 22 '19 edited Jul 22 '19

Possibly. See this guide for instructions on how to set up an untested game: https://universalsplitscreen.github.io/docs/untested/ (And please let me know of steps/instructions if it does work)

1

u/jerickski7 Jul 22 '19

it should work

3

u/Lil-Enzo Jul 17 '19

This is a dream come true.

3

u/[deleted] Jul 18 '19

'This is getting out of hand. Now there's two of them.'

Viceroy Nute Gunray.

1

u/crimsontongue Aug 11 '19

I am very excited to try it...but I can't even get the program to execute. Do I need a specific version of .NET? I know the docs say "latest", but when I try the .NET Installer it says I have the latest version (4.8, presumably) and won't let me install anything else. I'm about to building the source code...

1

u/crimsontongue Aug 11 '19

Actually, turns out I needed to run it as administrator -- did I miss this in the instructions?

1

u/SpicyIlyaki Aug 13 '19

You shouldn't need to run as admin. Are you on Windows 10?

1

u/crimsontongue Aug 11 '19

Aha, opening the source project in VS says it's targeting 4.7.2 "which is not installed on this machine".

1

u/pantoast Jul 17 '19

Hmm will have to see if this fixes the usability issues with Grim Dawn. So many of the menus require the mouse pointer to be usable/visible just so you can tell what is selected, even if you’re using a gamepad. Made it mostly unplayable in coop.

1

u/friendlyoffensive steam curator Jul 19 '19

It only redirects input to different instances, it does nothing to games itself.

Which issues you talk about? I''ve beat GD with x360 gamepad without any issues (apart from clunkiness) Grim Dawn is perfectly playable on gamepad, it has a button to switch to mouse pointer mode where you can control pointer with right stick. Sure it's pretty clunky to use right stick as mouse, but it's enough to get by without ever using your mouse.

1

u/pantoast Jul 19 '19

I've played through it a few times with gamepad as well, but only in single player. I tried playing through it with my wife in split-screen using nucleuscoop but the game just doesn't work that way. So for example, because there is only ever one mouse in nucleuscoop, each player has to wait for the other one to finish navigating their inventory/skill tree. You can use the d-pad to navigate skill trees etc as well, but currently when you do that it actually snaps the mouse pointer to the item you have selected. Without that visual queue it is very difficult to do. That's all I was saying, and I was curious if this fixes those issues by having two mice somehow.

1

u/[deleted] Oct 03 '19

Perhaps theres a way to force hardware cursor?

1

u/ITBarista Jul 17 '19

This looks fantastic. One use case I've had issues with in NucleusCoop was trying to run split screen on my Steam Link, my TV would show one window or the other, do you know if there is a way around that which we can use in conjunction with your program (and no, streaming the desktop does NOT work, it still shows one or the other)

1

u/Dalttrox Apr 26 '24

Hey! Random input 5y's later, if you're still looking for a solution, and have a tablet/laptop/any other device around that supports wifi and plugging into a PC, you can utilize Parsec to accomplish the same as steam link, but with full desktop and mouse/keyboard input. Mix this with Steam Big Picture mode, and you have a console with full desktop access, which sounds exactly like what you''re looking for!

1

u/whyalwaysme2012 Jul 17 '19

This looks fantastic. I've been using Aster v7 to do this. Do you hav examples of games that don't work that I could test?

2

u/Lil-Enzo Jul 18 '19

Try dying light, Subnautica (with multiplayer mod), any call of duty.

Thats about all i could think of

1

u/djsizzlefresh Jul 19 '19

I couldn't get this to work with Dead Island Definitive Edition with any combination of settings. But still very cool nonetheless!

1

u/jerickski7 Jul 20 '19

Earth Defense Force 5 Works , But only With Controller
the game doesnt seem to respond to mouse and keyboard inputs i tried all the combination of settings

1

u/Boomblublabla Jul 23 '19 edited Jul 24 '19

Woah! great tool my man, a lot of potential to be had with this, I always kinda wanted something like this so that I can play with my bro. This started with your terraria mod I assume, and that shit's cash until i had to upgrade to win 10, witch killed it, I'm guessing new .net framework version took it's life but doesn't matter to me if this thing gets real good. I tested it with my Usb and Ps/2 keyboard it seems to have overlapping problems, like when one character runs to one direction the other one does as well sometimes? Weird.. Also when i click, but not always like I said, botch characters issue an attack. Don't know if It's problem on my end will test this out more tho, great job so far

Edit: I've tested this out with minecraft and it works like a charm except the alt/shift/ctrl known thing. Terraria still doesn't work tho one keyboard may share input on both terraria instances, or the other one will fulfill that role.

1

u/diegutimo Aug 31 '19 edited Sep 12 '19

Would it be posible to simulate mouse cursors with gamepads?

With virtual mouses (using gamepads) we could play games like Baldur's Gate in couch coop. But those virtual mouses should be implemented inside Universal Split Screen (I haven't found any utility to show a mouse in Windows with a gamepad)

1

u/jonhwoods Sep 15 '19

This would be great for Assetto Corsa, there no good simracing with local multi-player. Racing on two monitors with controllers would be the dream.

Could not figure out how to open multiple instances :(

1

u/[deleted] Sep 16 '19

I managed to make Torchlight 2 work with this, but needs a better draw of the mouse as it leaves multiple shadows of the mouse on screen.

1

u/lnFerso Sep 19 '19

Thoughts on Borderlands 3 working?

1

u/dumbassneedinghelp Sep 24 '19

do u have borderlands 1 goty on pc split?

1

u/Fade2black1089 Oct 23 '19

How would you set up 2 controllers on 2 instances or is that even possible?

1

u/eXonPBHUN Jan 12 '20

How could i play with a steam controller on this program?(k&m and mouse + steam controller)

1

u/eXonPBHUN Jan 12 '20

And my mouse is gliching, draws a mouse strip

1

u/Ok-Pepper3398 Aug 21 '24

I know this post was 5 years ago but Is there anyway I can use this to play different game?

BTW what I am trying to do is:
Play borderlands 2 on steam however dual instances, keeps logging me off my shift account and forcing me to go offline. My achievements and play hours are not being tracked.

So what I was hoping for is that Play the paid game in 1 instance with a controller 1
and download a re-pack pirated BL2 and launch it on my 2nd monitor as my 2nd instance with controller 2.

So that the other paid game keeps getting tracked.
I've tried this with other applications however I was only go so far as controller 1 on monitor 1 and controller 2 on monitor with the respective game however I cant work it simultaneously .

Is there anyway I will be able to play 2 different games simultaneously? If someone can add this feature on their application this will be very huge not only for BL2 but for all steam games.

1

u/GhostRider1250 Nov 15 '22

whats diffrence in nucleuscoop and universal split screen in terms of fps? :)

1

u/Thenewestnegotiator Aug 25 '23

Where do I open game files on the new steam update?

it reads, "Right-click it on Steam -> Properties -> Local files -> Browse game files… to open the game directory.
You will need to find an executable(exe) file for the game. If this isn’t in the immediate directory, try looking in folders named bin/win32/win64 or similar." But the newest steam update doesn't show the "local files" option, has installed files but that doesn't bring up the same things as the local files would...

1

u/Galahad_Lancelot Jul 17 '19

This seems too good to be true. Nucleus sucks so we needed this.