[Tutorial] GModCEFCodecFix - Linux

Akiko

3D Modeler
Staff member
Developer
Step-by-step Guide to setting up GModCEFCodecFix on Linux
Note: Garry's Mod must be closed before following this guide.
If you are already on the [x86-64] branch, skip to step 4!
This is NOT the guide to use for ChromeOS! Use the ChromeOS guide instead.
Other tutorials: Windows | ChromeOS | macOS
Issues? Read the FAQ!

1. Open Steam, then right click Garry's Mod from your Library games list. Select Properties from the menu.

yOCx6KX.png


2. In the properties window, switch to the "Betas" tab, click on the Dropdown menu and select "x86-64 - Chromium + 64-bit Binaries"

vwqryaX.png


3. Now you can close the properties window and wait for the update to download.

4. Navigate to the latest Release on the GModCEFCodecFix Github page.

5. From that page, under Assets, click the appropriate package for your operating system to download the executable.

E9exqNp.png


6. Right click the file you download and open Properties, then find the option to make the file exectuable.

OR

Open a Terminal window and type
Code:
chmod +x
and drag the file onto the Terminal window, then press Enter.

sHMrx5J.png


rnNfuah.png


7. Double click the GModCEFCodecFix file. When the script runs, it will say what it is doing. If the files are not patched yet, the patches will download. Depending on your internet speed, this step can take a moment.

8. When finished, you can launch GMod from the GModCEFCodecFix window by typing "y" and pressing Enter. If you do not wish to run GMod now, type "n" and press Enter.


uRy8Jsd.png


Note: If you are using Nvidia graphics, you may need to set the following launch option for these instructions to work successfully:
Code:
SDL_VIDEODRIVER=x11 %command%
-Thanks Chi!


Congratulations! If you made it this far, you're done. Luckily the executable does pretty much all of the work for us this time.

To avoid the file patches reverting to the files included with GMod, be sure to use the GModCEFCodecFix executable to launch GMod, or launch GMod via your games list. Using most methods of game launching on Steam forces a file validation pass which will revert these patches. You'll have to run the executable again to re-patch the files if you do this.

--------------------------------------------------------------------------------------------------------------------

Visual Install Guide


--------------------------------------------------------------------------------------------------------------------

Visual Install Guide (Proton)

 
Last edited by a moderator:
Back
Top