Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Garry's Mod"

From PCGamingWiki, the wiki about fixing PC games
m (Updated to Steampipe, changed game location)
(→‎Video: Default max frame rate was changed from 300 to 150 with the March 2024 patch.)
 
(214 intermediate revisions by 69 users not shown)
Line 1: Line 1:
{{infobox
+
{{State|state=postdev}}
|cover         = Garry's_Mod_Logo.jpg
+
{{Infobox game
|developer     = [[Wikipedia:Facepunch Studios|Facepunch Studios]]
+
|cover       = Garry's_Mod_Logo.jpg
|publisher     = [[Wikipedia:Valve Corporation|Valve Corporation]]
+
|developers  =
|engine         = Source
+
{{Infobox game/row/developer|Facepunch Studios}}
|release dates = <sup>Original Mod</sup> December 24, 2004 <br/><sup>Steam, Windows</sup> November 29, 2006 <br/><sup>Mac</sup> September 23, 2010<ref>[http://garrysmod.com/history Garry's Mod History - Garry's Mod Website]</ref><br/><sup>Linux</sup> June 5, 2013
+
|publishers  =
 +
{{Infobox game/row/publisher|Valve Corporation}}
 +
|engines      =
 +
{{Infobox game/row/engine|Source}}
 +
|release dates=  
 +
{{Infobox game/row/date|Windows|December 24, 2004|ref={{note|note=Original [[Half-Life 2]] mod release.}}}}
 +
{{Infobox game/row/date|Windows|November 29, 2006|ref={{note|note=Standalone release.}}}}
 +
{{Infobox game/row/date|OS X|September 23, 2010}}
 +
{{Infobox game/row/date|Linux|June 5, 2013}}
 +
|reception    =
 +
{{Infobox game/row/reception|Metacritic|garrys-mod|}}
 +
{{Infobox game/row/reception|OpenCritic||}}
 +
{{Infobox game/row/reception|IGDB|garry-s-mod|}}
 +
|taxonomy    =
 +
{{Infobox game/row/taxonomy/monetization      | One-time game purchase, Cross-game bonus}}
 +
{{Infobox game/row/taxonomy/microtransactions | No microtransactions}}
 +
{{Infobox game/row/taxonomy/modes            | Singleplayer, Multiplayer }}
 +
{{Infobox game/row/taxonomy/pacing            | Real-time}}
 +
{{Infobox game/row/taxonomy/perspectives      | First-person, Third-person}}
 +
{{Infobox game/row/taxonomy/controls          | Direct control}}
 +
{{Infobox game/row/taxonomy/genres            | Sandbox, FPS}}
 +
{{Infobox game/row/taxonomy/sports            | }}
 +
{{Infobox game/row/taxonomy/vehicles          | }}
 +
{{Infobox game/row/taxonomy/art styles        | Realistic, Cartoon}}
 +
{{Infobox game/row/taxonomy/themes            | Contemporary}}
 +
{{Infobox game/row/taxonomy/series            | }}
 +
|steam appid  = 4000
 +
|gogcom id    =
 +
|official site= https://gmod.facepunch.com/
 +
|igdb        = garry-s-mod
 +
|hltb        = 3847
 +
|strategywiki =
 +
|mobygames    = 36258
 +
|wikipedia    = Garry's Mod
 +
|winehq      = 5217
 +
|license      = commercial
 
}}
 
}}
  
 
'''Key points'''
 
'''Key points'''
{{++}} Receives frequent updates
+
{{++}} Extensive modding community, including Steam Workshop integration.
{{++}} Supports the Steam Workshop<ref>[http://garrysmod.com/post/34237807320/garrys-mod-update-143 Garry’s Mod - Update 143 - Garry's Mod Blog]</ref>
+
{{ii}} Many online servers require [[#Black and purple textures and giant red models|resources]] from other Valve games.
{{++}} Runs on low-end hardware<ref>Tested by [[User:Nicereddy|Nicereddy]].</ref>
 
  
 
'''General information'''
 
'''General information'''
{{mm}} [http://www.garrysmod.com/ Official Garry's Mod Blog]
+
{{mm}} [https://github.com/Facepunch/garrysmod-issues/issues GitHub Issue Tracker for Garry's Mod]
{{mm}} [http://wiki.garrysmod.com/page/Main_Page Official Garry's Mod Wiki]
+
{{mm}} [http://wiki.garrysmod.com/page/Main_Page Official wiki]
{{mm}} [http://forums.steampowered.com/forums/forumdisplay.php?f=132 Steam Users' Forums]
+
{{mm}} [https://steamcommunity.com/app/4000/discussions/ Steam Community Discussions]
{{mm}} [http://steamcommunity.com/app/4000/discussions/ Steam Community Discussions]
 
{{mm}} [http://www.garrysmod.org/ Official Garry's Mod Add-on Website] - This has since been replaced by the implementation of the Steam Workshop into Garry's Mod.
 
  
 
==Availability==
 
==Availability==
{{Availability Table|
+
{{Availability|
{{Availability Table/row| [http://store.steampowered.com/app/4000/ Steam] | {{ID|Steam}} | }}
+
{{Availability/row| Steam | 4000 | Steam | The developer's custom {{term|DRM}} added in an update, may cause error messages stating "Unable to shade polygon normals" and dumping the user's Steam ID to the error log. | | Windows, OS X, Linux }}
 
}}
 
}}
 +
{{ii}} All versions require {{DRM|Steam}}.
  
{{ii}} All versions require [[Steam]].
+
==Monetization==
 +
{{Monetization
 +
|ad-supported                =
 +
|cross-game bonus            = Compatible with various selected Source engine games.
 +
|dlc                        =
 +
|expansion pack              =
 +
|freeware                    =
 +
|free-to-play                =
 +
|one-time game purchase      = The game requires an upfront purchase to access.
 +
|sponsored                  =
 +
|subscription                =
 +
|subscription gaming service =
 +
}}
  
== Improvements ==
+
==Essential improvements==
=== Garry's Mod V3-V9 ===
+
===Skip intro videos===
All of the older mod versions of Garry's Mod are available at the [http://www.facepunch.com/threads/1027255-Garry-s-Mod-V1-V9.0.4c-Fixed-and-Playable!-New-Thread!-Every-GMod-Version-Included Facepunch forums], modified to work with Steam.
+
{{Fixbox|description=Use the <code>-novid</code> [[Glossary:Command line arguments|command line argument]]|ref={{cn|date=July 2016}}}}
  
=== Console Commands ===
+
===Improve performance===
Games running on the Source Engine can utilize [https://developer.valvesoftware.com/wiki/Console_Command_List Source Engine Console Commands] for various tasks.
+
{{ii}} It's recommended to use both fixes listed at the bottom.
 +
{{Fixbox|description=Use 64 bit branch and multicore support.<ref>{{Refurl|url=https://store.steampowered.com/news/app/4000/view/1709612955335487160|title=Next update, x64, Chromium and upcoming changes to Steam Workshop support|date=2021-05-11}}</ref>|fix=
 +
#Right click on Garry's Mod in your Steam library and click <code>Properties</code>.
 +
#Go to the <code>Beta</code> section and change it from <code>None</code> to <code>x86-64 - Chromium + 64-bit binaries</code>.
 +
#Wait for Steam to download the new binaries (~190MB of data).
 +
}}
 +
{{Fixbox|description=Use autoexec.cfg commands|fix=
 +
# Go to the <code>{{P|game}}\garrysmod\cfg</code> and open <code>autoexec.cfg</code>
 +
# Paste those lines and save the file:
 +
<pre>
 +
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
 +
r_queued_decals 1
 +
r_rootlod 0
 +
mat_picmip -10
 +
r_lod 0
 +
cl_new_impact_effects 1
 +
cl_burninggibs 1
 +
mp_usehwmmodels 1
 +
mp_usehwmvcds 1
 +
fps_max 0
 +
</pre>
 +
{{ii}} This method will not only improve performance, but may also improve the graphics a bit.
 +
}}
  
 
==Game data==
 
==Game data==
{{Game Location Table|
+
===Configuration file(s) location===
{{Game Location Table/row|Windows|C:\Program Files (x86)\Steam\steamapps\common\garrysmod}}  
+
{{Game data|
{{Game Location Table/row|Mac|~/Library/Application Support/Steam/steamapps/common/garrysmod}}
+
{{Game data/config|Windows|{{p|game}}\garrysmod\cfg}}
{{Game Location Table/row|Linux|}}
+
{{Game data/config|OS X|}}
 +
{{Game data/config|Linux|{{p|game}}/garrysmod/cfg}}
 +
}}
 +
{{XDG|unknown}}
 +
 
 +
===Save game data location===
 +
{{Game data|
 +
{{Game data/saves|Windows|{{p|game}}\garrysmod\saves}}
 +
{{Game data/saves|OS X|}}
 +
{{Game data/saves|Linux|}}
 +
}}
 +
 
 +
===[[Glossary:Save game cloud syncing|Save game cloud syncing]]===
 +
{{Save game cloud syncing
 +
|discord                  =
 +
|discord notes            =
 +
|epic games launcher      =
 +
|epic games launcher notes =
 +
|gog galaxy                =
 +
|gog galaxy notes          =
 +
|origin                    =
 +
|origin notes              =
 +
|steam cloud              = true
 +
|steam cloud notes        =
 +
|ubisoft connect          =
 +
|ubisoft connect notes    =
 +
|xbox cloud                =
 +
|xbox cloud notes          =
 +
}}
 +
 
 +
==Video==
 +
{{Image|Garrysmod-video.png|Video settings}}
 +
{{Image|Garrysmod-advancedvideo.png|Advanced video settings}}
 +
{{Video
 +
|wsgf link                  = https://www.wsgf.org/dr/garrys-mod/en
 +
|widescreen wsgf award      = gold
 +
|multimonitor wsgf award    = silver
 +
|ultrawidescreen wsgf award = incomplete
 +
|4k ultra hd wsgf award    = incomplete
 +
|widescreen resolution      = true
 +
|widescreen resolution notes=
 +
|multimonitor              = true
 +
|multimonitor notes        =
 +
|ultrawidescreen            = true
 +
|ultrawidescreen notes      =
 +
|4k ultra hd                = true
 +
|4k ultra hd notes          = HUD size does not scale with resolution.
 +
|fov                        = true
 +
|fov notes                  =
 +
|windowed                  = true
 +
|windowed notes            =
 +
|borderless windowed        = true
 +
|borderless windowed notes  = Borderless windowed support has been added in the [https://gmod.facepunch.com/blog/february-2019-update February 2019 update].
 +
|anisotropic                = true
 +
|anisotropic notes          = Up to 16 samples.
 +
|antialiasing              = true
 +
|antialiasing notes        = Up to 8x [[MSAA]] and 16xQ [[CSAA]].
 +
|upscaling                  = unknown
 +
|upscaling tech            =
 +
|upscaling notes            =
 +
|vsync                      = true
 +
|vsync notes                = Double buffered <ref>{{Refurl|url=https://www.youtube.com/watch?v=qShOm6pwUbA|title=Black mesa vsync is double buffered|date=2024}}</ref>
 +
|60 fps                    = true
 +
|60 fps notes              =
 +
|120 fps                    = true
 +
|120 fps notes              = 150 FPS cap by default. With console, can change <code>fps_max</code> up to <code>1000</code>; use <code>0</code> for uncapped framerate.
 +
|hdr                        = false
 +
|hdr notes                  = Rendered image uses {{term|SDR}} color space. In-game {{term|HDR}} option refers only to {{term|HDR Rendering}}.
 +
|color blind                = unknown
 +
|color blind notes          =
 +
}}
 +
 
 +
==Input==
 +
{{Image|Garrysmod-controls.png|Input settings}}
 +
{{Input
 +
|key remap                = true
 +
|key remap notes          =
 +
|acceleration option      = true
 +
|acceleration option notes =
 +
|mouse sensitivity        = true
 +
|mouse sensitivity notes  =
 +
|mouse menu                = true
 +
|mouse menu notes          =
 +
|invert mouse y-axis      = true
 +
|invert mouse y-axis notes =
 +
|touchscreen              = unknown
 +
|touchscreen notes        =
 +
|controller support        = true
 +
|controller support notes  =
 +
|full controller          = false
 +
|full controller notes    = Many gamemodes are designed with a KB/M in mind; you can't navigate certain menus like Sandbox's spawn menu.
 +
|controller remap          = true
 +
|controller remap notes    =
 +
|controller sensitivity    = true
 +
|controller sensitivity notes=
 +
|invert controller y-axis  = true
 +
|invert controller y-axis notes=
 +
|xinput controllers        = unknown
 +
|xinput controllers notes  =
 +
|xbox prompts              = unknown
 +
|xbox prompts notes        =
 +
|impulse triggers          = unknown
 +
|impulse triggers notes    =
 +
|dualshock 4              = unknown
 +
|dualshock 4 notes        =
 +
|dualshock prompts        = unknown
 +
|dualshock prompts notes  =
 +
|light bar support        = false
 +
|light bar support notes  =
 +
|dualshock 4 modes        = unknown
 +
|dualshock 4 modes notes  =
 +
|tracked motion controllers= hackable
 +
|tracked motion controllers notes = Use [https://steamcommunity.com/sharedfiles/filedetails/?id=1678408548 VRMod - Experimental Virtual Reality]
 +
|tracked motion prompts    = unknown
 +
|tracked motion prompts notes =
 +
|other controllers        = unknown
 +
|other controllers notes  =
 +
|other button prompts      = unknown
 +
|other button prompts notes=
 +
|button prompts            = false
 +
|button prompts notes      =
 +
|controller hotplug        = false
 +
|controller hotplug notes  =
 +
|haptic feedback          = unknown
 +
|haptic feedback notes    =
 +
|simultaneous input        = true
 +
|simultaneous input notes  =
 +
|steam input api          = unknown
 +
|steam input api notes    =
 +
|steam hook input          = unknown
 +
|steam hook input notes    =
 +
|steam input presets      = unknown
 +
|steam input presets notes =
 +
|steam controller prompts  = unknown
 +
|steam controller prompts notes =
 +
|steam cursor detection    = unknown
 +
|steam cursor detection notes =
 +
}}
 +
 
 +
==Audio==
 +
{{Image|Garrysmod-sound.png|Audio settings}}
 +
{{Audio
 +
|separate volume          = true
 +
|separate volume notes    = Over-all game volume and separate music slider.
 +
|surround sound          = true
 +
|surround sound notes    = 7.1, 5.1 surround sound, 4 speaker surround.
 +
|subtitles                = true
 +
|subtitles notes          =
 +
|closed captions          = true
 +
|closed captions notes    =
 +
|mute on focus lost      = true
 +
|mute on focus lost notes = "Silence the audio while the game window is in the background" check box.
 +
|eax support              =
 +
|eax support notes        =
 +
|royalty free audio        = unknown
 +
|royalty free audio notes  =
 +
}}
 +
 
 +
{{L10n|content=
 +
{{L10n/switch
 +
|language  = English
 +
|interface = true
 +
|audio    = true
 +
|subtitles = true
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Bulgarian
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Simplified Chinese
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Traditional Chinese
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Czech
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Danish
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Dutch
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Finnish
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = French
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = German
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Greek
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Hungarian
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Italian
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Japanese
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Korean
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Norwegian
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Polish
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Portuguese
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Brazilian Portuguese
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Russian
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Spanish
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Swedish
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Thai
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Turkish
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
{{L10n/switch
 +
|language  = Ukrainian
 +
|interface = true
 +
|audio    = unknown
 +
|subtitles = unknown
 +
|notes    =
 +
|fan      =
 +
}}
 +
}}
 +
 
 +
==Network==
 +
{{Network/Multiplayer
 +
|local play          = hackable
 +
|local play players  = 16
 +
|local play modes    =
 +
|local play notes    = Use [https://github.com/SplitScreen-Me/splitscreenme-nucleus/releases Nucleus Co-op].
 +
|lan play            = true
 +
|lan play players    = 128
 +
|lan play modes      =
 +
|lan play notes      =
 +
|online play          = true
 +
|online play players  = 128
 +
|online play modes    =
 +
|online play notes    =
 +
|asynchronous        =
 +
|asynchronous notes  =
 +
}}
 +
 
 +
{{Network/Connections
 +
|matchmaking        = false
 +
|matchmaking notes  =
 +
|p2p                = true
 +
|p2p notes          =
 +
|dedicated          = true
 +
|dedicated notes    =
 +
|self-hosting      = true
 +
|self-hosting notes = Dedicated Server software is available under Tools in the Steam client.
 +
|direct ip          = hackable
 +
|direct ip notes    = Open the console ({{key|~}}) and enter <code>connect</code> followed by the IP and port.
 +
}}
 +
 
 +
{{Network/Ports
 +
|tcp  = 27014-27050
 +
|udp  = 3478, 4379-4380, 27000-27030
 +
|upnp = unknown
 
}}
 
}}
  
=== [[Save game cloud syncing]] ===
+
==VR support==
{{Save Game Cloud Syncing
+
{{VR support
|steam_cloud           =true
+
|gg3d name                  =
|steam_cloud_notes     =
+
|native 3d gg3d award        =
|origin                 =
+
|nvidia 3d vision gg3d award =
|origin_notes           =
+
|tridef 3d gg3d award        =
|uplay                 =
+
|iz3d gg3d award            =  
|uplay_notes            =
+
|native 3d                  =  
|gamesave_manager       =true
+
|native 3d notes            =
|gamesave_manager_notes =
+
|nvidia 3d vision           =  
|gamestow               =
+
|nvidia 3d vision notes     =  
|gamestow_notes         =
+
|tridef 3d                  =
|synctocloud           =
+
|tridef 3d notes            =
|synctocloud_notes     =
+
|iz3d                        =
|square_enix            =
+
|iz3d notes                  =
|square_enix_notes      =
+
|vr only                    = false
 +
|htc vive                    = hackable
 +
|htc vive notes              = Use [https://steamcommunity.com/sharedfiles/filedetails/?id=1678408548 VRMod - Experimental Virtual Reality]
 +
|oculus rift                 = hackable
 +
|oculus rift notes           = Use [https://steamcommunity.com/sharedfiles/filedetails/?id=1678408548 VRMod - Experimental Virtual Reality]
 +
|osvr                        = unknown
 +
|osvr notes                 =  
 +
|windows mixed reality      = hackable
 +
|windows mixed reality notes = Use [https://steamcommunity.com/sharedfiles/filedetails/?id=1678408548 VRMod - Experimental Virtual Reality]
 +
|keyboard-mouse              = true
 +
|keyboard-mouse notes        =  
 +
|3rd space gaming vest       =  
 +
|3rd space gaming vest notes =  
 +
|novint falcon               =  
 +
|novint falcon notes         =  
 +
|trackir                    = hackable
 +
|trackir notes              = Available [https://github.com/ExtReMLapin/TrackIR_GMod here]
 +
|tobii eye tracking          = hackable
 +
|tobii eye tracking notes    = Works with [http://facetracknoir.sourceforge.net/Trackers/Tobii.htm Tobii EyeX tracker] or [http://facetracknoir.sourceforge.net/Trackers/Tobii4C.htm Tobii EyeX 4C and 5 headtracker] plugins for [http://facetracknoir.sourceforge.net/ FaceTrackNoIR].
 +
|play area seated           = true
 +
|play area seated notes     =  
 +
|play area standing          = true
 +
|play area standing notes    =
 +
|play area room-scale        = true
 +
|play area room-scale notes  =  
 
}}
 
}}
  
==Video settings==
+
==Issues fixed==
{{Video Settings
+
===Black and purple textures and giant red models===
|wsgf_link                  =http://www.wsgf.org/node/19062
+
{{ii}} See [[Engine:Source#Missing models or textures|Missing models or textures]].
|widescreen_wsgf_award      =gold
+
{{ii}} 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]]).
|multimonitor_wsgf_award    =silver
+
{{ii}} You can download the Garry's Mod content specified above as an addon. However, you'll have to find the download site on your own since it contains copyrighted content.
|widescreen_resolution      =true
+
 
|widescreen_resolution_notes=
+
===Game crashes at title screen===
|multimonitor              =true
+
{{Fixbox|description=Use the <code>+connect 1:1</code> [[Glossary:Command line arguments|command line argument]]|ref={{cn|note=Is this still a bug?|date=October 2016}}|fix=
|multimonitor_notes        =
+
 
|fov                        =true
+
'''Notes'''
|fov_notes                  =
+
{{ii}} When the game opens, it will take you to a <code>Connecting to Server</code> 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.
|windowed                  =true
+
{{ii}} Sometimes you may need to press {{key|Alt|Tab}} then go back into the game for this to work.
|windowed_notes            =
 
|borderless_windowed        =hackable
 
|borderless_windowed_notes  =See [[#Borderless fullscreen windowed|Borderless fullscreen windowed]].
 
|anisotropic                =true
 
|anisotropic_notes          =
 
|antialiasing              =true
 
|antialiasing_notes        =
 
|vsync                      =true
 
|vsync_notes                =
 
 
}}
 
}}
  
=== [[Borderless fullscreen windowed]] ===
+
===Hosting a listen server===
{{Fixbox|1=
+
{{Fixbox|description=Start listen server|ref={{cn|date=October 2016}}|fix=
{{Fixbox/fix|-window -noborder}}
+
{{ii}} To host a server while playing, one must be able to forward ports and enter a console command.
# Find Garry's Mod in your Steam Library
+
 
# Right-click the game name
+
# Forward the ports 27015 and 27005
# Select <code>Properties</code>
+
# Enter <code>sv_lan 0</code> in the console
# Select <code>Set Launch Options...</code>
+
# Press "Play Multiplayer" and select a map
# Enter <code>-window -noborder</code>
+
# Others should now be able to join
# Press <code>OK</code>
 
  
{{ii}} This allows for easier alt-tabbing, but will likely cause a decrease in performance.
+
'''Notes'''
 +
{{ii}} In order for your server to show up on the server list, you must change <code>sv_region</code> to a value corresponding to your region.
 
}}
 
}}
  
==Input settings==
+
===Could not load library client (Linux)===
{{Input Settings
+
{{Fixbox|description=Additional Libraries|ref={{cn|date=July 2016}}|fix=
|key_remap                  =true
+
* 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).
|key_remap_notes            =
 
|acceleration_option        =true
 
|acceleration_option_notes  =
 
|controller_support        =false
 
|controller_support_notes  =
 
 
}}
 
}}
  
== Issues, Fixes, and Tweaks ==
+
===Game changes microphone gain at launch===
===Textures Not Loading===
+
{{Fixbox|description=Modify configuration file|ref=<ref>{{Refurl|url=https://www.reddit.com/r/GlobalOffensive/comments/2vftby/csgo_changing_your_windows_mic_boost_level_heres/|title=CSGO changing your windows mic boost level? here's a fix: GlobalOffensive|date=May 2023}}</ref>|fix=
Textures that are checkered purple and black are textures that were unable to be loaded. Garry's Mod doesn't have the texture files itself, you need other games on your computer for the game to work properly. If you don't have Team Fortress 2 downloaded, for example, textures from Team Fortress 2 (characters, items, etc.) will not load. Garry's Mod takes textures from various Source games including, but not limited to, [[Half-Life 2]] (and its episodes), [[Portal]], [[Counter-Strike: Source]], and [[Team Fortress 2]]. If you do not have any of these games, among various others, there may be errors in the game.
+
# Go to the [[#Game data|configuration file(s) location]].
 +
# Open <code>config.cfg</code>.
 +
# Find the line <code>voice_mixer_volume</code>, it should be near the bottom of the file. If the line doesn't exist you may create it.
 +
# Set the value to whatever you prefer your mic volume to be, I set mine to <code>.5</code> which translates to 50% gain.
  
If textures are not loading in your game there is two things that can be wrong. Either you don't have the game required for the textures or the game required isn't getting included when running Garry's mod.
+
'''Notes'''
 +
{{ii}} 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) automatically adjusts.
 +
}}
  
=== Unable to open Developer Console ===
+
{{Fixbox|description=Disable exclusive control of microphone (Windows)|ref=<ref>{{Refurl|url=https://www.reddit.com/r/GlobalOffensive/comments/3t6gdm/why_does_csgo_automatically_change_my_mic_volume/cx3ix79|title=kyoukidotexe commented on Why does CS:GO automatically change my mic volume when I start the game?: GlobalOffensive|date=May 2023}}</ref>|fix=
Players with non-US keyboards often encounter problems opening the Developer Console because the set opening key (~) is positioned in a different location. Binding the key via the config.cfg file will not work because the game resets to the default key automatically. Most of the time the console can be opened by pressing the button to the left of the '1' key/under the 'Esc' key. In UK and similar keyboards, this button is the '`' key.
+
# Right click on the speaker icon located at the tray bar.
 +
# Select '''Recording devices'''.
 +
# Double click on your microphone in the newly opened window.
 +
# Go to '''Advanced''' and untick '''Allow applications to take exclusive control of this device'''.
  
=== Hosting a listen server ===
+
'''Notes'''
To host a server while playing, one must be able to forward ports and enter a console command. The ports 27015 and 27005, both TCP and UDP, need to be forwarded. Then type in console <code>sv_lan 0</code> without the quotes. Now click "Play Multiplayer", select the map of your choice, and others should be able to join.
+
{{--}} Most applications ignores this, and many users are reporting that it isn't working.
 +
}}
  
In order for your server to show up on the server list, you must change <code>sv_region</code> to a value corresponding to your region.
+
==Other information==
 +
===API===
 +
{{API
 +
|direct3d versions      = 9
 +
|direct3d notes        =
 +
|directdraw versions    =
 +
|directdraw notes      =
 +
|opengl versions        = 2.1
 +
|opengl notes          = OS X and Linux only.
 +
|glide versions        =
 +
|glide notes            =
 +
|software mode          =
 +
|software mode notes    =
 +
|mantle support        =
 +
|mantle support notes  =
 +
|vulkan versions        =
 +
|vulkan notes          =
 +
|dos modes              =
 +
|dos modes notes        =
 +
|shader model versions  = 2, 3
 +
|shader model notes    =
 +
|windows 32-bit exe    = true
 +
|windows 64-bit exe    = hackable
 +
|windows arm app        = false
 +
|windows exe notes      = For 64 bit, see [[#Improve performance|Improve performance]].
 +
|mac os x powerpc app  = false
 +
|macos intel 32-bit app = true
 +
|macos intel 64-bit app = hackable
 +
|macos arm app          = unknown
 +
|macos app notes        = For 64 bit, see [[#Improve performance|Improve performance]].
 +
|linux 32-bit executable= true
 +
|linux 64-bit executable= hackable
 +
|linux arm app          = unknown
 +
|linux executable notes = For 64 bit, see [[#Improve performance|Improve performance]].
 +
}}
  
=== Installing Mods ===
+
===Middleware===
{{Fixbox|1=
+
{{Middleware
{{Fixbox/fix|Description}}
+
|physics          = Havok
# Download the mod files
+
|physics notes    = Heavily modified variant.
# Navigate to <code>C:\Program Files (x86)\Steam\steamapps\common\garrysmod\addons\</code>
+
|audio            = Miles Sound System
# Extract mod files here
+
|audio notes      =
 +
|interface        =
 +
|interface notes  =  
 +
|input            = SDL
 +
|input notes      =
 +
|cutscenes        = Bink Video
 +
|cutscenes notes  =
 +
|multiplayer      = Steamworks
 +
|multiplayer notes=
 
}}
 
}}
  
=== Low FPS Fix ===
+
===Console commands===
==== Command Line Parameters ====
+
{{ii}} Games running on the Source engine can utilize [https://developer.valvesoftware.com/wiki/Console_Command_List Source Engine Console Commands] for various tasks.
On a low end PC (Tested on 2GB RAM, 2.4GHz Dual Core Celeron Processor, GeForce 7100) you can modify the command line parameters for Garry's Mod.
 
  
# Go into your Steam Library.
+
{{Fixbox|description=Enabling the console in Source games|ref={{cn|date=July 2016}}|fix=
# Right click Garry's Mod.
+
# Launch the game
# Click Properties.
+
# From the main menu select <code>Options</code>
# Click "Set Launch Options".
+
# Select the <code>Keyboard</code> tab
# Add the following:<br/> <code>-dev -console -novid -dxlevel 70 +cl_showfps -w -nomemrestrict -norestrictions  -percentvidmem 100 +mat_antialias 0 -refresh 60 -heapsize 1048576</code><br/> The <code>-heapsize</code> 104876 parameter assumes you have 2GB RAM.
+
# Click the <code>Advanced</code> button
# Each time you boot Garry's Mod, you will need to go into your options and turn all settings to low, with anti-aliasing and filtering off.
+
# Check the box next to <code>Enable developer console ({{key|~}})</code>
 +
# Click Apply
  
'''Note''': This works for all Source games pre-Left 4 Dead 2.
+
'''Notes'''
 +
{{ii}} Press {{key|~}} to open the console.
 +
{{ii}} Some commands may first require you enabling sv_cheats. You can do so with <code>sv_cheats 1</code>.
 +
{{ii}} 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 [[Engine:Source#Console doesn't open|problems]].
 +
}}
 +
 
 +
===[[Glossary:Command line arguments|Command line arguments]]===
 +
{{ii}} See [https://support.steampowered.com/kb_article.php?ref=1040-JWMT-2947 this Steam Support Article regarding launch options] as well as [https://developer.valvesoftware.com/wiki/Launch_options#Source_Games the relevant Valve Developer wiki page] for further information and a list of useful Source engine launch options.
  
 
==System requirements==
 
==System requirements==
{{System Requirements
+
{{System requirements
 
|OSfamily = Windows
 
|OSfamily = Windows
  
|minOS    = Windows 2000, Windows XP, Windows Vista, Windows 7
+
|minOS    = Vista, XP
|minproc  = 1.7 GHz
+
|minCPU  = 2 GHz (SSE required)
|minmem   = 512 MB
+
|minRAM   = 4 GB
|minHD    = 6 GB free
+
|minHD    = 5 GB
|minGPU  = DirectX 8.1 level Graphics Card (Requires support for SSE)
+
|minGPU  = DirectX 9 level Graphics Card
 +
|minDX    = 9.0c
 +
|minVRAM  = 512 MB
 +
|minaudio = DirectX 9 compatible
 +
|minother = Mouse, Keyboard, Monitor
  
|recmem   = 1 GB
+
|recOS    = 7, 8, 8.1, 10
|recproc = 3.0 GHz
+
|recCPU  = 2.5 GHz
|recGPU  = DirectX 9 level Graphics Card
+
|recRAM   = 8 GB
 +
|recHD    = 20 GB
 +
|recVRAM = 1 GB
 +
|recGPU  =  
 +
|recDX    = 9.0c
 
}}
 
}}
  
{{System Requirements
+
{{System requirements
|OSfamily = Mac
+
|OSfamily = OS X
 +
 
 +
|minOS    = Snow Leopard 10.6.3
 +
|minCPU  = 2 GHz
 +
|minRAM  = 4 GB
 +
|minHD    = 5 GB
 +
|minGPU  = ATI Radeon X1600
 +
|minGPU2  = Nvidia GeForce 8
 +
|minGPU3  = Intel HD 3000
 +
|minVRAM  = 512 MB
 +
|minother = Mouse, Keyboard, Monitor
  
|minOS    = OS X 10.5.8 or 10.6.3
+
|recCPU  = 2.5 GHz
|minmemm = 1 GB
+
|recRAM  = 8 GB
|minHD    = 6 GB free
+
|recVRAM = 1 GB
|minGPU   = NVIDIA GeForce 8 or higher, or ATI X1600 or higher
+
|recHD    = 20 GB
 +
}}
 +
 
 +
{{System requirements
 +
|OSfamily = Linux
 +
 
 +
|minOS    = Ubuntu 12.04
 +
|minCPU  = 2 GHz
 +
|minRAM  = 4 GB
 +
|minHD    = 5 GB
 +
|minVRAM  = 512 MB
 +
|minother = Mouse, Keyboard, Monitor
 +
 
 +
|recCPU  = 2.5 GHz
 +
|recRAM   = 8 GB
 +
|recHD    = 20 GB
 +
|recVRAM  = 1 GB
 
}}
 
}}
  
 
{{References}}
 
{{References}}
 
[[Category:Windows]]
 
[[Category:Mac]]
 
[[Category:Linux]]
 

Latest revision as of 00:21, 12 April 2024

Dev general icon.svg
Although this product has been released, it remains under active development - information may change frequently and could be outdated or irrelevant.
Garry's Mod
Garry's Mod cover
Developers
Facepunch Studios
Publishers
Valve Corporation
Engines
Source
Release dates
Windows December 24, 2004[Note 1]
Windows November 29, 2006[Note 2]
macOS (OS X) September 23, 2010
Linux June 5, 2013
Taxonomy
Monetization One-time game purchase, Cross-game bonus
Microtransactions None
Modes Singleplayer, Multiplayer
Pacing Real-time
Perspectives First-person, Third-person
Controls Direct control
Genres Sandbox, FPS
Art styles Realistic, Cartoon
Themes Contemporary
Garry's Mod on HowLongToBeat
Garry's Mod on IGDB
Garry's Mod on MobyGames
Garry's Mod on Wikipedia

Warnings

The macOS (OS X) version of this game needs a fix to work on macOS Catalina (version 10.15) or later (see API for details).

Key points

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

General information

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

Availability

Source DRM Notes Keys OS
Steam
Icon overlay.png
The developer's custom DRM added in an update, may cause error messages stating "Unable to shade polygon normals" and dumping the user's Steam ID to the error log.
Windows
macOS (OS X)
Linux
All versions require Steam DRM.

Monetization

Type Notes
Cross-game bonus Compatible with various selected Source engine games.
One-time game purchase The game requires an upfront purchase to access.

Essential improvements

Skip intro videos

Use the -novid command line argument[citation needed]

Improve performance

It's recommended to use both fixes listed at the bottom.
Use 64 bit branch and multicore support.[1]
  1. Right click on Garry's Mod in your Steam library and click Properties.
  2. Go to the Beta section and change it from None to x86-64 - Chromium + 64-bit binaries.
  3. Wait for Steam to download the new binaries (~190MB of data).
Use autoexec.cfg commands
  1. Go to the <path-to-game>\garrysmod\cfg and open autoexec.cfg
  2. Paste those lines and save the 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
r_queued_decals 1
r_rootlod 0
mat_picmip -10
r_lod 0
cl_new_impact_effects 1
cl_burninggibs 1
mp_usehwmmodels 1
mp_usehwmvcds 1
fps_max 0 
This method will not only improve performance, but may also improve the graphics a bit.

Game data

Configuration file(s) location

System Location
Windows <path-to-game>\garrysmod\cfg[Note 3]
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

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

Save game cloud syncing

System Native Notes
Steam Cloud

Video

Video settings
Video settings
Advanced video settings
Advanced video settings

Graphics feature State WSGF Notes
Widescreen resolution
Multi-monitor
Ultra-widescreen
4K Ultra HD
HUD size does not scale with resolution.
Field of view (FOV)
Windowed
Borderless fullscreen windowed
Borderless windowed support has been added in the February 2019 update.
Anisotropic filtering (AF)
Up to 16 samples.
Anti-aliasing (AA)
Up to 8x MSAA and 16xQ CSAA.
Vertical sync (Vsync)
Double buffered [2]
60 FPS and 120+ FPS
150 FPS cap by default. With console, can change fps_max up to 1000; use 0 for uncapped framerate.
High dynamic range display (HDR)
Rendered image uses SDR color space. In-game HDR option refers only to HDR Rendering.

Input

Input settings
Input settings

Audio

Audio settings
Audio settings

Audio feature State 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.
Royalty free audio

Localizations

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

Network

Multiplayer types

Type Native Players Notes
Local play
16 Use Nucleus Co-op.
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 27014-27050
UDP 3478, 4379-4380, 27000-27030
Universal Plug and Play (UPnP) support status is unknown.

VR support

Issues fixed

Black and purple textures and giant red models

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).
You can download the Garry's Mod content specified above as an addon. However, you'll have to find the download site on your own since it contains copyrighted content.

Game crashes at title screen

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

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)

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

Modify configuration file[3]
  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) automatically adjusts.
Disable exclusive control of microphone (Windows)[4]
  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

API

Technical specs Supported Notes
Direct3D 9
OpenGL 2.1 OS X and Linux only.
Shader Model support 2, 3
Executable 32-bit 64-bit Notes
Windows
For 64 bit, see Improve performance.
macOS (OS X)
For 64 bit, see Improve performance.
Linux
For 64 bit, see Improve performance.

Middleware

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

Console commands

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

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

Windows
Minimum Recommended
Operating system (OS) Vista, XP
Processor (CPU) 2 GHz (SSE required)
System memory (RAM) 4 GB
Hard disk drive (HDD) 5 GB
Video card (GPU) DirectX 9 level Graphics Card
512 MB of VRAM
DirectX 9.0c compatible
Sound (audio device) DirectX 9 compatible
Other Mouse, Keyboard, Monitor
macOS (OS X)
Minimum Recommended
Operating system (OS) Snow Leopard 10.6.3
Processor (CPU) 2 GHz
System memory (RAM) 4 GB
Hard disk drive (HDD) 5 GB
Video card (GPU) ATI Radeon X1600
Nvidia GeForce 8
Intel HD 3000
512 MB of VRAM
Other Mouse, Keyboard, Monitor
Linux
Minimum Recommended
Operating system (OS) Ubuntu 12.04
Processor (CPU) 2 GHz
System memory (RAM) 4 GB
Hard disk drive (HDD) 5 GB
Video card (GPU) 512 MB of VRAM
Other Mouse, Keyboard, Monitor


Notes

  1. Original Half-Life 2 mod release.
  2. Standalone release.
  3. 3.0 3.1 When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).

References