VaM Patch

Plugins + Scripts VaM Patch

Download [3.05 MB]
Status
Version change awaiting approval before being displayed publicly.
  Contains executable files or external scripts. Ensure you trust the creator and apply your own security measures.


VaM Patch​

Performance and quality-of-life improvements for Virt-A-Mate 1.22.0.13
(Previously listed as CPU Performance Patch 2.0)​



Features​


  • CPU Performance Patch 2.0
    • An updated version of the original CPU Performance Patch by Turtlebackgoofy and Evo. Includes its CPU optimizations for physics and character processing.
    • Fixes morph handling and clothing restoration, and restores missing APIs used by precompiled plugins.

  • NativeGCPatcher 3.1
    • Helps reduce stutter caused by memory cleanup.
    • Fixes a startup crash that could occur after clearing a large cache and supports a 32 GB GC trigger.

  • 3× Mono heap patch
    • Triples Mono’s heap section limit, helping prevent crashes with the too many heap sections error.

  • Security fixes
    • Restores the security protections from VaM 1.22.0.13 in the patched assembly.

  • Faster startup
    • Builds a VAR index in VaM’s main cache folder. VaM reuses it on subsequent launches so it can start much faster, especially with large VAR libraries.
    • Builds or refreshes the JSON cache for several VAR packages at once, using 4 workers by default.
    • Loads the lists of files inside VAR packages faster from the saved index.

  • Faster Clothing, Hair, and Morphs tabs
    • Tabs open quickly and page changes are smoother, even with large libraries.

  • Clothing preset indicator
    • A customizable outline around Customize shows which clothing items have presets.

  • VR scrolling
    • Scroll through menus with either thumbstick.

  • New Patch tab in User Preferences
    • Turn VR scrolling on or off and adjust its speed.
    • Turn custom page sizes on or off and set the page button width, page button height, and scrollbar height.
    • Turn the clothing preset indicator on or off and choose its outline color and thickness.


Requirements and installation​
  • BepInEx is required only if you want to use the included NativeGCPatcher.
  • Go to https://github.com/BepInEx/BepInEx/releases
    Download the latest BepInEx 5.4.x.x win_x64 version
    Extract the archive contents directly into your VaM folder (where VaM.exe is located)
    Done
    (You can use the VaM 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 VaM 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.
I’ve decided to add new features and improvements to VaM Patch in separate updates. I’ll release each update after I’ve reviewed the changes and tested them thoroughly in VaM to make sure they work reliably.​


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

Share this resource

Latest updates

  1. Update 2.1.1

    Fixes: - Fixed an issue in VR where the right thumbstick couldn’t scroll through menus when the...
  2. Update 2.1

    QoL improvement: - Added thumbstick control for scrolling in VR. Now you can scroll through...

Latest reviews

Positive
Version: 2.1.1
Awesome work! Had like 140 FPS with turtlebackgoofy's patch, now with this one its always 170+ FPS even in heavier scenes, no stutters, all smoothly running. Highly appreciated!!
Upvote 0
Positive
Version: 2
Posted:
Great that you are picking up the torch on this one and driving things forward.

I'd already been using these 3x for a while now and consider them all essentials.

Hopefully having them all bundled together will mean more folks enjoy the benefits they bring.
Upvote 1
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 1
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
Back
Top Bottom