0 of 0

File information

Last updated

Original upload

Created by

Babywelon

Uploaded by

Babywelon

Virus scan

Safe to use

58 comments

  1. NewZJ
    NewZJ
    • supporter
    • 0 kudos
    i was getting a yellow screen in the inventory/map and i had to disable the nvidia aftermath section for it to go back to normal.
    i have a 3070 and amd cpu.

    ; =====================
    ; Disable Nvidia Debug
    ; =====================
    ;r_EnableNvidiaAftermath = 0
    ;r_EnableNvidiaAftermathShaderDumps = 0
  2. Klaatus
    Klaatus
    • member
    • 0 kudos
    Is there any chance this could be due to the mod? Apparently, I haven’t had any issues, but I noticed that some icons and shields of certain enemies have blurred textures. Any tips?

    https://imgur.com/a/1Uedr78 <- Issue
    1. Babywelon
      Babywelon
      • member
      • 2 kudos
      yes, there's something wrong with ur settings, maybe the mipmap ?
    2. Klaatus
      Klaatus
      • member
      • 0 kudos
      Here, I just downloaded your mod and made a few small changes to suit my taste (dot cursor and cl_fov things), the rest is pretty much the same as what you shared.
      Specs:
      RTX 4060
      Ryzen 5 5600
      32GB DDR4 RAM

      Can you help me and give some suggestions?

      https://www.sendspace.com/file/h622sz <- user file
  3. Accendo24
    Accendo24
    • member
    • 3 kudos
    Thank you for this, it has improved things a lot, but I think the engine is pretty screwed, still a memory leak. I have applied the following and it has made a huge improvement, now I can at least play over 2 hrs before I have to restart my PC instead of 10 mins. I can see this game was not made with latest desktop systems in mind. Was made for old systems.
    The latest few patches actually made it worse, I used to be able to play fine when it was released. Then the last patch was the worst.

    My current, I run a 4090, DLSS turned off, as that makes it even worse if I have it on, FSR same issue. I can get about 2 hrs of game play on this, give or take. I have a mind to build a shitty system so I can play this, never thought I would see the day I had to downgrade my PC to play the latest game lmao. 

    ; ===================== ===================== ===================== =====================
    ; MEMORY AND RESOURCE MANAGEMENT
    ; ===================== ===================== ===================== =====================

    ;Preload Game Resources In The Menu
    sys_preload = 1

    ;Sets the number of threads to use for the job systemDefaults to 4 on consoles and 8 threads an PCSet to 0 to create as many threads as cores are available
    sys_job_system_max_worker = 0

    ;Sets the upper limit for video memory (in MB) when monitoring budget. to prevent leak set this lower than actual VRAM for e.g 8GB VRAM set it to 6144 (6GB), warhose seems to fix this but for some user they still experiencing VRAM leaks if they set it to their actual VRAM
    sys_budget_videomem = 20000 (am still tweaking this, I don't really notice any difference with this yet)

    ;Sets the upper limit for system memory (in MB) when monitoring budget. input ur desired RAM usage
    sys_budget_sysmem = 32000 (I have 64Gb in total, but 32 should be more than enough)

    ;This control the UI textures, 1 = immediately unload ui texture from vram when u are closing ur inventory for example, 2 = delayed so the texture remains in vram for a certain time (may improve ur inventory hud responsivenes, 3 = never unload
    wh_ui_ApseUnloadMode = 2
    1. Babywelon
      Babywelon
      • member
      • 2 kudos
      You need to turn on this parameter in order the "budget" thing to work

      ;Enables budget monitoring. Use #System.SetBudget( sysMemLimitInMB, videoMemLimitInMB, frameTimeLimitInMS, soundChannelsPlaying ) or sys_budget_sysmem, sys_budget_videomem or sys_budget_fps to set budget limits.
      sys_enable_budgetmonitoring = 1
    2. Accendo24
      Accendo24
      • member
      • 3 kudos
      Thank you Babywelon, I missed that setting.
  4. Pernicio
    Pernicio
    • member
    • 0 kudos
    Just as a pointer for any hoarders out there;

    Edit April 1st 2025;

    I think I have solved my CTD;s at the Kuttenberg region. I don't know why, but uit seems that at some point, the game engine/menu system seems to go haywire if you have tons of ingredients. I had over a thousand of every alchemy ingredient and hundreds of food items, but ever since I started selling those, the game seem to no longer crash every time I open the menu twice before re-loading the save game.

    The way that you can notice this Menu System going haywire is by feeding Mutt when you have tons of food items and herbs. Some food stacks have now splintered to many sub-stacks or singular items, even though at your items menu, they seem to be stacked correctly. This is with using the cheat that holds every item at 100% condition, so it shouldn't be because of condition differences, that this happens. Could someone verify if they get the same kind of result with or without the condition cheat?

    Still strange that this doesn't seem to be a problem at the Trotsky region, even when using the cheat. I used WeMod trainer for the cheats.


    Original Post;

    Since the beginning of the game, I have hoarded one of every unique armor and clothing piece, just to make sure that at some point I can check the best combinations for different roleplaying occasions.

    Well, turns out that the frequent crashing after using opening menus, maybe because of my hoarding. Still, haven't tried if selling everything helps at all, but as a temporary solution, each time you open a menu, make a save and reload the save file and avoid using menu's as much as possible and my crashes have vanished. So yeah, something in the menu system seems to be bugged, as hoarding shouldn't be an issue for the entire system like this, as nearly all other RPG games can handle nearly infinite hoarding if people so incline.

    EDIT; When I leave the Kuttenberg area, back to Trotsky area, I have had no crashes at all. I can open the menu as many times as I like and the game just chugs along happily. Only the Kuttenberg area is causing me crashes after using the menus, even after trying all the settings in various memory leak fixes. I have also tried to reset my BIOS settings to default, RAM being set at Jedec 4800 speeds and the crashes still persist - so it can't be because of overclocking. Also, no other game crashes suddenly on my PC.
  5. mark4020
    mark4020
    • member
    • 1 kudos
    question please as ive seen different takes on how this User settings work. some say it works all the time others report that u need something to make theese changes stick, because the engine has a habit of resetting ur own custom values? is this true? if yes how can i make sure theese values apply correctly.
    1. Babywelon
      Babywelon
      • member
      • 2 kudos
      Everytime you change a graphics settings in game then applying it.....theres some cryengine variable being changed depending on what settings u re applying

      for eg
      1. You set cl_fov to 85, vegetation LOD distance, and global illumination via "user.cfg"

      2. when you set any graphics settings in game all of ur custom settings from "user.cfg" will be overwritten by what u apply in game from object detail, lightning and down to character detail.

      3. But this doesn't mean that ur graphics settings will override the other parameters u set in the "user.cfg" 

      4. However the parameters that seems to affect the VRAM leak according to my test is not only the "sys_budget_xxxxx" but also texture mip bias, these mip bias will be overwritten by the graphics settings (as you can see theres texture settings which is affect mip bias, texture anisotropic etc)

      5. Every in game settings for like low, medium, high has their own different value and cryengine variable activation

      (if u wanna see the example try set the shading settings to low this will disable the soft shadow, and set to medium to enable soft shadow variable)

      (Or if u wanna use ultra settings but you hate soft shadow just keep everything on ultra settings, set the "user.cfg" parameters to disable soft shadow and never applying any in game settings so it does not overwrite)

      6. The main thing is after you change any graphics or other settings in game, it best to quit the game and rerun it again so the "user.cfg" parameters overwritten your ingame settings everytime you boot the game

      So you want this custom settings (user.cfg) to overwrites the in game settings not the other way around
    2. mark4020
      mark4020
      • member
      • 1 kudos
      Ty ty ty, lastly i dont know if you use Reno but it stopped working for me atleast. 
      this is my config 
      -- Post Processing
      -- Engine
      sys_PakStreamCache = 1  -- Load PAK files into memory for faster access
      wh_ui_ApseUnloadMode = 2
      r_TexturesStreamingMaxRequestedMB = 2248
      -- Post Processing
      r_ChromaticAberration=0  -- color distortion
      r_HDRGrainAmount=0  -- film grain effect
      r_HDRVignetting=0  -- darkening around screen
      -- Graphics
      e_ShadowsUpdateViewDistRatio = 200 
      e_ShadowsMaxTexResSunWH = 2048--(default experimental settings value) - best quality, higher values can cause shadow issues
      r_ShadowPoolBaseCostWH = 100 --(default max value is 25) - this will allocate more memory per shadow caster, increasing shadow stability and fix some flickering in certain locations and --cutscenes, higher values then 200 doesnt seem to do anything more
      r_ShadowPoolBudgetPerFrameWH = 30000 --(default max value is 20000) - how much shadow map memory is refreshed each frame, also will help with shadow stability, be warned that this was --tested on 16GB VRAM GPU. If you have 12GB or less it can cause issues, so you might want to lower the value to 30-40k
      i also have the A sync mod installed in my mods folder.
  6. derfat
    derfat
    • premium
    • 0 kudos
    Awesome mod! Turned my 50-60 avg fps into 80-90 avg fps on my 3070!
    1. Babywelon
      Babywelon
      • member
      • 2 kudos
      Glad i could help
  7. FartNoiez4LYF
    FartNoiez4LYF
    • member
    • 0 kudos
    Didn't the 1.2 patch fix the memory leak already?
    1. Babywelon
      Babywelon
      • member
      • 2 kudos
      For me yes, for some people no....
      There are many hardwares variation in pc and i think thats the reason

      The main reason of this mod is I just wanna help them 🙂 , and there's an extra cryengine variable also if they wanna tweak more than the vram leak
  8. EviLEddiE
    EviLEddiE
    • supporter
    • 0 kudos
    This mod works wonders with the VRAM usage and in-game reloading times of my KCD2 installation (32 GB RAM, RTX 4070 Ti SUPER 16 GB, Kingston KC3000 1 GB NVMe SSD). Alas, both the inventory/skill and map screens get a yellowish tint - se attached screenshots: https://www.dropbox.com/scl/fi/byylwcqhanth5um33sxy8/KCD2_Yellow_Tint_Inventory.png and https://www.dropbox.com/scl/fi/c52rqbxmo0br620h7ch3q/KCD2_Yellow_Tint_Map.png

    I have tried to change the wh_ui_ApseUnloadMode setting to 2 and 3, without result. I have also manually set sys_budget_videomem = 14336r_TexturesStreamPoolSize = 6144 and r_TexturesStreamingMaxRequestedMB = 5120.

    Also, I do not run any Reshade presets - I only have PureDarks custom Reshade dxgi.dll from his DLLS4 FG mod.

    Which setting in this custom user.cfg file is the most likely culprit here?

    EDIT: I found the culprit(s)! I had to re-enable the NVIDIA Aftermath Debugging feature - in other words, remove the entire section called "Disable Nvidia Debug" from the user.cfg file. Also, I removed the cl_fov = 89 setting, since I play on a 32:9 widescreen setup (5120x1440) and would rather have the FOV set to the max value (110).
  9. noobcrafting
    noobcrafting
    • member
    • 1 kudos
    Do your mipmapping manipulations really work? I don't know how CryEngine works, but I've worked with textures and all mip levels are one texture, does it make sense then not to use them and other things you manipulate if mips are loaded into video memory anyway, as if that doesn't reduce the work load.
    1. Babywelon
      Babywelon
      • member
      • 2 kudos
      Yes and by using 1.5 on mipmap i boost my fps from 55 to stable 60-65 4K Medium DLSS Quality, a lil fps boost wont hurt imo

      RIG USED :
      Ryzen 5 3600
      RTX 3070
      32GB RAM
    2. noobcrafting
      noobcrafting
      • member
      • 1 kudos
      got it
  10. Pernicio
    Pernicio
    • member
    • 0 kudos
    Thank you for contributing on solving this annoying matter. The settings you have provided gave me some headroom, so that the game won't crash so quickly, as I managed to play a little over 2 hours straight with a minor change - I changed the wh_ui_ApseUnloadMode to 3.

    At least one person have said (at this Steam Community topic) that when the UI loads and you leave it, the amount of vram it takes does not fully recuperate. By never unloading the UI, there is not so much accumulated garbage from multiple menu openings, or that's my theory at least.

    Some of the settings are customized to my computer (RX 7900XT 20Gb VRAM, 64Gb RAM).

    EDIT; Forgot to mention that I need to run the game with the -d3d11 argument to be able to play for a longer time before crashing.

    ; QUALITY GRAPHICS SETTINGS (DISABLED BY DEFAULT, REMOVE THE " ; " TO ENABLE IT)

    e_ShadowsCastViewDistRatioLights = 0.12
    e_svoTI_Reflect_Vox_Max = 100
    e_LodRatio = 180
    e_ViewDistRatio = 160
    e_ShadowsCastViewDistRatio = 0.4
    e_ShadowsMaxTexRes = 2048
    e_ShadowsMaxTexResSunWH = 2048
    e_ShadowsPoolSize = 6144
    e_MergedMeshesCullingLodRatioWH = 0.65
    e_MergedMeshesInstanceDist = 24
    e_MergedMeshesLodRatio = 40
    e_VegetationUseTerrainColorDistance = inf
    e_ViewDistRatioVegetation = 140
    r_ShadowPoolBudgetPerFrameWH = 4096
    r_ShadowsNearestMapResolution = 2048
    r_ShadowsScreenSpaceLength = 0.06
    r_ssdoHalfRes = 0
    r_SSReflSamples = 64
    r_VolumetricCloudsRaymarchStepNum = 16
    wh_e_HLodClusterSwitchingDistanceMin = 275
    wh_e_HLodClusterSwitchingDistanceMultiplier = 0.575
    wh_e_HLodInteriorSwitchingDistance = 16
    wh_e_HLodVegetationSwitchingDistances = 8000 5000 4000 600
    sys_flash_curve_tess_error = 4

    ; PHYSICS SETTINGS (THIS SET AFFECT PHYSICS IN THE GAME, Dont Touch If You Dont Know What U Are Doing) If U Wanna Learn Some Then Go To Cryengine To Know More. to enable remove the " ; "

    e_CullVegActivation = 30
    e_FoliageWindActivationDist = 10
    e_PhysOceanCell = 1
    es_MaxPhysDist = 50
    es_MaxPhysDistInvisible = 15
    g_breakage_particles_limit = 80
    g_tree_cut_reuse_dist = 0.35
    p_max_MC_iters = 4000
    p_max_substeps = 2

    ; DISABLE NVIDIA DEBUG (FOR NVIDIA USERS ONLY)

    r_EnableNvidiaAftermath = 0
    r_EnableNvidiaAftermathShaderDumps = 0

    -- Engine
    sys_preload = 1
    sys_PakStreamCache = 1
    sys_job_system_max_worker = 0
    sys_enable_budgetmonitoring = 1
    sys_budget_videomem = 12288
    sys_budget_sysmem = 49152
    wh_sys_streaming_directstorage_enabled = 1
    wh_sys_GameModeSelecting = 1
    wh_player_FollowAlwaysCanFollow = 1
    r_SyncToFrameRate = 1

    -- Console & UI
    wh_ui_ApseUnloadMode = 3
    con_restricted = 0
    wh_pl_showfirecursor=1

    -- Performance
    g_enableMergedMeshRuntimeAreas = 1
    e_DecalsMerge = 1
    e_StreamCgf = 1
    e_svoTI_AsyncCompute = 1
    r_MultiThreaded = 2
    gpu_particle_physics = 1
    r_TexturesStreamPoolSize = 2048
    r_TexturesStreamingMaxRequestedMB = 2048
    r_texturesstreamingMinUsableMips = 1
    r_texturesstreamingSkipMips = 1
    r_TexturesStreamingMipBias = 1
    r_DeferredShadingTiled = 3
    ai_UpdateInterval = 0.1

    -- Visual
    r_Sharpening = 0.25
    r_ChromaticAberration = 2
    r_HDRGrainAmount = 1
    r_SSReflections = 2
    r_DeferredShading3PL = 1
    wh_e_VerticalLightCulling = 2
    ;r_Gamma = .75
    ;r_Brightness = .55
    ;r_Contrast = .45
    ;r_SuperResolution_Sharpness = 0
    r_DepthOfField = 0
    r_HDRBloom = 0
    r_HDRVignetting = 0
    r_MotionBlur = 0
    r_ShadowJittering = 1