Skip to content

πŸ›  Automatic Patching/Updating of GMod CEF. Also fixes macOS/Linux launch issues. And missing main menu issues.

License

Notifications You must be signed in to change notification settings

solsticegamestudios/GModCEFCodecFix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GModPatchTool / GModCEFCodecFix

GModPatchTool

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)

❓ Players: How to use

Download the Latest Release and run the application.

Need a more in-depth guide? Take a look at https://www.solsticegamestudios.com/fixmedia/

πŸ‘©β€πŸ’» Developers: How to use

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.

πŸ“’ Need Help / Contact Us

πŸ’– Help Support Us

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!

About

πŸ›  Automatic Patching/Updating of GMod CEF. Also fixes macOS/Linux launch issues. And missing main menu issues.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published