1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Tutorial] GMod CEF Codec Fix - macOS

Discussion in 'Help and Support' started by Sophie-bear, Mar 21, 2020.

  1. Sophie-bear

    Sophie-bear 3D Modeler Staff Member Developer

    Joined:
    Dec 29, 2015
    Messages:
    378
    Likes Received:
    239
    Step-by-step Guide to setting up GMod CEF Codec Fix on macOS
    Note: Garry's Mod must be closed before following this guide.
    If you are already on the [x86-64] branch, skip to step 5!
    Other tutorials: Windows | Linux

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

    [​IMG]

    2. In the properties window, switch to the "Betas" tab.

    [​IMG]

    3. From the Betas tab, click on the Dropdown menu and select "x86-64 - Chromium + 64-bit Binaries"

    [​IMG]

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

    5. When the update is finished downloading, go to the Releases tab on GMod CEF Codec Fix Github page.

    6. From that page, under Assets, click the appropriate package for your operating system to download the script. Use the version closest to the top of the page, that's the newest one!

    [​IMG]

    7. Open Terminal from Applications ▸ ⁨Utilities or using Spotlight, then type the command
    Code:
    chmod +x 
    and drag the file you downloaded onto the Terminal window. Press Enter to run the command. This makes the Codec Fix executable. You will notice the icon for the GModCEFCodecFix file change if you've done this correctly.

    [​IMG]

    [​IMG]

    8. Double click the GModCEFCodecFix file in Finder. 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.

    [​IMG]

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

    [​IMG]

    Congratulations! If you made it this far, you're done. Luckily the script 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 script 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 script again to re-patch the files if you do this.
     
  2. Cachumbos

    Cachumbos New Member

    Joined:
    May 11, 2020
    Messages:
    3
    Likes Received:
    2
    Hi, i was trying to follow all the steps but when i open the GModCEFCodecFix file, this happens:

    8d23a89469345d7d5bd615fc19710298.png

    i already tried verifying gmod's integrity and even reinstalling the whole game and doing all the process again, but i still get that error, what can i do?
     
    Sophie-bear likes this.
  3. Sophie-bear

    Sophie-bear 3D Modeler Staff Member Developer

    Joined:
    Dec 29, 2015
    Messages:
    378
    Likes Received:
    239
    Thanks for the info. Because of how GMod on macOS is signed, we have to manually update patches every time GMod is updated itself. This may result in lapses of time where this error will happen if we're not notified in some way of the update. Thank you for bringing this to my attention. I'll see to it that it's fixed ASAP.
     
  4. Cachumbos

    Cachumbos New Member

    Joined:
    May 11, 2020
    Messages:
    3
    Likes Received:
    2
    Oh ok, thanks for answering this quick! i hope you can find a solution soon
     
  5. Sophie-bear

    Sophie-bear 3D Modeler Staff Member Developer

    Joined:
    Dec 29, 2015
    Messages:
    378
    Likes Received:
    239
    Give it a shot now. Should be good to go.
     
  6. Cachumbos

    Cachumbos New Member

    Joined:
    May 11, 2020
    Messages:
    3
    Likes Received:
    2
    It works great now, thanks a bunch!
     
    Sophie-bear likes this.
  7. Sophie-bear

    Sophie-bear 3D Modeler Staff Member Developer

    Joined:
    Dec 29, 2015
    Messages:
    378
    Likes Received:
    239
    We now have an automated system in place to handle future updates to macOS GMod. As it stands, this process checks every 6 hours for an update, so the longest amount of time you'll go without access to GMod CEF Codec Fix is 6 hours. This is also nice because we no longer have to be informed of GMod updates and it'll just generate the new patches automagically.