Jump to content

[MOD] VREM : VR enhancer


Recommended Posts

C6_lefuneste
Posted (edited)

Features

This mod provides functionalities to enhance the VR usage in IL2 GB (some options could also be used in 2D).

It is not allowed in most multiplayer server, because the 3Dmigoto library itself can be used to cheat, as reshade.

 

With version,> V5.x   all settings can  be changed in cockpit (!not working in hangar!) by a menu called by LCTRL + F1 key, with different pages that can be cycled using LSHIFT+F12 or LCTRL+F12. Settings can be saved by LALT+F12.

A lot of features have numerical values that can be increased of reduced by pressing key. The increment value is set by pressing left arrow, that will cycle between Very coarse (+/-0.1), Coarse (+/-0.01) or Fine (+/-0.001).

User settings are stored in a file called d3dx_user.ini, which will not be overwritten by the future version of the mod. So your settings will remain.

 

menu.thumb.jpg.80e42c51c59daaa6cc42880dbdd6a24b.jpg

 

The following features are available:

Labels/Icons

1. Airfield/Mission target Label masked by airframe
It has to be checked, but, even if all object labels are now hidden by airframe, the Airfield, mission target,… was still displayed in front of the cockpit in previous version

Toggled on/off in ICON/LABEL menu page, line "Icon masking"

 

2. Color and text of label/icons

same color can be applied to all label, text can be removed, in order to reduce the "cheating" look of labels/icons. Color change and text removal can be set separately.

Icon masking is toggled on/off in ICON/LABEL menu page, line "Icon masking"

Color icon replaced by grey

  • can be toggled on/off in ICON/LABEL menu page, line "Color as grey"
  • grey strenght can be set in ICON/LABEL menu page, line "Grey strenght"

Test removal is toggled on/off in ICON/LABEL menu page, line "Text disabled"

 

 

Color/ brightness / rendering

3. Strength of sight can be increased or reduce
Sight brightness can be strenghtened or reduced by using menu page "MISC." option "sight brightness". Sight can be disabled if value is set to 0.

 

4. sight can be idisplayed for left, roght or both eye
Eye for sight rendering can be selected by using menu page "MISC." option "sight eye". Sight can be displayed for left eye, right eye or both.

 

5. Game color can be modified
Two settings are available. Cockpit and external color can be changed separately.  Saturation can be changed, color component can be multiplied by a factor and a constant can be added.
Menu page COCKPIT COLOR and EXTERN. COLOR will change colors for cockpit and external elements accordingly.

Saturation line will change image saturation

Color mul will multiply all color components by the line value

Color add will add line value to all color components.

The color change option can be toggled off/on in game and in menu by pressing LSHIFT+F1

 

6. Night mod for map
The map can be darken to avoid dazzle in night flight.
Activated / deactivated in game by LCTRL + u key
Darken factor can be changed in MISC. menu page, line "night mode"

 

7. Sharpen for cockpit only
Sharpen can be applied only for cockpit, in order to avoid shimmering and have a more realistic landscape (from my point of view). Works with sharpen option on or off. If Game sharpen option is off, a dedicated sharpen is done. If game sharpen option is on, in game sharpen will be applied only on cockpit.
Activated / deactivated in menu
Sharpen factor and luma can be changed only for mod sharpen (notaken into account for in game sharpen) by using "COCKP. SHARPEN" page, lines cockpit sharpen and cockpit luma

 

8. AA enhancement for spotting
AA can make planes "merged" wiht background, especially for FXAA. This option will disable AA on border of other planes so will make them more visible. If sharpen options are activated, sharpen will also be done on the plane's borders.

Activated / deactivated in menu, page "AA ENHANCEMENT", option "AA spotting improvement"

 

9. FXAA enhancement for cockpit

By default no FXAA is done on cockpit if "sharpen" option is activated. FXAA will be done (only on edge of object) if this option is activated.

Activated / deactivated in menu, page "AA ENHANCEMENT", option "FXAA sharpen improvt."

 

GUI

10.  Kneepad like feature
 Pictures that user can modify can be displayed in flight, in the same place than the map. Currently 27 images can by cycled.
Activated / deactivated by LALT + j key
Pages can be cycled by LSHIFT+j and LCTRL+j keys
Images can be changed, see customization section

 

11. Technochat can be temporarily hidden in flight
To help to check gauge instead of reading the technochat, but not loosing information we can only have with it.
Activated / deactivated by LSHIFT + u key.

 

