Monday, January 20, 2020
Kingdom Come: Deliverance - 3D-Vision Ready Fix V4.06
***This fix was made of prev. Cryengine games made by DarkStarSword, DHR and DJ-RK that served as tamplates***
LATEST official 3D-Vision-Geforce Driver: 425.31
You can install 3D-Vision for the lates driver using this Method discriped here: https://www.mtbs3d.com/phpbb/viewtopic.php?f=105&t=23277
Optional donation:
If you like the fix and want to contribute for more future fixes, you can donate here: http://paypal.me/Losti3D
Special Thx goes to:
•	DarkStarSword - "cracking" the Cryengine the first time
•	DJ-RK - who made a likely playable WIP fix with me and supports me with his knowledge
•	DHR - applying the 3D-Vision Ready CS lightening fix
•	DarkStarSword - fixing the hard to fix issues we all cannot 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 really 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!!
Further donation for shader-hackers directly involved in this fix:
•	DHR                     	- dhr.donation@gmail.com
•	DarkStarSword   	- darkstarsword@gmail.com or @ https://www.patreon.com/DarkStarSword / 
•	DJ-RK                   	- rshannonca@gmail.com
-- ~319 h of development time later ---
Latest Update: V4.06 - 20.05.2020
•	profile update error should be fixed
Latest Update: V4.05 - 21.01.2020
•	 Fixed added missing ReShadeShaders for Performance Mode +++ i have missed before!!! SORRY FOR THIS !!!
•	fixed a distance decal problem, dont have adapted RegEx, only adjust depth for one file, need to check consistency first may be another update here soon!
•	fixed the convergence and depth switch for looting!
•	face shadow should be near perfect now
•	fixed an issue with the AO movement sickness i have missed!
Update: V4.04 - 20.01.2020
•	optimized AO motion sickness fix for less flickering and less square apperance for near objects, should be near perfect now :-)
•	Fixed "missing file error" after unstiall the prev. version using unistall.bat SORRY FOR THIS !!!
Update: V4.03 - 19.01.2020
•	approximate fix the remaining problem with the strange movement of the AO shadows while moving
==> NUMPAD + for disable the approximate fix, if you dont like it because it can make some quare AO apperiance arround some objects and may cause some flickering, for me this is better than the damn moving AO, so if you dont like it, disable this!!
•	added missing puddle shader
Update: V4.02 - 19.01.2020
HINTS:
•	PLEASE UNINSTALL THE OLD FIX USING ITS UNISTALL.BAT!!!
•	PLEASE ENSURE TO DELETE KCD game profile from the driver, if you have reinstalled the graphic card driver! (this is ahint, you do not have to do this if you allready done this, this is nothing you need for this version!
•	this version ensures a clean and not modified installation of the fix without any changes in the user.cfg if you just start the game via the games exe file, I have also removed the reshade dll that I missed to ensure standard gameplay without reshade. If you want some more performance start the game with the CMD script and choose your option as usual! Than quit the game and start the game using the games EXE file. THIS IS THE WAY FOR USING HELIXVISION to get some more performance without starting the game with the CMD script again after once started!
OK really new in this version:
•	Some more depth for FARKLE game
•	Fixed hoizon dynamic fog!
Update: V4.01 - 12.01.2020
•	skipping lights for the beard make its appereance sutible in any FOV
•	skipping in eye shadows makes eyes more suitible
•	fixed water be not in depth while enter it
•	added water fix for water lower than VERY HIGH, but it is a bit incorrect if you enter the water, so I still suggest VERY high or ultra for water!
Update: V4.00
•	near character shadows fixed
•	near character light issues fixed
•	optimized HUD for fights
•	beard transparency/halo fixed for near characters
•	hair transparency/halo fixed for near characters
•	fixed some AO beeing slightly out of depth
•	fixed missing depth buffer for some graphic options, AutoDepthCrosshair should now work for every setting
•	fixed inventory depth to be cool!
•	added shader cache for less input legs after caching shaders
•	updated to migoto 1.3.16
•	more performance in non auto boosted mode
•	remaining flickering of AO fixed missed to add for game version 1.9
Update: V3.21
•	fixes issue that forces max refresh rate if using this fix.
Update: V3.20
•	updated fix for Game Version 1.9
Update: V3.11
•	Fixed a new CS shader for high shader effect settings with 1.7
•	no profile switching needed anymore but you need to delete drivers original KCD profile!!!!! otherwise low performance!!!
•	should have more performance over all
HINT: PLEASE READ NEW DESCRIPTION IN DETAIL AGAIN!!!!!!!!!!!
Special (it’s your free decision to use or not!):
•	cmd driven version for performance boost options
TANK YOU Zloth for beta testing and helping me trace bugs here!!!!
TANK YOU Schwing. for AutoHotkey hints prevent the script is active after game/ALT+TAB!!!!
1.	3D-Vision Performance Mode++++ (up to 10 % FPS, boost options enables up to 50 % FPS on demand, no Reshade, you can use your own) - USING AUTOHOTKEY EXE SCRIPT, user.cfg based visual changes
2.	3D Vision Performance Mode+++ (up to 5 % FPS, boost options enables up to 50 % FPS on demand, MXOA from Reshade) - USING AUTOHOTKEY EXE SCRIPT and ReShadeFX, user.cfg based visual changes
3.	3D-Vision Performance Mode++ (up to 10 % FPS, boost option enables up to 30 % FPS but texture flickering) - no tools used for this, but user.cfg based visual changes
4.	3D-Vision Performance Mode+ (up to 5 % FPS, boost option enables up to 30 % FPS but texture flickering) - no tools used for this, no visual changes in user.cfg
Lastest Update: 30.09.2018 - V2.58
•	updated for the latest patch
•	fixed a game breaking change of lightening that should not happen….
•	fixed lights for HIGH shader effect settings
•	bring back autodepth crosshair
•	bring back autodepth crosshair for VeryUnintrusiveReticle
(see https://forums.nexusmods.com/index.php?/topic/6401941-very-unintrusive-reticle/page-3#entry59576871 how to install the mod even in its current version 02)
Update: 10.06.2018 - V2.5
•	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 already 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 address) 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 issues .... Just edit the d3d11.ini and delete the ";" from this line:  ;Enable Ansel = 0x00000000
Update: 28.03.2018 - V2.54
•	fixed a problem coming 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 settings!!! (otherwise it can all be set to high automatically even with hotfix 1.5
Update: 28.03.2018 - V2.53
•	sorry: if 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 wet ground Decall fixed
Update: 26.03.2018 - V2.51
•	3D-Vision Ready (nearly 100 % fixed)
•	making blocking depth crosshair more likely, unfortunately it will not apply autodepth while blocking, hence I set up a fixed depth, you can change it in [Key_fight_XB2] or [Key_fight_KB2] if you need
•	rain optimization by DarkStarSword
•	fixed lightening changing bug while enter inventory
•	farkle depth corrected
•	inventory depth adjusted for alternative dialog mode

1. 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 around the courser)
•	found DX10 flags for working SLI and performance boost for non SLI Losti

2. Issues left:
•	some water/screen space reflections not complete correct (@huge puddles, not often seen)
•	AO is out of depth while moving, this is not fixable (for me) and a problem for this fix form the beginning
==> Please report existing problems or upcoming one via EMAIL to my PP donation address or in the 3D MTBS forum.

3. Download - Fix V 4.05
•	KingdomComeDeliverance_3D-Vison-Ready-Fix-4.05_DJ-RK-DHR-DarkStarSword-Losti

4. Introduction get it working:
•	uninstall old fixes!!!
•	get the latest NVIDIA driver!!!!!!!!!!!!!!!!! Use DisplayDriverUninstaller if you run into any issues like blackscreen or somewhat!!!
Please NOTE this:
•	download and extract the fix archive to "...\KingdomComeDeliverance\"
==> NOT as used to the exe directory!!!
•	get NvidiaProfileInspector
•	start it and search for "kingdomcome" (w/o "")
•	delete this game profile, or delete the KingdomCome.exe from it, otherwise you will have bad performance, the FIX comes with an own profile but you need to delete the existing/original one
•	if you have any special settings in the user.cfg, add it to ...\KingdomComeDeliverance\Bin\Win64\user.cfg
==> if you want to use PerformanceBoostVersion, skip this and follow chapter 4.1 for user.cfg changes!
•	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 may can cause issues (only report issues if you have checked that they were not came with ReShade or SweetFX)
•	Start the game as you are used to, if you do not care about FPS/performance.
==>If you like to have some more performance, please read the following chapter 4.1
•	if 3D will not kick in, please klick to the main menue in the game, than use ALT+ENTER and ALT+ENTER again, 3D should now kick in!

4.1 Introduction for PerformanceBoostVersion:
•	go to ...\KingdomComeDeliverance\Bin\Win64\
•	right click the "KDC_RaiseFPS2_ENG.exe" and "KDC_RaiseFPS2_GER.exe" and "KDC_RaiseFPS2_NAB.exe" and set it as "Run program as Administrator" in compatibility tab!!!! ==>; Do not complain about not working hotkeys if you missed this!!!
•	make key changes her if you want/need (PLEASE make sure you READ chapter 8 before you will do changes of the keys!!!!) (...\KingdomComeDeliverance\Bin\Win64\):
•	--- d3dx_PP.ini
•	--- d3dx_NP.ini
•	--- d3dx_PP_NAB.ini
==> (NOT IN THE d3dx.ini itself!!!!)
•	if you have any special settings in the user.cfg, add it to the user_3.0np.cfg AND user_3.0p.cfg AND user_default.cfg (NOT IN THE user.cfg itself!!!!)
•	start KDC_Performance.cmd 
==>; create a link and give it a symbol if you want ^^ do not start the game directly via KingdomCome.exe or Steam/GOG!!!
•	follow the instructions and read more details
4.2 Special hints for performance:
•	you can switch from WQHD resolution to FullHD and use ReShade for sharpening, the performance mode: "3D-Vision Performance Mode+++" includes this effect but you need to enable it (SHIFT+F2 and tick the LumaSharpen here) ==>; BOOST: up to 30 % additional FPS !!!
•	Use NO effect more than high than the following @ maximum very high:--- Object Quality
•	--- Shader Effects
•	--- Water
•	--- Lights
•	--- Textures
•	do NOT use ULTRA ... it’s useless.....
•	I suggest particles, vegetation and physics @ medium
5. Ingame Settings:
•	I recommend VERY HIGH Shader Effects, lower you miss some reflections.
•	Settings should be up to you, but if you have problems with shadows/shaders, raise those settings. I suggest not lower than medium shadows.
•	SMAA 1TX not higher
•	Water VERY HIGH or ULTRA
•	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
•	you can also use F1 for fix flicker shadows if its extense in a scene.

6. Key Settings:
6.1 Key Settings (Controller):
Disable/Enable HUD
XB_GUIDE - HOLD DOWN
Change Water appearance
U (muddy or clear, fix comes 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 dialogues
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 melee 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"

6.2 Key Settings (Keyboard + Mouse):
Disable/Enable HUD
"Z"
Change Water appearance
"U" (muddy or clear, fix comes 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 dialogues
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 melee armed fights/fist fight
Cycle HUD-Depth Presets
"."
==> Find your matching HUD depth and set it as z=XXX in "Standard Gaming Depth"
Switch AO MotionSickness Fix 
"+"
==> STANDARD = enabled, if you dont like it, use the + key for disable!
6.3 Additional Key Settings (using PerformanceBostVersion):
Enable Performance Boost Option 1 (Object drawing LOD reduced)
"F1"
Enable Performance Boost Options 2 (shader driven performance boost but causes flickering)
"F3"
Enable Performance Boost Options 3 (disables SSAO)
(only available in 3D-Vision Performance Mode+++) "F4"
Disable ALL Performance Boost Options
"F2"
Hint: RESTRICTED KEYS for definition: F9 and key 6, do not redefine in the migoto ini!!!!!!
Al settings can be resetted via "Standard Gaming Depth" key for normal view (Boost options reset depends on your choice in the cmd file, more infos are written there
•	use it if you have changed the depth/conv via a key (like dialog or fight, and to reset the Performance-Boost-Options if you use it)

8.0 Key Setting - Customization
RESTRICTED KEYS for definition: F9 and key 6 (if you use PerformanceBoostVersion)
•	same as above but your files for change keys are
•	--- d3dx_PP.ini
•	--- d3dx_NP.ini
•	--- d3dx_PP_NAB.ini
==> Redefinition of Fight-Keys (Keyboard: T (press 0,4 sec) or on controller LB+BACK) needs changes in the auto hotkey scripts and recompiling its exe files to work ...HENCE: If you don’t know how, I bag you live with this key settings^^ Same for F2/F3 here !!! It’s too complicated to explain all this because it’s connected to the respective ini files....but for those who want to, the .ahk scripts are included in the archive. You need to install AutoHotkey program first.....
•	F3 boost can be changed in the migotos ini file- F1 and F2 are defined in the AHK scripts as well as T, 3 and the joy keys. The reset is done via sending F9 from AHK that in turn is defined in migotos ini file for reset the shader driven boost.....
==> The redefinition of the Standard Gaming Depth and the Fight Key to reset the boost option is only for advanced users. If you want to have personal key settings here and you can’t manage it, you are free to ask me for some help via my PayPal donation address.
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 favorite DX11 games in 3D Vision!
•	Tanks goes to Helifax who offered his support even if he isn’t present for fixing games @ the moment, COME BACK WE NEED YOU!!!!
•	TANK YOU Zloth for beta testing and helping me trace bugs here!!!!
•	TANK YOU Schwing. for AutoHotkey hints prevent the script is active after game/ALT+TAB!!!!
•	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
Posted by Losti
