Friday, March 23, 2018

Kingdom Come: Deliverance - 3D-Vision Ready Fix V2.56

***This fix was made of prev. Cryengine games made by DarkStarSword, DHR and DJ-RK that served as tamplates***



Special Thx goes to:
DarkStarSword - "cracking" the Cryengine the first time
DJ-RK- who mady a likely playable WIP fix with me and suppots me with his knowledge
DHR - applying the 3D-Vision Ready CS lightening fix
DarkStarSword - fixing the hard to fix issues we all can not fix especially some water-reflection, flimmering shadows and screen space reflections and SSDO!!!!
DarkStarSword - learned me a lot of things to get my 3D-fixing-knwoledge up to 3 of 10 points ^^

==> This was a realy good collaboration of common 3D-shader-hackers, even Helifax offered his help, THX A LOT!!! I am very proud of presenting the following fix that where never be possible without this community!! GO AHEAD !!


--- ~185 h development time later ---


Lastest Update: 10.06.2018 - V2.56
- fixed more problems i have missed for adaption after game version 1.5
(skybox, lights and ambient occlusion, character haloing outlines in darkness)
(if you allready have V2.55 you just have to copy the 2.56 over, no need to uninstall the prev. fix)
===> Please send me an Email (you can use my paypal donation adress) if you find any problems since 1.5 that I missed to fix!!!


Update: 09.06.2018 - V2.55
- cinematics into depth

- fix is now working for 1.5 and prev. versions, please read the new introductions to get it working below (especially for SLI!!!!) .... and if you also miss the gamma correction option ^^
- you can disable ANSEL if you have isses .... just edit the d3d11.ini and delete the ";" from this line:  ;Enable Ansel = 0x00000000

