lucasassislar / nucleuscoop

Starts multiple instances of a game for split-screen multiplayer gaming!
https://www.reddit.com/r/nucleuscoop/comments/clkqp9/all_new_nucleuscoop_supported_games/
MIT License
809 stars 194 forks source link

Black screen(s) when playing Borderlands 2 #47

Open Dibler94 opened 7 years ago

Dibler94 commented 7 years ago

I've tried using Alpha 5 and 6 to play Borderlands 2, and get audio with no visuals. Is there some setting I need to change that I'm not aware of? The game runs fine without Nucleus.

Dibler94 commented 7 years ago

So when I try extending the screen I end up with the one on my laptop working while the one on the TV I have it plugged into stays black. This is the case no matter which player is assigned to which screen.

ryantimjohn commented 7 years ago

I have the same issue. I'm wondering if we both might be using under powered systems? You used the word laptop, I'm also using a portable setup.

tbare598 commented 7 years ago

Can you run the game normally, using the TV as the display?

ryantimjohn commented 7 years ago

Yes, the game works just fine outside of Nucleus Coop. I looked at resources and the CPU resource use goes up to 100% when both games start. I have an Intel Core i5-5200U CPU at 2x 2.20Ghz with a NVidia GeForce 940A (2Gb DDR3, rare and kind of weird card.)

tbare598 commented 7 years ago

Well poor performance shouldn't cause a screen to be completely black. Though game might run sluggish.

Are you able to use NecleusCoop to open the game for 2 players in split screen? By that, I mean 2 players on the same screen.

ryantimjohn commented 7 years ago

Right you are. To test this, I ran the game twice by creating two shortcuts, changing properties to include a always focus, a controller offset and a new savegameID. It worked just fine. So, you're right, this isn't graphics card issue.

tbare598 commented 7 years ago

So there is an easier way to check if you can run 2 players on the same screen(your laptop screen, preferably), and test the necleuscoop tool. After you select the number of players, you'll see in the UI the screens that you can place your players on. From there, click on this image(it's kinda hard to see because it is missing the background): https://github.com/lucasassislar/nucleuscoop/blob/master/Master/NucleusGaming/Resources/fullscreen.png After clicking that, it will change the split screen mode selected, so that you can place the 2 players on the same screen. After you place the players on the same screen hit PLAY.

Wait a second. I just remembered a bug that I fixed, in my own fork of this repo, where the video config file wasn't getting set properly. I'm not at my computer right now, so I can't confirm the location, or the exact name of the file, but I think it is here: Drive:\Users*username*\My Documents\My Games\Borderlands 2\WillowGame\Config\WillowEngine.ini

And you want to set at least these values: WindowedFullscreen = true (or 1) Fullscreen = false (or 0) ResX = (your horizontal pixel width) ResY = (your vertical pixel heigth) bPauseOnLossOfFocus = false (or 0) bPauseLostFocusWindowed = false (or 0) bMuteAudioWhenNotInFocus = false (or 0) bPauseOnLossOfFocus = false (or 0) bMuteAudioWhenNotInFocus = false (or 0)

ryantimjohn commented 7 years ago

Thanks so much, will check that out.

On Wed, Mar 1, 2017, 12:49 PM tbare598 notifications@github.com wrote:

So there is an easier way to check if you can run 2 players on the same screen(your laptop screen, preferably), and test the necleuscoop tool. After you select the number of players, you'll see in the UI the screens that you can place your players on. From there, click on this image(it's kinda hard to see because it is missing the background): https://github.com/lucasassislar/nucleuscoop/blob/master/Master/NucleusGaming/Resources/fullscreen.png After clicking that, it will change the split screen mode selected, so that you can place the 2 players on the same screen. After you place the players on the same screen hit PLAY.

Wait a second. I just remembered a bug that I fixed, in my own fork of this repo, where the video config file wasn't getting set properly. I'm not at my computer right now, so I can't confirm the location, or the exact name of the file, but I think it is here: Drive:\Usersusername\My Documents\My Games\Borderlands 2\WillowGame\Config\WillowEngine.ini

And you want to set at least these values: WindowedFullscreen = true (or 1) Fullscreen = false (or 0) ResX = (your horizontal pixel width) ResY = (your vertical pixel heigth) bPauseOnLossOfFocus = false (or 0) bPauseLostFocusWindowed = false (or 0) bMuteAudioWhenNotInFocus = false (or 0) bPauseOnLossOfFocus = false (or 0) bMuteAudioWhenNotInFocus = false (or 0)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lucasassislar/nucleuscoop/issues/47#issuecomment-283415529, or mute the thread https://github.com/notifications/unsubscribe-auth/AP2s16_X58bB0GuZ2dGEFdA85cMTu1z7ks5rha_AgaJpZM4KsDXh .

tbare598 commented 7 years ago

Okay, so I looked into it, and I don't believe the config file was the problem, not for borderlands at least. It was a problem with Left4Dead 2, which I believe the maintainer of this project recently addressed in his latest commit.

I'll have to think about this a bit more. I've always had problems connecting a PC to TVs to play games, since they often don't provide the same support for video protocols as computer monitors do. Especially with weird video resolutions... Wait a second. NecleusCoop has a lot of problems with different resolutions. What resolution does your monitor and TV support? Try setting the computer monitor to the same resolution as the TV, before starting the game.

ryantimjohn commented 7 years ago

Hi! So, just to specify: I am not the OP. I am not hooking the game up to a TV, just running off the integrated monitor in my all in one.

tbare598 commented 7 years ago

So from what you are saying, you only using one screen? Would you mind describing your situation in a little more detail?

ryantimjohn commented 7 years ago

So, I am running an all-in-one with a 1920x1080 display. Integrated Intel graphics and a dedicated Nvidia 940A card. (Lenovo Yoga Home 900) I have set both "Instances" of Borderlands2 under NucleusCoop/Data to run on the Nvidia card. When I load Nucleus Coop, I click on 2, then the horizontal split, then press play. Both instances of Borderlands 2 boot up and properly resize to the top and bottom halves of the screen. But both screens are completely black. Strangely enough, sound is preserved. And I can hear it load into the menu, so have started a new game and heard the opening credits. So, everything's running, it's just displaying black.

On Thu, Mar 2, 2017 at 6:55 PM tbare598 notifications@github.com wrote:

So from what you are saying, you only using one screen? Would you mind describing your situation in a little more detail?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lucasassislar/nucleuscoop/issues/47#issuecomment-283821580, or mute the thread https://github.com/notifications/unsubscribe-auth/AP2s16OLscKXuAPC1FYnqrth6K5dSpaQks5rh1cFgaJpZM4KsDXh .