Jump to content

Multi monitor setup with screens of different resolution/type, AND with bezel correction.


Recommended Posts

Posted (edited)

Hey,

 

Yesterday, I found a way to get a multi monitor setup working with bezel correction over any type of monitor.

In full screen, with no Nvidia Surround/AMD EyeFinity enabled!

 

The process is as follows:

 

You need to use an injector called SoftTH to fix the multi monitor setup.

You can get the actual injector here (and here is a graphical user interface that is quite handy for setting it up).

 

You want to paste the files in your "..\bin\game" directory. Rename the existing "d3d9.dll" to something else before you do so (for example "d3d9_old.dll").

 

Now the average SweetFX/Reshade user might think; "Oh no, my post effects is now not being applied any more since I replaced the injector with another!".

Well it is actually possible to use several injectors! We'll get back to that.

 

Open the SoftTH user interface and configure the screens, bezel correction padding and all, just like your screens are set up. Make sure you tick "force resolution".

Save it (preferably in the game folder as well).

 

Open the configuration file it creates in notepad, and note down the "renderResolution=" values.

That is your rendered resolution including the amount of pixels in your bezel correction padding.

 

Open your games "..\data\startup.cfg", and fill in the numbers from SoftTH

under "[KEY = graphics]" in "full_height =" and "full_width =".

 

Check that your "fullscreen =" and (most likely also) "desktop_center =" is set to 1. Save!

 

Now! Several injectors!

 

Download the generic ENB Injector.

 

Put the ENB files in the game directory as well. Open the enbinjector.ini.

Change it to:

 

 

[LIBRARY]
LibraryName=d3d9_old.dll (or what ever you renamed it to)

[TARGETPROCESS]
ProcessName0=Il-2.exe
ProcessName1=
ProcessName2=
ProcessName3=
ProcessName4=
ProcessName5=
ProcessName6=
ProcessName7=
ProcessName8=
ProcessName9=
ProcessName10=
ProcessName11=
ProcessName12=
ProcessName13=
ProcessName14=
ProcessName15=

 

 

Run the ENBInjector.exe. Now run the game. Voila! It should now run both SoftTH and SweetFX/Reshade.

 

I understand that it might be an issue for some of you having to start the ENB injector every time, but we can solve this, by writing a small script in notepad and saving it as a "*.bat" file:

 

 

@echo off

start "ENB Injector" /w /b "[Path to ENBInjector.exe]"


start "IL-2" /w /b "[Path to IL-2.exe]"

 

 

For Steam users; replace the last start command with "start steam://rungameid/307960"

 

Save it as a bat file and run it. It should now start the ENB injector and the game automatically.

 

PS: To create taskbar icons or shortcuts, you can even convert this bat file into an exe file through one of the free/open source programs out there. I used BatToExe.

Add a shortcut to the exe, choose an icon if you like, and put it where ever you like!

 

I hope this worked as well for you as it did for me!

 

Best,

Klas

 

4XPrqg5.jpg

Edited by kissklas
  • Upvote 2
  • 2 months later...
Posted (edited)

Is this still possible??

 

I cant find any d3d9.dll nor can I get my custom resolution to show up anywhere..

 

I am only concerned with the softth part of it not the sweetfx.

 

Thanks!!

Edited by Ride
Posted

Yes, I think if you copy the d3d9.dll from SoftTH into the "..\IL-2 Sturmovik Battle of Stalingrad\bin\game\" directory, the game should use that dll.

 

Oh, by the way! I have noticed a bug with SoftTH in IL-2. Not sure if it's just my computer or if it's affecting everyone.

The tiling of the distant lower resolution textures are wrong when flying at altitude. So navigating is impossible.

 

Could you check back here if you get the same problem?

 

Best,

Klas

  • 4 weeks later...
Posted

After a bit of messing around I finally got this to work :biggrin:

 

For anyone else having trouble the trick for me was to run the IL-2.exe and not the launcher.exe

Now the launcher.exe will not run at all...it says its running but the screen does not show, I guess I will deal with this when I have to.

Posted

Good:) Did you any texture issues in game?

  • 3 weeks later...
GrendelsDad
Posted (edited)

Hey Ride. FYI I was having same launcher issue with soft th. If you remove the d3d9 file and the file soft th creates(same folder where you placed d3d9 file) then start launcher, it should work...let the launcher update the game. Place the 2 files back in the folder and soft th should work again.

 

This will have to be done for each game update. You will still have to launch game with IL-2exe.

Edited by 6./ZG1_GrendelsDad
  • 8 months later...
Posted (edited)

Sorry for posting in an old thread, I can't seem to find much discussion about this.

 

Has anyone got bezel correction working with Il2 Sturmovik Battle of Stalingrad??

 

I've been going round in circles for days trying to get it working. Every time I launch, despite the config looking great and having all the correct values, Il2 just ignores it somehow. Softth is giving me the PLP triple screen setup though and in the correct res. All other values seem to register in the config.

 

 

I can't seem to get it working in fullscreen either, only windowed. This may be related, but unsure.

 

Kissklass I'm wondering about this line here:

 

 

Check that your "fullscreen =" and (most likely also) "desktop_center =" is set to 1.

 

It seems that you might be saying set fullscreen to 1, but when I do that I get a D3D error. I can only run in windowed mode at the moment.

 

 

My D3D error when I try fullscreen is:

 

"cannot create device d3derr_invalidcall"

 

I haven't tried any other games yet, so not sure if it's an issue purely for il2


Thanks to anyone reading

Edited by MeeGee
Posted

Sorry for posting in an old thread, I can't seem to find much discussion about this.

 

Has anyone got bezel correction working with Il2 Sturmovik Battle of Stalingrad??

 

I've been going round in circles for days trying to get it working. Every time I launch, despite the config looking great and having all the correct values, Il2 just ignores it somehow. Softth is giving me the PLP triple screen setup though and in the correct res. All other values seem to register in the config.

 

 

I can't seem to get it working in fullscreen either, only windowed. This may be related, but unsure.

 

Kissklass I'm wondering about this line here:

 

 

It seems that you might be saying set fullscreen to 1, but when I do that I get a D3D error. I can only run in windowed mode at the moment.

 

 

My D3D error when I try fullscreen is:

 

"cannot create device d3derr_invalidcall"

 

I haven't tried any other games yet, so not sure if it's an issue purely for il2

 

 

Thanks to anyone reading

Hey! I stopped using multi monitors a while back, so I can't remember. But I know the message you are getting is due to setting a higher resolution than the monitors max res.

 

I think it worked for me as long as I used the SoftTH dll. Are you sure SoftTH is injecting properly?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...