Garry's Mod

From PCGamingWiki, the wiki about fixing PC games
Garry's Mod
Garry's Mod cover
Developers
Facepunch Studios
Publishers
Valve Corporation
Engines
Source
Release dates
Windows November 29, 2006
macOS (OS X) September 23, 2010
Linux June 5, 2013
Garry's Mod at Wikipedia

Key points

Extensive modding community, including Steam Workshop integration.
Receives frequent updates.
Many online servers require resources from other Valve games.

General information

GitHub Issue Tracker for Garry's Mod
Official wiki
Steam Community Discussions

Availability[edit]

Source DRM Notes Keys OS
Steam
Icon overlay.png
Windows
macOS (OS X)
Linux
All versions require Steam DRM.

Essential improvements[edit]

Skip intro videos[edit]

Use the -novid command line argument[citation needed]

Garry's Mod V1-V9[edit]

All of the older mod versions of Garry's Mod are available at the Facepunch forums, modified to work with Steam.

Game data[edit]

Configuration file(s) location[edit]

System Location
Windows <path-to-game>\garrysmod\cfg
macOS (OS X)
Linux <path-to-game>/garrysmod/cfg
It's unknown whether this game follows the XDG Base Directory Specification on Linux. Please fill in this information.

Save game data location[edit]

System Location
Windows <path-to-game>\garrysmod\saves
macOS (OS X)
Linux

Save game cloud syncing[edit]

System Native Notes
Steam Cloud

Video settings[edit]

Video settings
Video settings
Advanced video settings
Advanced video settings
Graphics option Option WSGF Notes
Widescreen resolution
Multi-monitor
Ultra-widescreen
4K Ultra HD
Field of view (FOV)
Windowed
Borderless fullscreen windowed
Use the -window -noborder command line arguments
Anisotropic filtering (AF)
Up to 16 samples.
Anti-aliasing (AA)
Up to 8x MSAA and 16xQ CSAA.
Vertical sync (Vsync)
60 FPS
120+ FPS
300 FPS, like all Source Engine based games.
High dynamic range display (HDR)
Rendered image uses SDR color space. In-game HDR option refers only to HDR Rendering.

Input settings[edit]

Input settings
Input settings
Keyboard and mouse Native Notes
Remapping
Mouse acceleration
Mouse sensitivity
Mouse input in menus
Mouse Y-axis inversion
Controller
Controller support
Full controller support
Many gamemodes are designed with a KB/M in mind; you can't navigate certain menus like Sandbox's spawn menu.
Controller remapping
Controller sensitivity
Controller Y-axis inversion
Additional information
Button prompts
Controller hotplugging
Haptic feedback

Audio settings[edit]

Audio settings
Audio settings
Audio options Native Notes
Separate volume controls
Over-all game volume and separate music slider.
Surround sound
7.1, 5.1 surround sound, 4 speaker surround.
Subtitles
Closed captions
Mute on focus lost
"Silence the audio while the game window is in the background" check box.

Localizations

Language UI Audio CC Notes
English
Brazilian Portuguese
Bulgarian
Czech
Danish
Dutch
Finnish
French
German
Greek
Hungarian
Italian
Japanese
Korean
Norwegian
Polish
Portuguese
Russian
Simplified Chinese
Spanish
Swedish
Thai
Traditional Chinese
Turkish
Ukrainian

Network[edit]

Multiplayer types

Type Native Players Notes
LAN play
128
Online play
128

Connection types

Type Native Notes
Matchmaking
Peer-to-peer
Dedicated
Self-hosting
Dedicated Server software is available under Tools in the Steam client.
Direct IP
Open the console (~) and enter connect followed by the IP and port.

Ports

Protocol Port(s) and/or port range(s)
TCP (outbound) 27014-27050
UDP (outbound) 3478, 4379-4380, 27000-27030

VR support[edit]

Devices Native Notes
TrackIR
Available here

Issues fixed[edit]

Black and purple textures and giant red models[edit]

See Missing models or textures.
Frequently featured contents come from just a bunch of other Source engine based games (Counter-Strike: Source, Half-Life 2, Half-Life 2: Episode One, Half-Life 2: Episode Two).

Game crashes at title screen[edit]

Use the +connect 1:1 command line argument[citation needed]

Notes

