NOTE: I've switched to Linux and no longer have the ability to maintain this addon in it's current state, and I do not have any interest in making it work on Linux, so it has been archived.
GChroma is a link between Garry's Mod and Razer Synapse. It allows developers to integrate Chroma support into their addons through Lua. The module is available for Windows 10/11, and supports x86 and x64 architectures.
API documentation
GChroma Lua Base
GChroma Sandbox Module
- Make sure you have Razer Synapse 3 installed and running with the Chroma Connect module installed as well, and obviously make sure you're using a device that's supported by Razer Synapse 3. (Older Synapse versions are unsupported and will likely not work.)
- Download the GChroma base addon.
- Download the latest GChroma binary module. Make sure you download the 32-bit version unless you're using the x86-64 beta branch.
- Move the downloaded binary module to
[Steam directory]/garrysmod/garrysmod/lua/bin
. You might have to create the bin folder since it doesn't exist by default. - Download GChroma-supported addons or start developing your own. Enjoy!
- If you want to contribute by making an issue or pull request, please read the contributing guidelines first.
- The project files for Visual Studio are included. The required header files are linked in this repo as submodules.
Yes, but the server needs the Lua base for it to work on your end. Servers do not need the binary module.
It works on the x86-64 branch. Other branches haven't been tested but they will probably work as well.
Probably, but I can't guarantee individual keys will light up properly since the GChroma API only uses the English key identifiers.
- RAZER is the trademark or registered trademark of Razer Inc. GChroma is not affiliated in any way with Razer.