12. Cockpit photo can be displayed with a bigger size in front of player view
I use my other mod to replace photos by plane tech information (duration for RPM/manifold , temp ...) but this photo is hard to read in some plane. So I made this feature to display it in a more usefull way. Unfortunately, I could not make it work by default, so you have to cycle through cockpit texture by LSHIT+k key. When the photo has been displayed, 'k' key should display it again.
 

 

FIX

13 Sun halo is masked by airframe +  cloud debanding + other little fixes
Set on by default. Can be set in menu MISC. page, line "Graphic improvement"

 

 

NB: For rotation VRNeckSafer is THE tool to use.

 

Known problems



Installation

Get the mod  here

 

The mod contains now two "flavour" folders : on for standard game (VR_Enhancer_x.y), and another for game used with openXR (VR_Enhancer_x.y_openXR).

 

installation without openXR

  •  Without JSGME ou OVGME (not recommended): unzip the mod zip somewhere, copy the folder for non openXR usafe (VR_Enhancer_x.y) into the installation directory of IL2 GB.
  • With JSGME or OVGME : unzip the file into your MODS folder and install VR_Enhancer_x.y

    After installation, you should find at least d3d11.dll, d3dx.ini files and shaderfixes, users_settings, ReplacementTextures directories in the same directory than IL-2.exe

 

installation/usage with openXR

  • Without JSGME ou OVGME (not recommended): unzip the mod zip somewhere, copy the folder for openXR usage (VR_Enhancer_x.y_openXR) into the installation directory of IL2 GB.
  • With JSGME or OVGME : unzip the file into your MODS folder and install VR_Enhancer_x.y_openXR

    After installation, you should find "3dmigoto" directory in the same directory than IL-2.exe.
    As another folder is used, your mod settings wil have to be redone and resave.

    !!! for openXR usage, you must launch the program  [IL2_install]\bin\game\3dmigoto\3DMigoto Loader.exe every time before launching IL2, otherwise the mod is not activated !!!

 

Uninstallation

·         Without JSGME ou OVGME (not recommended): execute the program “uninstall.bat”  that should be in the same directory than IL-2.exe or suppress manually 3d11.dll, d3dx.ini files and shaderfixes, users_settings, ReplacementTextures directories.

·         With JSGME or OVGME : the zip is packaged to be uninstalled directly by these programs

Do not suppress d3dx_user.ini file, it contains your unzoom settings. You will have to set them again if you suppress them.

 

Documentation

No more needed, menu option should be straightforward

 

2020/06/07 : version 1.1, compatiblity with 4.006, bug fixes

2020/06/12 : version 2.0 : compatibility with 4.007, bug fixes.

2020/07/09 : version 3.0 : compatibility with 4.008, bug fixes.

2020/07/12 : Version 3.1 : bug fixes

2020/07/22 : version 3.2,  bug fixes

2020/08/17 : version 4.0 : 4.009 compatibility + fog issue for far town fix.

2021/04/23 : version  5.0 : 4.601 compatibility + new menu feature for all options settings + cleaning up

2021/04/26 : version  5.1 : 4.601 compatibility + new menu feature for all options settings + cleaning up + bug fix with MSAAx2

2021/05/14 : version  5.2 : fix waypoint icons not masked by airframe

2021/09/03 : version 6.0 : no more convergence settings, option for sight eye and AA/sharpen spotting improvement.

2021/12/11 : version 6.1 : compatibility with 4.701

2022/03/15 : version 6.3 : compatibility with 7.03

2022/03/25 : version 6.4 : fix an issue with 7.03

2022/08/31 : version 6.4.1 : packages for openXR usage

2022/09/10 : version 6.5 : some bug fixes + new feature to display photo

2023/01/15 : version 6.6 : fix black cockpit when sharpen option is off

2023/01/22 : version 6.6.1 : this time, really fix black cockpit when sharpen option is off  !

2023/01/22 : version 6.7 : compatibility with 5.104

 

Edited by C6_lefuneste
  • Like 16
  • Thanks 17
  • Upvote 10
GOA_Karaya_VR
Posted

Amazing Sir!.. thanks! 

Posted (edited)

@c6_lefuneste  No propeller 100% removed, in this mod. ?

 

edit: as it seems some are complete unknow about the fact if using a higher number in prop_blur, you will get very slow moving valvelink movements and shifting to -1 you still have disturbed view in the prop disc both while using reprojection in SteamVR. The only solution is to get that disc complete removed. 

Edited by Dutch2
  • Sad 2
  • Upvote 1
C6_lefuneste
Posted (edited)
2 minutes ago, Dutch2 said:

No propeller 100% removed, in this mod. ?

 

It seems to me that in game features are anough to cope with ASW, and some see this as a cheat also.

Edited by c6_lefuneste
  • Upvote 2