When the game opens, it will take you to a Connecting to Server screen. After a few seconds it should dissappear and take you to the title screen. It will then freeze for a few seconds, then function normally.
Sometimes you may need to press Alt+Tab then go back into the game for this to work.

Hosting a listen server[edit]

Start listen server[citation needed]
To host a server while playing, one must be able to forward ports and enter a console command.
  1. Forward the ports 27015 and 27005
  2. Enter sv_lan 0 in the console
  3. Press "Play Multiplayer" and select a map
  4. Others should now be able to join

Notes

In order for your server to show up on the server list, you must change sv_region to a value corresponding to your region.

Could not load library client (Linux)[edit]

Additional Libraries[citation needed]
  • Install the appropiate lib32 gconf package (libgconf-2-4:i386 for debian-based systems, libgconf-2.i386 for rpm-based distros, and lib32-gconf on the AUR for arch users).

Game changes microphone gain at launch[edit]

Modify configuration file[1]
  1. Go to the configuration file(s) location.
  2. Open config.cfg.
  3. Find the line voice_mixer_volume, it should be near the bottom of the file. If the line doesn't exist you may create it.
  4. Set the value to whatever you prefer your mic volume to be, I set mine to .5 which translates to 50% gain.

Notes

Removing the line does not work.
This will set a fixed value, and might not be a solution for people who are using dynamic gain which Windows (or other applications) automaticly adjusts.
Disable exclusive control of microphone (Windows)[2]
  1. Right click on the speaker icon located at the tray bar.
  2. Select Recording devices.
  3. Double click on your microphone in the newly opened window.
  4. Go to Advanced and untick Allow applications to take exclusive control of this device.

Notes

Most applications ignores this, and many users are reporting that it isn't working.

Other information[edit]

API[edit]

Technical specs Supported Notes
Direct3D 6, 7, 8, 8.1, 9
OpenGL 2.1 OS X and Linux only.
Shader Model support 2, 3
64-bit executable
OS X and Linux only.[citation needed]

Middleware[edit]

Middleware Notes
Physics Havok Heavily modified variant.
Audio Miles Sound System
Cutscenes Bink Video
Multiplayer Steamworks

Console commands[edit]

Games running on the Source engine can utilize Source Engine Console Commands for various tasks.
Enabling the console in Source games[citation needed]
  1. Launch the game
  2. From the main menu select Options
  3. Select the Keyboard tab
  4. Click the Advanced button
  5. Check the box next to Enable developer console (~)
  6. Click Apply

Notes

Press ~ to open the console.
Some commands may first require you enabling sv_cheats. You can do so with sv_cheats 1.
Many servers will not allow you to play with cheats enabled, or will disable them upon entering the server.
Users without a US keyboard could experience some problems.

Command line arguments[edit]

See this Steam Support Article regarding launch options as well as the relevant Valve Developer wiki page for further information and a list of useful Source engine launch options.

System requirements[edit]

Windows
Minimum Recommended
Operating system (OS) 2000, XP, Vista 7, 8, 8.1, 10
Processor (CPU) 1.8 GHz 2.5 GHz
System memory (RAM) 2 GB 8 GB
Hard disk drive (HDD) 1 GB 10 GB
Video card (GPU) DirectX 9 level Graphics Card (Requires support for SSE)
DirectX 8.1 compatible
1 GB of VRAM
DirectX 9.0c compatible
macOS (OS X)
Minimum Recommended
Operating system (OS) Snow Leopard 10.6.3
Processor (CPU) 1.8 GHz 2.5 GHz
System memory (RAM) 2 GB 8 GB
Hard disk drive (HDD) 1 GB 10 GB
Video card (GPU) ATI X1600
Nvidia GeForce 8
Intel HD 3000
1 GB of VRAM
Linux
Minimum Recommended
Operating system (OS) SteamOS, Ubuntu 12.04
Processor (CPU) 1.8 GHz 2.5 GHz
System memory (RAM) 2 GB 8 GB
Hard disk drive (HDD) 5 GB 10 GB
Video card (GPU) 512 MB of VRAM 1 GB of VRAM

References

  1. CSGO changing your windows mic boost level? here's a fix: GlobalOffensive
  2. kyoukidotexe commented on Why does CS:GO automatically change my mic volume when I start the game?: GlobalOffensive