Update: 28.03.2018 - V2.54
- fixed a problem caming up with game version 1.4
- performance boost
- working and good scaling SLI
- complete fix of flicker lights
- DOF optimization
- optimized BLOOM
- since 1.4 you should write protect your attributes.xml in "X:\Users\USERNAME\Saved Games\kingdomcome\profiles\default" after you have found your final graphic settincs!!! (otherwhise it can all be set to high automatically even with hotfix 1.5

Update: 28.03.2018 - V2.53
- sorry: i have implemented the wrong rain shader in 2.52, fixed now

Update: 27.03.2018 - V2.52
- further rain optimization
- strange angels will not draw shadows on house walls completely in fare distances <== FIXED!!!
- one eye problem/reflection on some wett ground GDcall fixed

Update: 26.03.2018 - V2.51
- 3D-Vision Ready (nearly 100 % fixed)
- making blocking deth crosshair more likely, unfortunately it will not apply autodepth while blocking, hence i set up a fixed deth, you can change it in [Key_fight_XB2] or [Key_fight_KB2] if you need
- rain optimization by DarkStarSword
- fixed lightening chaning bug while enter inventory
- farkle depth corrected
- inventory depth adjusted for alternative dialog mode


Fixed:
- shadows DJ-RK / Losti
- decalls DJ-RK / Losti
- postprocessing DJ-RK / Losti
- sun DJ-RK complete fix Losti
- sunshafts DJ-RK
- moon Losti
- sky / stars DJ-RK
- puddles DJ-RK / Losti
- reflections WIP DJ-RK / Losti, made perfect by DHR
- screen space reflections DarkStarSword
- CS lightening WIP fixed by DJ-RK/Losti, made perfect by DHR
- dialog lightening correction switch Losti
- distance shadow glitches/light one eye issues Losti
- object flimmer shadows Losti
- character flimmer shadows DarkStarSword
- water DJ-RK / Losti complete fix DarkStarSword
- rain DJ-RK / Losti
- UI DJ-RK / Losti
- dynamic lightening Losti
- SSDO: WIP DJ-RK / Losti complete fix DarkStarSword
- Auto crosshair DJ-RK,Very Unintrusive Reticle Mod Support Losti
- Auto inventory depth DJ-RK / Losti
- Auto inventory depth Farkle Losti
- Auto inventory depth lockpicking Losti
- game has software mouse in depth (THX to the MIGOTO team!!!) (THX to Necropants for the hint that removes the black square arround the coursor)
- found DX10 flags for working SLI and performance boost for non SLI Losti

Issues left:
- some neare ambient lights on characters are not completely fixed at a short distance viewing
- some water/screen space reflections not complelty correct (@huge puddles, not often seen)


Download - Fix V 2.56
KingdomComeDeliverance_3D-Vison-Ready-Fix-2.56_DJ-RK-DHR-DarkStarSword-Losti.rar


Introduction get it working:
- uninstall old fixes!!!
- get the lastest NVIDIA driver!!!!!!!!!!!!!!!!! Use DisplayDriverUninstaller if you run into any issues like blackscreen or some what!!!

- I cant see the GAMMA CORRECTION option in the game since 1.5?? Or am I stupid? If you also miss it and the game may is too dark/bright, go to "XXX:\Users\USERNAME\Saved Games\kingdomcome\profiles\default\" and open the attributes.xml in a text editor and change     .... higher values = brighter (e.g. 3-5) 

- Please NOTE this:
- since 1.4 you should write protect your attributes.xml in "X:\Users\USERNAME\Saved Games\kingdomcome\profiles\default" after you have found your final graphic settincs!!! (otherwhise it can all be set to high automatically even with 1.5

- download and extract the fix archive to "...\KingdomComeDeliverance\Bin\Win64\"
- move "user.cfg" to \KingdomComeDeliverance\
- or add the following lines to your user.cfg if you allready have one and you want to keep your settings. Add the following lines (be sure they are not allready present in any case, if yes, please replace if with):
e_svoTI_Apply=1
e_SvoTI_GSMCascadeLod=50
.
.
.
Introduction get SLI working especially for Game V.1.5:
- after the CLEAN installation of the lastest driver:
- download: Geforce 3D Profile Manager.exe (http://nvidia.custhelp.com/app/answers/detail/a_id/2625)
- go to C:\ProgramData\NVIDIA Corporation\Drs\
- delete nvdrssel.bin
- start Geforce 3D Profile Manager
- klick "Export SLI Profiles" ... choose a savegame location of your choice
- let the Profile Manager running
- open the saved profile (e.g. if you do not have changed the name: NVIDIA Profiles.txt with a text editor
- search for "Kingdom Come: Deliverance"
- you will see the profile starting with: Profile "Kingdom Come: Deliverance"> and ends with: EndProfile
- delete all this
- open "NVIDIA Profiles_KDC-1.5.txt" that is in the archive of the Fix version 2.55
- grap the lines inside and paste it to the position of your "NVIDIA Profiles.txt" (where you have deleted the KDC profile settings)
- save the file
- go to C:\ProgramData\NVIDIA Corporation\Drs\
- delete nvdrssel.bin
- klick "Import SLI Profiles" in Geforce 3D Profile Manager and choose your modified "NVIDIA Profiles.txt" (do NOT choose "NVIDIA Profiles_KDC-1.5.txt")
- You should get: SUCCESS: NVIDIA SLI profiles imported from ........
- NOTE: You have to redo this every time you update your NVIDIA Driver!!
.
.
- ATTENTION: Mods changing inventory textures will brake auto-depth setting. Same for mods that will change graphics settings via user.cfg settings or system.cfg!!! Disable all mods and try again before reporting issues!!! --- Be aware of using SweetFX or Reshade this can cause issues!!! (if you do, do NOT use LumSharpen with SweetFX this will cause glitches in some cases, use r_sharpening 1 in user.cfg (or any other value) for sharpening if needed. No info about Reshade, but SFX will work with an old version. Contact me if interested.


Ingame Settings:
- Motion blure off
- I recomment HIGH or VERY HIGH Shader Effects, lower can cause problems in some cases...not completely tested lower settings!!
- SMAA 1TX (max)
- Water VERY HIGH (minimum)
-If you run into flickering shadows in the night, load a game in a day scene, than reload a night scene again....it should be fixed
- press F10 after any changes from the ingame settings or just restart the game to apply completely
- since 1.4 you should write protect your attributes.xml in "X:\Users\USERNAME\Saved Games\kingdomcome\profiles\default" after you have found your final graphic settincs!!! (otherwhise it can all be set to high automatically even with hotfix 1.5

Key Settings (XB):

Disable/Enable HUD
XB_GUIDEHOLD DOWN

Change Water apperance
U (muddy or clear, fix cames with clear water (vanilla is muddy))

Standard Gaming Depth
XB_GUIDE
==> This will set your game to STANDARD Separation and convergence

Standard Gaming Depth RESET
XB_B HOLD DOWN
==> Same as above, but reset to standard gaming depth while running

Dialog-Key Setting alternative depth
XB_LEFT_SHOULDER + XB_DPAD_RIGHT
==> Some less convergence in dialoges

Key for read a Book / sit on table
XB_LEFT_SHOULDER + XB_DPAD_LEFT
==> Depth settings for sit @ table and/or read a book

Fighting mode
XB_LEFT_SHOULDER + XB_BACK
==> Recommendation for meele armed fights/fist fight

Cycle HUD-Depth Presets
XB_LEFT_SHOULDER + XB_A
==> Find your matching HUD depth and set it as z=XXX in "Standard Gaming Depth"

Al settings can be resetted via "Standard Gaming Depth" key for normal view
 - use it if you have changed the depth/conv via a key (like dialog or fight)



Key Settings (Keyboard + Mouse):

Disable/Enable HUD
"Z"

Change Water apperance
"U" (muddy or clear, fix cames with clear water (vanilla is muddy))

Standard Gaming Depth
"3"
==> This will set your game to STANDARD Separation and convergence

Standard Gaming Depth RESET
"SHIFT" HOLD DOWN
==> Same as above, but reset to standard gaming depth while running

Dialog-Key Setting alternative depth
"4"
==> Some less convergence in Dialoges

Key for read a Book / sit on table
"5"
==> Depth settings for sit @ table and/or read a book

Fighting mode
"T" HOLD DOWN
==> Recommendation for meele armed fights/fist fight

Cycle HUD-Depth Presets
"."
==> Find your matching HUD depth and set it as z=XXX in "Standard Gaming Depth"

Al settings can be resetted via "Standard Gaming Depth" key for normal view
 - use it if you have changed the depth/conv via a key (like dialog or fight)


Key Setting - Customization
if you dont like the settings the fix comes with, you have to find your own likes:
- choose your desired separation and convergence in the game (for the HUD you can cycle depth presets via Key (see key-settings)
- to see your convergence/separation set
[Hunting]
hunting=1
in d3d11.ini and press F10 to see the current separation/conv. Set it to 0 if finished (Press F10 again or resart the game) -- BE AWARE of pressing other keys of the NUM-PAD while hunting is enabled.
- Find a suitible HUD depth (constant "z")
- edit the section *Key definitions* in d3dx.ini
- set your desired Separation and Convergence in the "Standard Gaming Depth Key" section as well as HUD depth (z=...)


Acknowledgements

- Big thanks to DJ_RK for the ShaderRegex that fixes many issues on demand
- THANK you DHR for your kind words and your support with CS-Lightening!!!
- Big thanks to Bo3b, DarkStarSword, Flugan and all others involved in creating 3DMigoto; an amazing wrapper that allows us to fix our favourite DX11 games in 3D Vision!
- Tanks goes to Helifax who offerd his support even if he issnt present for fixing games @ the moment, COME BACK WE NEED YOU !!!!
- NVIDIA for creating 3D-Vision as a tech!
__________________________________________________________________________________
If you like the fix and want to contribute for more future fixes, you can donate to this PayPal account: rauti@inetmx.de

36 comments:

  1. Awesome - I funded the game, but was not able to play it so far. Now I am really happy, because I can enjoy your great work. Thank you so much. I will donate as soon as I play.

    ReplyDelete
  2. O.M.G.!!! This one is unexpected! Thanks a lot, 3D shaders gurus! 🤓

    ReplyDelete
  3. Awesome dude, you made it! thanks to other shaderhackers for supporting you!
    Cheers
    chtiblue

    ReplyDelete
  4. Jesus, thx alot for this ♥ Donation is coming ^^

    Unfortunately I dont understood one line

    What to do with the cfg? I moved it to the KingdomcomeDeliverance Folder, and than?


    move "user.cfg" to \KingdomComeDeliverance\ <-- add="" following="" lines="" or="" own="" p="" the="" to="" user.cfg="" your="">e_svoTI_Apply=1
    e_SvoTI_GSMCascadeLod=50


    best regards ♥

    ReplyDelete
  5. Sorry ^^ some Blog "html coating error, I will fix this ^^

    ReplyDelete
  6. The user.cfg contains 2 lines that will cure flimmering shadows on objects:


    - move "user.cfg" to \KingdomComeDeliverance\
    - or add the following lines to your user.cfg if you allready have one and you want to keep your settings. Add the following lines (be sure they are not allready present in any case, if yes, please replace if with):
    e_svoTI_Apply=1
    e_SvoTI_GSMCascadeLod=50

    ReplyDelete
  7. After fix installed I still have left-eye picture frozen in 3Dstereo mode. What I did not do right?

    ReplyDelete
    Replies
    1. get the lastest NVIDIA driver!!!!!!!!!!!!!!!!! Use DisplayDriverUninstaller if you run into any issues

      Delete
  8. Wow. I don't own the game, but it put a great big smile on my face to see such attention to detail in the rundown of who fixed what on this game. I have such respect for you all, to continue keeping 3D Vision alive so selflessly - all those hundreds and thousands of hours work for just a little personal satisfaction and on the odd occasion maybe a couple of $ beer money. Feeling the love. Thanks!

    ReplyDelete
  9. Wow!!
    Awesome work , and great to see this community so alive :)
    Biggest respect for working together to keep this tech truly NEXT-GEN

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. It seems to me that access is denied on V2.54 download link

    ReplyDelete
  12. iam not getting correct screen in 1920 x 1080 resolution but working fine in 2710 x 1520.but then fps drops to 18 not playable.am I doing some thing wrong?

    ReplyDelete
  13. Hey there, thanks for the great work. Only a thing: everytime the separation turn back to the maximum, that is too much for my display and the distance from it. Is there some tweak to avoid it?

    ReplyDelete
  14. Yes, all the separation settings is, if you are using the settings the fix comes with, and if you not changed it, are fix. Open the d3d11.ini and change separation = 100 to what you prefere in "Standard Gaming Depth Key" section. Of cause you are free to delete all the separation = 100 settings in each key setting. and adapt the convergence you need. read the fix description how to do.

    ReplyDelete
  15. Love this, its so much fun in 3D - Thank you!!

    ReplyDelete
    Replies
    1. Seems like they patched something perhaps with graphics in the game today? Some of the shadows now seem off maybe couple other issues?

      Delete
  16. Game version 1.5 has broken water shaders and some rock cliffs look 2D now :(

    ReplyDelete
  17. I have 2 hrs to have a look today

    ReplyDelete
    Replies
    1. OK could have a short look @ it and it seems that some shader hashes are different because of the new optimizations and changes in 1.5 ... could fix a lot of them, some shaders are changed but the fixing routine is still the same. I its only a matter of time to get the fix working for 1.5 ... but THIS IS THE PROBLEM .... i do not have time... ill try my best to get it working today but i have only a couple of time this weekend. But do not worry, ill make it !!!

      Delete
    2. Hey Losti, take your time, no rush :)

      Delete
    3. OK seems i have fixed everything, also the SLI problem...used old KDC profile...will see if i can implement the changes in the current driver profile via the migoto ini but neet to track down the valu that causes problems...

      BUT ==> I will release the update today !!!

      Delete
    4. It's great news Losti! Thanks a lot for your effort. Game in 2D is nice but 3D stereoscopic is the pure Bliss :)

      Delete
  18. New Fix for Game VErsion 1.5 is up for you now!

    ReplyDelete
    Replies
    1. Hello Losti,

      I have followed instructions and tried manual approach as well as 3D fix manager.
      3DS is not working at all. Everything is white, some broken objects appear at lowest separation, only HUD is there or menu. 3D compatibility works fine though. I tried with newest nvidia driver 398.11 and 397.93 as well. Used display driver uninstaller also. Nothing helps.

      P.S. No mods, no reshade.

      Delete
    2. Sorry i forgott to add the d3d11.ini file in the fix .... please redownload, its inside now...SORRY !!!

      Delete
  19. Working great now, great job, thank you!

    ReplyDelete
    Replies
    1. I have fixed some remaining problems i have missed (thy Roland for the hint with the skybox) ... get updated fix Fix V2.56 now.

      Delete
    2. 3D is in best shape again, thanks a lot!

      Delete
  20. how does this run for everyone?. I have sli 1080's with the edited sli profile.
    in 2D everything just on HIGH my GPU's are pinned at 100% usage. with mild frame rate drops.
    ctrl+t turning on 3D GPU usage is at like 50-60% with frame rates all over the place as low as 42.
    ctrl+t again out of 3D goes back to 100%. it's like GTA V done the same thing. we all know how that ran.
    But it's comparable for me the GPU usage does the same thing in 3D and then disabling it to 2D.

    Thanks.

    ReplyDelete
    Replies
    1. Same here. Gtx 1080 runs almost 100 percent everywhere, however, in the 3D, it runs well out of towns but in towns capped somewhere around 65 percent, CPU 45-60 percent, very low FPS 16-25.

      Delete
    2. You have followed the new instructions with the profile?
      Can you both please try it again after adding "0x080040F5" as SLI bit and as SLI bit for DX11 with NvidiaProfileInspector and report back if this is working for you ??

      Can you please export the current profile (with Geforce 3D Profile Manager) and post the entries for KCD here ?

      Delete
  21. In Game with patch 1.6 the auto crosshair does not work, the dot is at depth of hud

    ReplyDelete