Posted (edited)
1 hour ago, c6_lefuneste said:

 

It seems to me that in game features are anough to cope with ASW, and some seen this as a cheat also.

 

I did not read that here about the propeller cheat and the 1c solution is half baked solution, that if not real effective.  But ok, its your mod. 

Edited by Dutch2
Posted

Great! Thank you!

Posted

welcome back! glad this all got sorted for all parties.

 

onwards and upwards!

SCG_motoadve
Posted
2 hours ago, c6_lefuneste said:

 

It seems to me that in game features are anough to cope with ASW, and some see this as a cheat also.

Why is this a cheat? It just add realism, and helps FPS

C6_lefuneste
Posted
17 minutes ago, SCG_motoadve said:

Why is this a cheat? It just add realism, and helps FPS

This is not a question of realism, it's just to be on equal terms with users that did not use the mod.

I do not want to restart any controversy. If the current game option is still creating problem for VR, please report to the devs.

Posted

Good stuff Lefuneste. Thanks, I'm happy the kneeboard's back.

Posted

Thanks for your ( on going,)efforts!

Enemy ace.jpg

=RS=OAvirexO
Posted

i cant adjust the zoom convergence insert and delete do noting everything else seems to work tho anyone got any ideas ? 

TCW_Brzi_Joe
Posted

@YA-Avirex First L.Alt+F9 to start setting convergence, then press zoom key (keys) and hold zoomed, then adjust with Insert/Delete.

 

On end F12 to save, and that will kick you out of convergence setting.

  • Like 1
  • Thanks 1
=RS=OAvirexO
Posted

yeah been doing that no luck but i have just noticed im getting the fps with PP of as i was on so no biggy 

TCW_Brzi_Joe
Posted

 

10 minutes ago, YA-Avirex said:

yeah been doing that no luck but i have just noticed im getting the fps with PP of as i was on so no biggy

(That is for Pimax only):

-PP on gives supersampling and then undersampling to match screens, that is recipe for bad spotting... It fells like full hd monitor with 1366*768 streched..

 

-VREM with pp off gives better picture in the middle, with white boxes on edges.

It is not perfect, but I play pp off.

=RS=OAvirexO
Posted

yeah i am using pimax but what i meant is that the only reason i didnt want to use PP is because it hits my fps but i have just noticed it is the same fps with it off so it dont matter i can just use PP now 

 

Posted

Hi lefuneste,

The previous version had valuable features that could be used by players in 2D (there was a helpful table that showed the features for 2D/VR).  Does this version work for 2D?  I'm particularly interested in 'Airfield/Mission target Label masked by airframe',  'Sun halo is masked by airframe', 'Plane in front of cloud fix'  and possibly 'Colour/Brightness/Rendering'  features.

 

Mike

firdimigdi
Posted

Thanks @c6_lefuneste - can't wait to try it out later today!

Is there any chance the contrast curves another player  (I believe it was @peregrine7) had added to your previous mod's incarnation could be ported over to this?

Posted

Do I have to have "Mods ON" in order to use this?

J5_HellCat_
Posted
Just now, Sketch said:

Do I have to have "Mods ON" in order to use this?

 

No

  • Like 1
Dijital_Majik
Posted

Thanks for bringing all these features back so quickly!  I hadn't even updated or played Il-2 since the changes, because several of these things are absolutely essential for me.  Now I get to see what all the fuss about the new rendering and FPS is all about!!

Posted

Thank you for the update Lefuneste!  Merci.

 

I noticed a picture of a detailed button map for TM Warthogs in the mod.  Is the script for that available anywhere?  It seems related to Homefries stuff, but the button mapping is different.

 

 

Posted

Thanks Lefuneste, I have installed and tested, seems to work well for me (the only feature I use is the extra 15 degrees of head-turn for checking six, but it's *very* useful).

 

I have a Pimax Artisan on the way, am I about to be in a world of hurt with parallel projection and zoom stuff?

TCW_Brzi_Joe
Posted

Yes @Alonzo, pp off means perfect clear picture.

Yesterday I was on WOL, some winter map. It was beautiful on Pimax, as all errors were white map tiles, blended with snow :)
It was like it should be, crisp clear, with 3 layers of zoom; I was seeing enemy planes, and active avoiding one when chasing other :)

 

=GW=a7610783
Posted

Article 14 does not know how to set up, and can I ask someone successfully teaching it?

TCW_Brzi_Joe
Posted (edited)
40 minutes ago, =GW=a7610783 said:

Article 14 does not know how to set up, and can I ask someone successfully teaching it?

That is Pimax pp=off correction and Unzoom

 

