Repository navigation
TL;DR The module works on the new 64-bit main branch, GTerm installs both 32 and 64-bit modules and keeps them up to date, and installation can be customised.
64-bit on the main branch
Garry's Mod now ships 64-bit on the main branch, but its tier0 only exports the old spew API, not the logging system the x86-64 beta had. The previous module imported the logging functions directly and failed to load.
The module now resolves both from tier0 at runtime: it uses the logging system when present and falls back to spew otherwise, on every platform and architecture.
Module installation
- Both the 32 and 64-bit modules are installed regardless of branch, since either can be launched. macOS only gets
osx64. - An installed module that differs from the published one is replaced. If Garry's Mod has it loaded, the new one takes effect on the next restart.
- When Garry's Mod is not running, GTerm prefers the 64-bit executable.
Install flags
Launch arguments, or the same keys in Config.json (thanks @JustMrPhoenix):
--skipgamefiles: do not modify the game's Lua files torequire("gterm")--skipmodule: do not drop the module binary intogarrysmod/lua/bin--skipmoduleupdate: keep an existing module binary instead of replacing it--realm cl|sv: name the module for the client (gmcl_gterm_*.dll) or server (gmsv_gterm_*.dll, default) realm