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)
(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.
-
(You can use the VaM Patch without BepInEx, but the ZIP also includes NativeGCPatcher, which requires BepInEx 5.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
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.exeand replace the existing files. - Do not combine it with another patch that replaces the same
Assembly-CSharp.dll,mono.dllorSkinMeshPartDLL.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.
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’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:
- Turtlebackgoofy — CPU Performance Patch
- Evo — CPU Performance Patch
- Ashu27 — Anti-Stutter Patch / NativeGCPatcher
- Neverm7nd — 3x MAX_HEAP_SECTS Mono patch
Contains executable files or external scripts. Ensure you trust the creator and apply your own security measures.