Garry's Mod
Garry's Mod

Installation and Initial Setup

Optimize Garry's Mod performance with our installation guide. Configure your autoexec.cfg file and add launch options for faster gameplay.

Installation and Initial Setup

To optimize Garry's Mod performance, you can modify the game's configuration file and add a launch option. This process involves locating the game's installation directory and editing a specific file to enable multi-core rendering and threaded operations.

  1. Locate the config file:
    • Go to the "Installed Files" section in the game's properties.
    • Click "Browse".
    • Navigate to the "garrysmod/cfg" folder.
    • Open the "autoexec.cfg" file using Notepad or another text editor.
  2. Modify the config file:

    Paste the following code into the "autoexec.cfg" file:

    gmod_mcore_test 1
    mat_queue_mode 2
    cl_threaded_bone_setup 1
    cl_threaded_client_leaf_system 1
    r_threaded_client_shadow_manager 1
    r_threaded_particles 1
    r_threaded_renderables 1
    r_queued_ropes 1
    studio_queue_mode 1
    mat_specular 1
    
    fps_max FRAMERATE
    menu_cleanupgmas
    host_writeconfig

    Replace "FRAMERATE" with your monitor's refresh rate for optimal results.

  3. (Optional) Find your Monitor Hertz:
    • Windows 10: Open Settings (Windows key + i), go to "Display", scroll to "Advanced display settings", choose your monitor, and check "Refresh rate".
    • Windows 11: Open Settings (Windows key + i), go to "Display", choose your display, scroll to "Advanced display settings", and check "Choose a refresh rate".
  4. Add the launch option:
    • Open the game's properties again.
    • Navigate to the "General" section.
    • In the "Launch Options" box, paste: +exec autoexec.cfg

When launching the game, select the 64-Bit or Garry's Mod option. This setup should enhance your game's performance.