Kingdom Come: Deliverance

Kingdom Come: Deliverance

Not enough ratings
Graphics & more - a lightweight cfg 🫠
By ˚□˚ ˚□˚ ˚□˚ ˚□˚
A decent config with minimal FPS hit
   
Award
Favorite
Favorited
Unfavorite
Most of the settings ...



I have pieced together a good config and kept the FPS hit to a minimum.
My PC has a recent CPU and a dated GPU.
These are not all fine tuned and I have taken bits from various places (23/08/29):

1. Add to game Launch Options, see below guide for heapsizing (this is for 16 GB RAM):
-heapsize 2097152 +exec user.cfg
https://steamcommunity.com/sharedfiles/filedetails/?id=1301236093

2. Create user.cfg in game root folder, check the sys_budget_sysmem and videomem (!!):
sys_MaxFPS = 80 r_vsync = 0 con_restricted = 0 -- console on ` (left of 1) r_TexMaxAnisotropy = 16 r_motionblur = 0 r_DrawNearFoV = 90 -- 90 for non blurry textures!! cl_fov = 90 pl_movement.power_sprint_targetFov = 85 r_DepthOfField = 0 i_mouse_smooth = 0 i_mouse_accel = 0 sys_budget_sysmem = 10240 -- okay for 16 GB RAM (?). I have more sys_budget_videomem = 7775 -- 8 GB GPU RAM = 7775 (reserved 417) r_TexturesStreamPoolSize = 5550 -- might need more sys_spec_objectdetail = 3 sys_spec_shading = 3 sys_spec_gameeffects = 3 sys_spec_particles = 3 sys_spec_physics = 3 sys_spec_postprocessing = 3 sys_spec_shadows = 3 sys_spec_sound = 3 sys_spec_texture = 4 sys_spec_water = 3 sys_spec_VolumetricEffects = 3 sys_spec_light = 4 --e_svoTI_SSAOAmount = 3 -- ate frames e_ShadowsCastViewDistRatioLights = 0.3 -- is dist good? was 0.2 e_ShadowsMaxTexRes = 2048 -------------------------------------- r_AntialiasingMode = 4 r_AntialiasingTAAPattern = 0 e_UberlodUpdateBudget = 4000 e_mergedmeshesinstancedist = 25 -- View distance ratio for other plants (default 20) -- PORTALS - Activates drawing of visareas content (indoors), values 2,3,4 used for debugging e_Portals = 1 -- VOLUMETRIC r_Beams = 3 --Toggles light beams : Set to 0 to disable beams or 2 to use fake beams. Set 1 for real beams, full resolution (slower). Set to 3 to use optimized and with glow support beams. e_VolumetricFog = 1 r_SSReflections = 0 r_ssdo = 1 r_ssdoAmountAmbient = 1.42 r_ssdoAmountDirect = 2 r_ssdoAmountReflection = 4 r_ssdoHalfRes = 2 r_ssdoRadius = 0.04 r_ssdoRadiusMin = 0.07 r_ssdoRadiusMax = 0.1 r_TexturesStreamingMipBias = -2 -- not 4? e_PreloadMaterials = 1 sys_PakStreamCache = 1 sys_preload = 1 r_texturesstreamingDeferred = 1 r_TexturesStreamingResidencyEnabled = 1 r_TexturesStreamingResidencyThrottle = 0.8 sys_streaming_in_blocks = 1 sys_streaming_requests_grouping_time_period = 1 --r_TexturesStreamingMaxRequestedMB = 2048 -- 'worse pop-in: waits for this MB before streaming' -------------------------------------- wh_cs_playermaxopponentdistancetolock = 8 -- More Responsive Targeting wh_cs_playermaxopponentdistancetounlock = 8 -- https://www.nexusmods.com/kingdomcomedeliverance/mods/83 wh_cs_playerunlocktimeout = 0 wh_cs_playerverticalunlockdelay = 0 wh_cs_playerhorizontalunlockdelay = 0 wh_cs_playerlockopponentanglebias = 2 wh_cs_playermaxopponentangletolock = 0.8 wh_cs_playermaxopponentangletounlock = 0.8 wh_cs_playerinputcombatunlockdelay = 0 wh_cs_playerinputcursorunlockdistance = 0.05 wh_cs_playerinputlockingtolerance = 20 wh_cs_playerinputlockareawidth = 0.6 wh_cs_playerinputmouseunlockxthreshold = 60 wh_cs_playerinputmouseunlockmintime = 0 wh_cs_playerinputmouseunlockreturntime = 1.5 wh_cs_playerinputmouseunlockminoppangle = 20

The rest
3. Lines added to KingdomComeDeliverance\Engine\engine.pak ... (open engine.pak with 7-Zip), can add them to all settings (numbered separately) in the file:
engine.pak/Config/CVarGroups/sys_spec_Texture.cfg

e_TerrainDetailMaterialsViewDistZ=300 e_ViewDistMin=80 -- some FPS hit ... e_UberlodDistanceRatio=2.5 e_ViewDistRatio=200 --e_ViewDistRatioCustom=100 e_ViewDistRatioDetail=110 e_ViewDistRatioLights=70 e_ViewDistRatioPortals=70 e_ViewDistRatioVegetation=125 e_LodFaceAreaTargetSize=0.0008 e_MergedMeshesViewDistRatio=100 e_vegetationUseTerrainColorDistance=150 e_ShadowsMaxTexRes=2048 e_ShadowsPoolSize=2048 -- maybe high, for some --e_ShadowsCastViewDistRatio=1.3 e_ShadowsCastViewDistRatioLights = 0.3 r_sharpening = 0.7 -- 1 is a lot --r_FogShadowsWater=1 --r_ShadowPoolMaxFrames=15 --r_ShadowPoolMaxTimeslicedUpdatesPerFrame=110 --e_ObjShadowCastSpec=7 --r_ShadowCastingLightsMaxCount=16 --e_ShadowsCastViewDistRatioMulInvis=0.5 --r_TexturesStreamingResidencyTime=60 --e_TerrainTextureLodRatio=0.3 -- no idea if this works

4. Change the existing lines for all settings on the file:
engine.pak/Config/CVarGroups/sys_spec_ObjectDetail.cfg

e_LodRatio=45 e_TerrainLodRatio=0.2 e_Tessellation=1 e_ViewDistMin=40

5. Minimal vanilla modding:

A Sorted Inventory - https://www.nexusmods.com/kingdomcomedeliverance/mods/290
Better Vanilla HUD - https://www.nexusmods.com/kingdomcomedeliverance/mods/72
Blood Mod ALPHA - https://www.nexusmods.com/kingdomcomedeliverance/mods/681



To remove 3. and 4., restore from a backup or Verify integrity of game files. You could spend ages fine tuning and cranking things to max if you have the power!

Some commands don't work when added to the user.cfg, which is probably run too late when loading the game, so the core engine.pak files are needed. From checking the console you can see what the value is for a command and see if it isn't actually set through the user.cfg, autocomplete the command with tab and with the full command entered only (no " ="), hit tab again to see the actual value. Scrolling up in the console after loading the game shows the user.cfg output and some commands show when they fail if ran in game.



Kudos to ◊ jaco ◊ de https://steamcommunity.com/sharedfiles/filedetails/?id=1304694967