1) set "vr_zoom_speed = 1" in C:\Program Files (x86)\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\data\startup.cfg

2) change in game key binding for vr zoom, must be "Numpad*"

3) Start game with VREM installed. Start some single player mission, with some clouds to have shadows visible. Pause game.

4) click L.alt + F9. It will start adjusting, and green text will be visible.

5) press and hold L.Shift+Numpad*. That will zoom a little; now set your views with Insert/Delete. Then set shaddows/reflections with Home/End. There is also some aim setting Pg.Up/Pg.Down, i didn´t change it. When ready, let L.Shift+Numpad* unpressed.

6) same as 5), just for middle zoom, with L.Control+Numpad*...

7) same as 5), just for max zoom, with Numpad*

8 ) when ready, press F12 to save your config, and to go out of adjusting mode.

9) Optional, but recommended; backup your C:\Program Files (x86)\Steam\steamapps\common\IL-2 Sturmovik Battle of Stalingrad\bin\game\ d3dx_user.ini

 

peace of cake! ;)

 

PS: bind this to your joystick keys:

High zoom: Numpad*

Middle zoom: L.Control+Numpad*

Low zoom: L.Shift+Numpad*

Edited by Brzi_Joe
  • Thanks 1
  • Upvote 1
firdimigdi
Posted

This is really nice - I only used the color correction part of the mod without sharpening and didn't notice any performance hit in GPU render times.

The only thing I did notice is that the canopy/instrument reflections are different and way less noticeable when using this mod; not anything critical for sure.

C6_lefuneste
Posted
14 hours ago, DarKcyde said:

Thank you for the update Lefuneste!  Merci.

 

I noticed a picture of a detailed button map for TM Warthogs in the mod.  Is the script for that available anywhere?  It seems related to Homefries stuff, but the button mapping is different.

 

 

No it's mine, I did it myself. I can post it, but it needs a saitek quadrant to have all radiator axis mapped, otherwise they will miss to handle the engine.

1 hour ago, Firdimigdi said:

The only thing I did notice is that the canopy/instrument reflections are different and way less noticeable when using this mod; not anything critical for sure.

That's strange, they should'nt be modified.

23 hours ago, Mike2945 said:

Hi lefuneste,

The previous version had valuable features that could be used by players in 2D (there was a helpful table that showed the features for 2D/VR).  Does this version work for 2D?  I'm particularly interested in 'Airfield/Mission target Label masked by airframe',  'Sun halo is masked by airframe', 'Plane in front of cloud fix'  and possibly 'Colour/Brightness/Rendering'  features.

 

Mike

Yes, they work also in 2D.

firdimigdi
Posted
1 minute ago, c6_lefuneste said:

That's strange, they should'nt be modified.

That's what I was expecting but the difference was very visible under the same conditions. In the Mig-3 for example the canopy reflections (set to 1) with the mod disabled are clear and rather prominent with the correct light angle, but with the mod enabled there is reflection but not clear and very faint. I tried disabling all the mod extras, even setting the color change to 0,0,0 and still it looks different. I'll test later to see if it's visible on the desktop mirror window and upload comparison shots.

firdimigdi
Posted (edited)

image.thumb.png.d2a850cf5ec36070d55b04b2e9834c22.png

OK - here you can see on the left with the mod enabled the reflection is barely visible to the left of the scoreboard and distorted like it's projected on a plane - on the right is a similar angle with the mod disabled and it's quite visible and projected on the canopy.

Sorry about the scoreboard it got enabled with alt-tab since it was still mapped to TAB.

In the mod-enabled shot I was using the 0,0,0 color preset - all other features (icon masking, sun fix, etc) are off.

It's no big deal turning it completely off really; but just thought you'd want to know in case it's actually something deeper that's causing this and this is just a hamrless side-effect.

Edited by Firdimigdi
=GW=a7610783
Posted (edited)
4 hours ago, Brzi_Joe said:

那就是Pimax pp = off校正和Unzoom

 

1)在C:\ Program Files(x86)\ Steam \ steamapps \ common \ IL-2 Sturmovik斯大林格勒戰役\ data \ startup.cfg中設置“ vr_zoom_speed = 1”

2)要更改VR縮放的遊戲鍵綁定,必須為“數字鍵*”

3)開始安裝VREM遊戲。開始一些單人遊戲任務,並在其中有些雲使陰影可見。暫停遊戲。

4)單擊L.alt + F9。它將開始調整,並且綠色文本將可見。

5)按住L.Shift +數字鍵*。那會放大一點;現在,使用“插入/刪除”設置視圖。然後在Home / End中設置陰影/反射。還有一些目標設置Pg.Up / Pg.Down,我沒有更改。準備就緒時,請按住L.Shift +數字鍵*。

