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
Line 19: Line 19:
  
 
If it does, open those folders where the files are located and delete hl2.exe and the client.dll. Then open Steam, right-click on Garry's Mod and then click Properties. Then click on the Local Files tab and click "Verify Integrity Of Game Cache...", wait for it to finish, then try reconnecting to the server you had trouble with. You should not crash this time. This does not work the first try every time. If you still crash, then follow the procedure again and keep trying.
 
If it does, open those folders where the files are located and delete hl2.exe and the client.dll. Then open Steam, right-click on Garry's Mod and then click Properties. Then click on the Local Files tab and click "Verify Integrity Of Game Cache...", wait for it to finish, then try reconnecting to the server you had trouble with. You should not crash this time. This does not work the first try every time. If you still crash, then follow the procedure again and keep trying.
 +
 +
As of september 7 2012 this bug is probably because of a engine update
 +
For more information go to this thread on the official Gmod forums: http://www.facepunch.com/showthread.php?t=1210448
  
 
===Unable to open Developer Console===
 
===Unable to open Developer Console===

Revision as of 23:25, 6 September 2012

Template:Infobox

Bugs

Crashing during "Sending Client info..."

When trying to connect to a server, you may crash somewhere during "Sending Client info..." If this occurs, open the Event Viewer, click "Windows Logs", then "Application" under it. Look through the folder and find the log that is an error and the source is "Application Error." Then click details and check to see if it says something like this under "EventData":

C:\Program Files (x86)\Steam\steamapps\<steamID>\garrysmod\hl2.exe
C:\Program Files (x86)\Steam\steamapps\<steamID>\garrysmod\bin\client.dll
Note: folder for client.dll can also be C:\Program Files (x86)\Steam\steamapps\<steamID>\garrysmod\garrysmod\bin\client.dll

If it does, open those folders where the files are located and delete hl2.exe and the client.dll. Then open Steam, right-click on Garry's Mod and then click Properties. Then click on the Local Files tab and click "Verify Integrity Of Game Cache...", wait for it to finish, then try reconnecting to the server you had trouble with. You should not crash this time. This does not work the first try every time. If you still crash, then follow the procedure again and keep trying.

As of september 7 2012 this bug is probably because of a engine update For more information go to this thread on the official Gmod forums: http://www.facepunch.com/showthread.php?t=1210448

Unable to open Developer Console

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.

Tweaks

Borderless windowed mode

It is possible to play the game in borderless windowed mode to simulate a fullscreen environment by right-clicking on 'properties' in your Steam Library, clicking on 'Set Launch Options...' and adding the following:

-window -noborder

This allows for easier alt tabbing, though you will notice a sacrifice in performance.

Console Commands

Games running on the source engine can utilize Source Engine Console Commands for various tasks.

Hosting a listen server

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 'sv_lan 0' without the quotes. Now click "Play Multiplayer", select the map of your choice, and others should be able to join.

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

Installing Mods

To install most mods, simply extract the file downloaded to:

C:\Program Files (x86)\Steam\steamapps\<steamID>\garrysmod\addons.

Some mods, eg Wiremod may require some more complex installation. ALWAYS check the readme for the mod before installing.

System Requirements

Template:SysReq

Template:SysReq

Low FPS Fix

Command Line Parameters

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.

1. Go into your Steam Library.

2. Right click Garry's Mod.

3. Click Properties.

4. Click "Set Launch Options".

5. Add the following:

-dev -console -novid -dxlevel 70 +cl_showfps -w -nomemrestrict -norestrictions  -percentvidmem 100 +mat_antialias 0 -refresh 60 -heapsize 1048576

The -heapsize 104876 parameter assumes you have 2GB RAM.

6. 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.

Note: This works for all Source games pre-Left 4 Dead 2.

External Links

See Also