CS2SchemaGen is a CS2 plugin to generate Source 2 SDKs. When used with CS2, it adds a concommand schema_dump_all
that dumps the Source 2 schemas in JSON form.
These instructions will help you set up the project on your local machine for development and testing purposes.
- Visual Studio 2019 or newer
- premake5
To clone the repository with submodules, run the following command:
git clone --recurse-submodules https://github.com/saul/cs2schemagen.git
- Open a command prompt or terminal in the project's root directory.
- Run the following command to generate the Visual Studio solution:
premake5 vs2019
- Open the generated source2gen.sln file in Visual Studio.
- Build the solution in the desired configuration (Debug, Release, or Dist).
This project is based upon neverlossec/source2gen, which is the joint effort of various individuals/projects. Special thanks to the following:
- es3n1n - source2gen contributor
- cpz - source2gen contributor
- Soufiw - source2gen contributor
- anarh1st47 - source2gen contributor
- praydog - the author of the original Source2Gen project
This project also utilizes the following open-source libraries:
- Premake - Build configuration tool