6)與5)相同,僅適用於中間縮放,使用L.Control +數字鍵* ...

7)與5)相同,僅用於最大縮放,使用Numpad *

8)準備就緒後,按F12保存您的配置,並退出調整模式。

9)可選,但推薦;備份您的C:\ Program Files(x86)\ Steam \ steamapps \ common \ IL-2 Sturmovik斯大林格勒戰役\ bin \ game \ d3dx_user.ini

 

和平的蛋糕! ;)

 

PS:將此綁定到您的操縱桿鍵:

高倍變焦:數字鍵*

中縮放:L.Control +數字鍵*

低倍變焦:L.Shift +數字鍵*

Hello, I successfully set the zoom, but no matter how you set it when binding JOYTOKEY, he has no response (even if you only press the corresponding key of the number key *)

But when I pressed the mapping key outside IL2, he was responsive (although the magnified deformation figure was wrong), but it didn’t work in IL2.

 

Edited by =GW=a7610783
TCW_Brzi_Joe
Posted (edited)

Did you bind in game, "vr zoom" to "Numpad*"? That must be, as it will trigger game zoom, and at same time it will trigger your VREM corrections. When you press in game key "Numpad *", do you have zoom?

I have it working on my pc.

 

Edit: zoom works in plane only, cockpit view.

Edited by Brzi_Joe
=GW=a7610783
Posted (edited)
16 minutes ago, Brzi_Joe said:

您是否將“ vr zoom”遊戲綁定到“ Numpad *”?那一定是,因為它將觸發遊戲縮放,同時將觸發您的VREM校正。當您按下游戲鍵“數字鍵*”時,您有縮放嗎?

我已經在我的電腦上工作了。

 

編輯:縮放僅在飛機座艙視圖中有效。

yes,if i only use *

it work

Yes, I understand what the problem is, and always eager to help you thanks

Edited by =GW=a7610783
Posted
3 hours ago, c6_lefuneste said:

No it's mine, I did it myself. I can post it, but it needs a saitek quadrant to have all radiator axis mapped, otherwise they will miss to handle the engine.

Yeah post it!  I love seeing other people's scripts, it usually leads to good ideas I can use in mine.  :)   I actually found it in a post on Checksix, but the old attachments are broken on that forum.

C6_lefuneste
Posted (edited)
8 hours ago, Firdimigdi said:

That's what I was expecting but the difference was very visible under the same conditions. In the Mig-3 for example the canopy reflections (set to 1) with the mod disabled are clear and rather prominent with the correct light angle, but with the mod enabled there is reflection but not clear and very faint. I tried disabling all the mod extras, even setting the color change to 0,0,0 and still it looks different. I'll test later to see if it's visible on the desktop mirror window and upload comparison shots.

I'll have a look. Did you use the IPD function of the mod ?

 

 

The mod is working with the 4,007 with max zoom. But you should use new in game zoom factor !

So key mapping must be changed and unzoom factor need to be set to 1,0. IDo not use mapping with num0, it won't work for shadow convergence decrease...I will post soon a new version with  appropriate ini file.

The mod will forbid you to go on server that use "Restrict Injectors" and that's fair.

 

Edited by c6_lefuneste
firdimigdi
Posted
1 hour ago, c6_lefuneste said:

Did you use the IPD function of the mod ?

No. I only used the color changer but in the screenshot above as I wrote it's at 0,0,0

peregrine7
Posted
On 6/9/2020 at 1:14 AM, Firdimigdi said:

Thanks @c6_lefuneste - can't wait to try it out later today!

Is there any chance the contrast curves another player  (I believe it was @peregrine7) had added to your previous mod's incarnation could be ported over to this?

 

Hi @Firdimigdi, I'm going to give this a look and see if it's easy to integrate the contrast shader. Will have an answer in the next few days.

Please let me know if there are other reshade/sweetfx effects that you wish to see integrated. Contrast is an easy one but I made it with the intention to introduce other effects as well. Theoretically I should be able to recreate/adapt most of the effects from those other tools.

@c6_lefuneste Thank you for your hard work on this, fantastic to see the mod return.

 

@LizLemon Have the devs changed the way gamma is applied during composite or is the game still using the incorrect values?

356thFS_Piranha
Posted

Is there a way to not ,use the zoom features and just use everything else?

 

Posted
1 hour ago, QB.Piranha said:

Is there a way to not ,use the zoom features and just use everything else?

 

 

Just don't bind press the relevant buttons. There is no performance hit and no requirement to use them.

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...