GModPatchTool does what Facepunch don't!
Automatically patches Garry's Mod's internal Chromium Embedded Framework to:
- Bring CEF up to date
- Fix GMod missing menu/launch issues on macOS and Linux
- Enable Proprietary Video/Audio codec, like H.264 (MP4) and AAC, support
- Enable Widevine support (but no VMP, so Netflix et al. don't work currently...)
- Enable Software WebGL
- Enable partial GPU acceleration
Created by Solstice Game Studios (www.solsticegamestudios.com)
Download the Latest Release and run the application.
Need a more in-depth guide? Take a look at https://www.solsticegamestudios.com/fixmedia/
Direct players to follow the Players' instructions above. This patch is CLIENTSIDE only!
To Detect Patched CEF: Check out our Lua detection example.
Warning
Our CEF builds have Site Isolation enabled, which means you must pay attention to where you're calling JavaScript-related DHTML functions!
If you call DHTML.AddFunction, DHTML.QueueJavascript, or DHTML.RunJavascript before the page begins loading, it WILL NOT WORK! Make sure you're calling them in DHTML.OnBeginLoadingDocument or later.
Site Isolation destroys JavaScript state is on navigation like how real web browsers work.
This tool includes a patch for mainmenu.lua that addresses GMod's own issues not using the correct approach, but this is a breaking change for any addon that doesn't handle HTML panel states properly for JS.
If you want to go more in-depth: Check out our fork of gmod-html and our CEF build scripts.
- Read the FAQ: https://www.solsticegamestudios.com/fixmedia/faq/
- Discord: https://www.solsticegamestudios.com/discord/
- Email: [email protected]
This project is open source and provided free of charge for the Garry's Mod community.
If you like what we're doing here, consider throwing a few dollars our way! Our work is 100% funded by users of the tool!