1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Level Design

CSGO SDK VMPI patch

  • Lg2K
  • December 27, 2019 at 9:13 PM
  • Lg2K
    • December 27, 2019 at 9:13 PM
    • #1

    Hi CSGO mappers of Mapcore!

    As many of you may know, the possibility to use multiple computers help the compiling process of a CSGO map via VMPI has been disabled by Valve for a while now. After doing a bit of research I figured out how to get VMPI (fully) working again by modifying the vvis and vrad dll files. If you don't know what VMPI is and why you might want to use it when compiling maps for CSGO please visit the Valve Developer Community VMPI page first.

    Note: This is an unofficial patch. VVIS, VRAD and VMPI are property of Valve Software.

    Disclaimer: The dlls provided are modified vvis_dll.dll and vrad_dll.dll files from the official CSGO SDK installation. Please use these dlls at your own risk. No responsibility is claimed for any damage to either your computer or game installation while using these modified dlls.

    Warning: When running VMPI, the modified VVIS and VRAD dll files will perform a GET request to vmpi.lg2k.com (instead of Valve's blocked server). If you don't want to make a connection to my webserver please do not use the patched dll files.

    Download Patch version 1.0: CSGO VMPI Patch v1.0.zip

    How to install To use VMPI you will need to install the patched dll files on both the master and worker systems.

    [*] Download the patched vvis_dll.dll and vrad_dll.dll files. [*] Go to the bin folder of your Counter-Strike Global Offensive installation (i.e. C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\bin) An easy way to find you Counter-Strike: Global Offensive installation folder is to go to your Steam library > right click Counter-Strike: Global Offensive > manage > Browse local files. [*] Make a backup of the original vvis_dll.dll and vrad_dll.dll files. [*] Replace the vvis_dll.dll and vrad_dll.dll in your bin folder with the patched vvis_dll.dll and vrad_dll.dll files. [/list] VMPI map compile settings (Hammer) To use VMPI when compiling a CSGO map include the following parameters in the corresponding (advanced) compile configuration properties.

    VVIS VRAD Command $vis_exe $light_exe Required parameters -mpi -mpi-mpi_UseDefaultDistributor*-mpi_AutoLocalWorker** (Recommended) status parameters -mpi_Graphics-mpi_ShowDistributeWorkStats -mpi_Graphics-mpi_ShowDistributeWorkStats (Recommended) ease of use -mpi_TimingWait -mpi_TimingWait *VRAD only works with VMPI whit the following argument: "-mpi_UseDefaultDistributor". The default argument ("-mpi_UseSDKDistributor") doesn't work.

    **-mpi_AutoLocalWorker is needed for VRAD to let the master help during the compiling process. If you wish to compile the map's lighting using only the workers' system don't include this parameter in the compile settings.

    More information about VMPI arguments can be found on: Valve Developer Community.

    Starting a VMPI worker To start a worker you will need to run two commands on the worker's system.

    Executable Parameters vvis.exe -mpi_Worker <master's ip adderess> -mpi_Retry vrad.exe -mpi_Worker <master's ip adderess> -mpi_Retry [*] Go to the bin folder of your Counter-Strike Global Offensive installation (i.e. C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\bin) An easy way to find you Counter-Strike: Global Offensive installation folder is to go to your Steam library > right click Counter-Strike: Global Offensive > manage > Browse local files. [*] Type cmd in the address-bar and hit enter. (A command prompt should open) [*] To start the vvis worker type vvis.exe -mpi_Worker <master's ip adderess> -mpi_Retry. [*] To start the vrad worker type vrad.exe -mpi_Worker <master's ip adderess> -mpi_Retry. [/list] Port forwarding Default VMPI port: 23311 (TCP and UDP) This port can be changed by adding -mpi_Port <port> (Ex: -mpi_Port 25320) to the master $vis_exe and $light_exe compile settings in Hammer.

    If you intend to use VMPI via a local network or via the internet the VMPI port might be blocked by your antivirus. If this is the case you will need to allow this port in your antivirus settings. When using VMPI via the internet you will also need to portforward the VMPI port in your router/modem configuration.

    VMPI registry The patched dll files are configured to use a custom VMPI registry (vmpi.lg2k.com).

    Valve's VMPI registry Original VMPI registry url: "vmpi-registry.valvesoftware.com" Original VMPI registry port: 80

    VMPI REST requests Origin Type Path Status Expected response Master GET /find_workers 200 Unknown* *It's currently unknown how and what Valve's vmpi-registry request returns, but it's expected to be a list of possible worker ip addresses or a way to tell the vmpi-registry to start and assign workers to the master.

    Errors Using the original VMPI registry results in a CURL error, likely because it's blocked with a firewall so only Valve can use their VMPI workers and outsiders can't get access to their VMPI worker machines.

    Lg2K's VMPI registry (modified) VMPI registry url: "vmpi.lg2k.com" VMPI registry port: 80

    VMPI REST requests Origin Type Path Status Expected response Master GET /find_workers 200 0

    Files

    CSGO VMPI Patch v1.0.zip 875.42 kB – 157 Downloads
  • jameskrauffs
    • December 11, 2020 at 8:11 AM
    • #2

    I f I am going to use the TOTAL AV security ( https://antivirus-review.com/totalav-review), Can it block this patch or not? Or maybe you can help me with how to avoid this?

  • Squidski
    • December 2, 2021 at 10:39 PM
    • #3

    How did you patch VRAD? I'm familiar with doing the VVIS patch by hex editing but last time I tested, the same "patch" didn't work for VRAD

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  2. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  3. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  4. Any of the old guard still around? D:

    Thrik
    June 20, 2026 at 10:11 PM
  5. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  6. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  7. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM
  8. Bridges 2.0 by NEXSIDE, MAP SHOWCASE. ( Steam Workshop )

    MrTrane18
    June 1, 2026 at 7:46 PM
  9. Classic Maps Reborn For CS2

    SillySpaceCat
    May 31, 2026 at 10:33 PM
  10. [CS2] Dvina

    Pulbusha
    May 29, 2026 at 5:54 PM
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™