Access to the source engine stringtables.
require("stringtable")
PrintTable(GetAllStringTables())
local tbl = StringTable("client_lua_files")
PrintTable(tbl:GetTable())
- Get premake add it to your
PATH
- Get garrysmod_common (with
git clone https://github.com/danielga/garrysmod_common --recursive --branch=x86-64-support-sourcesdk
) and set an env var calledGARRYSMOD_COMMON
to the path of the local repo - Run
premake5 gmake
in your local copy of this repo - Navigate to the makefile directory (
cd /projects/linux/gmake
orcd /projects/macosx/gmake
) - Run
make config=releasewithsymbols_x86_64
- Get premake add it to your
PATH
- Get garrysmod_common (with
git clone https://github.com/danielga/garrysmod_common --recursive --branch=x86-64-support-sourcesdk
) and set an env var calledGARRYSMOD_COMMON
to the path of the local repo - Run
premake5 vs2019
in your local copy of this repo - Navigate to the project directory
cd /projects/windows/vs2019
- Open the .sln in Visual Studio 2019+
- Select Release, and either x64 or x86
- Build
- Get premake add it to your
PATH
- Get garrysmod_common (with
git clone https://github.com/danielga/garrysmod_common --recursive
) and set an env var calledGARRYSMOD_COMMON
to the path of the local repo - Edit premake5.lua and change
PROJECT_GENERATOR_VERSION
to2
- Run
premake5 gmake
in your local copy of this repo - Navigate to the makefile directory (
cd /projects/linux/gmake
orcd /projects/macosx/gmake
) - Run
make
- Get premake add it to your
PATH
- Get garrysmod_common (with
git clone https://github.com/danielga/garrysmod_common --recursive
) and set an env var calledGARRYSMOD_COMMON
to the path of the local repo - Run
premake5 vs2019
in your local copy of this repo - Edit premake5.lua and change
PROJECT_GENERATOR_VERSION
to2
- Navigate to the project directory
cd /projects/windows/vs2019
- Open the .sln in Visual Studio 2019+
- Select Release, and either x64 or x86
- Build