saul / CS2SchemaGen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CS2SchemaGen

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.

Getting Started

These instructions will help you set up the project on your local machine for development and testing purposes.

Prerequisites

  • Visual Studio 2019 or newer
  • premake5

Clone the repository

To clone the repository with submodules, run the following command:

git clone --recurse-submodules https://github.com/saul/cs2schemagen.git

Building the project

  1. Open a command prompt or terminal in the project's root directory.
  2. Run the following command to generate the Visual Studio solution:
    premake5 vs2019
  3. Open the generated source2gen.sln file in Visual Studio.
  4. Build the solution in the desired configuration (Debug, Release, or Dist).

Credits

This project is based upon neverlossec/source2gen, which is the joint effort of various individuals/projects. Special thanks to the following:

This project also utilizes the following open-source libraries:

  • Premake - Build configuration tool

About

License:MIT License


Languages

Language:C++ 98.4%Language:Lua 1.6%