CPU Performance Patch v2.0

Plugins + Scripts CPU Performance Patch v2.0

Download [2.96 MB]
  Contains executable files or external scripts. Ensure you trust the creator and apply your own security measures.
An updated version of the CPU Performance Patch for Virt-A-Mate 1.22.0.13

Included - everything is set up to work together:
  • Assembly-CSharp.dll and SkinMeshPartDLL.dll, with the v2.0 fixes
  • 3x MAX_HEAP_SECTS mono.dll patch
  • NativeGCPatcher, updated to 3.1 with cold-cache startup fix
  • SkinMeshPartDLL.ini and boot.config settings

Main changes:
  • Fixed native morph batch sizing and null morph-bank handling.
  • Restored the vanilla managed morph fallback and morph-split lookup.
  • Fixed lost restore/sync arguments in exclusive-clothing processing.
  • Restored missing API contracts used by precompiled plugins while keeping additional methods.
  • Added all security protections introduced in VaM 1.22.0.13.
  • Fixed the NativeGCPatcher cold-cache startup case that could produce too many heap sections while VaM rebuilt a large deleted cache.
  • NativeGCPatcher now supports a 32 GB GC trigger. I personally use 32 GB with 64 GB of RAM. If your system has less RAM, you must set a lower value.

Requirements and installation:
  • BepInEx is required only if you want to use the included NativeGCPatcher.

    (You can use the CPU performance patch without BepInEx, but the ZIP also includes NativeGCPatcher, which requires BepInEx 5.
    For the complete package: install BepInEx 5 first, then copy all folders from the ZIP.
    Without BepInEx: skip the ZIP’s BepInEx folder and copy the remaining folders normally. The CPU performance patch works independently; you simply won’t be installing the optional NativeGCPatcher.)


  • Back up the original VaM files before installing.
  • Extract the release directly into the main VaM folder containing VaM.exe and replace the existing files.
  • Do not combine it with another patch that replaces the same Assembly-CSharp.dll, mono.dll or SkinMeshPartDLL.dll.

The included settings were tested on my Ryzen 7 5700X3D. They are not a universal preset.
For a different CPU, please check your core and logical processor counts, then adjust and test the settings on your own system. More threads do not automatically mean better performance, and there is no single formula that gives the best settings for every CPU and scene.


I’m also working on a much bigger 3.0 update with faster texture processing, improved asset loading, configurable concurrency, better caching and several additional fixes. The results so far are honestly great - uncached textures load dramatically faster and scene loading is showing clear improvements. These changes affect core VaM loading systems, though, so I need more time for stability testing and proper comparisons before releasing it. I’m not going to publish 3.0 until I’m sure it actually works reliably.

Credits:
  Contains executable files or external scripts. Ensure you trust the creator and apply your own security measures.

Share this resource

Latest reviews

Positive
Version: 1
Posted:
This has made a world of difference for my VAM scene performance and eliminated my heap size crash at startup issue. VAM loads quickly and runs smoothly now. Thank you!
Upvote 0
Positive
Version: 1
Posted:
Good for my 9950X3D, thank you : )
Upvote 0
Positive
Version: 1
Posted:
Very good performance boost with Ryzen 5700 !
Upvote 0
Positive
Version: 1
Posted:
fantastic almost 1.5-2x cpu boost
Upvote 0
Positive
Version: 1
Posted:
wasnt expecting much but went from 100fps to 244fps on the cpu benchmark

i7 12700k
64gb
5070 ti

got 10 more fps in with dlss5nr too (35->45)

remains to see how it works in real cases
Upvote 0
Positive
Version: 1
Posted:
My Rig:
Ryzen 5 5500
RTX 3060 (12GB)
32GB RAM

Using VaM's CPU Benchmarks:

turtlebackgoofy's CPU Performance Patch
CPU Benchmark: ~142 FPS
CPU High Physics Benchmark ~125 FPS

CPU Performance Patch v2.0
CPU Benchmark: ~205 FPS (44% gain)
CPU High Physics Benchmark ~175 FPS (40% gain)

Really Good Work!
I'm excited for the 3.0 Patch
Upvote 0
Positive
Version: 1
Posted:
MUST HAVE. I've previously installed the original plugin but never felt any difference. Now? This v2.0 patch is a game changer.
Ryzen 5 5600g + RTX 3060 + 16GB RAM -> I can even use physics update rate x3 and frequent collisions, the game manages to keep up with the framerate on harsh situations!
MiSiv
MiSiv
I'm glad it helped :3
Upvote 0
Positive
Version: 1
Posted:
May be you should look at my leancore and merge it together.
MiSiv
MiSiv
I’ll take a closer look at LeanCore, and if it’s compatible with my other changes, I may use some of it in 3.0. I want 2.0 to remain as clean and minimally invasive as possible, so all bigger changes will be kept for 3.0
Upvote 0
Positive
Version: 1
Posted:
i heared so many times how this script can enhance my performance, yet, when i triend implement if few times, VaM crushes over and over again. i need a guide how to implement the ini files according to my hardware. i need help me, contact me please MiSiv
MiSiv
MiSiv
Send me a private message with your full PC specs, and I’ll help you configure it correctly
Upvote 0
Positive
Version: 1
Posted:
This plugin is amazing! It made a noticeable difference for me. Thanks for your work!
MiSiv
MiSiv
Enjoy :3
Upvote 0
Back
Top Bottom