WineHQ
Category: Main Games Garry's Mod 11

Garry's Mod

Garry's Mod 11 (Source 2007)
Garry's mod allows people to play around with valve's physics engine, to spawn props and construct weird devices. The game features several default levels for Gmod, and can be extended by other valve games, such as half-life (1 and 2), the episodes and for instance portal and TF2.
There are several game modes available, the default being sandbox, but possibilities include Zombie Survival (scary), Space build, where one builds a spacecraft to conquer planets, and Build to the Top (an external map) which is great fun in multiplayer.

Application Details:

Version: 11
License: Retail
URL: http://www.garrysmod.com
Votes: Marked as obsolete
Latest Rating: Gold
Latest Wine Version Tested: 1.3.7

Maintainers: About Maintainership

No maintainers. Volunteer today!

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

99% perfect. Read the fixes below to fix everything except some slightly ugly text.

To fix the prop death freeze and other freezes, and help some font issues:

run winecfg in terminal

under the applications tab, hit "Add"
browse to steam's exe (~/.wine/c drive/program files/steam/steam.exe)
It will be added to the list. Select it and set it's mode to windows 2000.

Now add garry's mod's hl2.exe file (~/.wine/c drive/program files/steam/steamapps/yourname/garrysmod/hl2.exe)
Set it's mode to windows 98.

Now, the next step will have to be done after you have run garrysmod at least once (it creates some directories when first run)

This will fix the Q menu bug, and also the context menu bug by making the q and c buttons toggle on and off.

create a new file called qmenufix.cfg and put it in the garrysmod cfg folder
(~/.wine/c drive/program files/steam/steamapps/yourname/garrysmod/garrysmod/cfg)

In that file add the following text.

alias showmenu "+menu; bind q hidemenu"
alias hidemenu "-menu; bind q showmenu"
bind q showmenu
alias showcontext "+menu_context; bind c hidecontext"
alias hidecontext "-menu_context; bind c showcontext"
bind c showcontext


save and open up steam, log in, and go to your games tab. Right click garrysmod and choose properties, then click "Set launch options" and add
"+exec qmenufix.cfg"
without the quotes. this will run the config file we created, which makes the q and c keys toggle rather than on hold.

I did not have to have anything else in the launch options. no dxlevel or anything. it just worked fine by default.

I am not sure if setting steam to windows 2000 is necessary, but that is what I read and it works so I haven't changed it. But logically it makes no sense. compatibility is set per application, and if gmod is set to 98, it shouldn't matter what steam is set to. (maybe a steam overlay issue? no idea.)


Make sure to close and restart steam before you test!

What does not

The only annoyance is the fact that the q and c keys are now toggle switches rather than just showing the menu while holding the button.

My frame rate was great, even with compiz turned on, and even better with it off. My computer is not that great either.

the only thing I would say is still "broken" is some fonts (like in the console and server list) are pretty ugly and hard to read. not entirely sure what causes this. If it's a replacement font used in wine I wonder if we can copy the real font from real windows to make it look better?

What's funny is some of the same issues I had on windows are here too on linux. It took forever to join a server (though still shorter than it does for me on windows) even when I have all the files. I am pretty sure this is not because of wine as it happens in windows too.

Workarounds

What was not tested

-Extended play. Played for about 30 minutes online with no issues at all.
-Addon content.. yet
-models from other games (like hl2 ep2) etc that may behave differently (newer shaders etc)
-hosting my own listen server. (should work fine, everything else has, including online play)

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

Works as good or better than on windows for me, only "issue" is some text looking jagged. No more prop kill crashes or broken q and c menu!

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowUbuntu 10.10 "Maverick" amd64 (+ variants like Kubuntu)Nov 16 20101.3.7Yes Yes Goldan anonymous user 
ShowUbuntu 10.04 "Lucid" i386 (+ variants like Kubuntu)Aug 18 20101.2N/A Yes Goldan anonymous user 
ShowopenSUSE 11.3Jul 28 20101.2Yes Yes Platinuman anonymous user 
ShowUbuntu 9.10 "Karmic" i386 (+ variants like Kubuntu)Apr 23 20101.1.42Yes Yes GoldJirka Furda 
ShowUbuntu 9.10 "Karmic" i386 (+ variants like Kubuntu)Apr 02 20101.1.41Yes Yes Silverwilliam 

Known Bugs

Bug # Description Status Resolution Other apps affected

Show all bugs

HowTo / Notes

How to run Garry's mod

If your garry's mod crashes before submitting a bug or commenting on here, here is what you should try:

This should fix any HUD issues you may have: (You may not be able to see certain effects like fire in the game with this)
In steam right click Garry's mod click Properties click "SET LAUNCH OPTIONS..." Enter this:
-dxlevel 81
to run in windowed mode add: -window -h 864 -w 1152

This will stop the crash when being killed by a moving object:
In winecfg (terminal -> winecfg) click Add application on the Applications tab
Browse to Program Files\Steam\steamapps\(username)\garrysmod
select hl2.exe and click Open
With hl2.exe selected in the list change the windows version to Windows 98 (via the drop down box near the bottom is should be default say "Use global settings")
Hit Apply/OK, then try to launch Garry's mod again


Comments

Comments Disabled

Comments for this application have been disabled because there are no maintainers.
Back