Coder Social home page Coder Social logo

source2gen's Introduction

Source2Gen

Source2Gen is a tool to generate Source 2 SDKs.
This project aims to provide an easy way to generate SDKs for various Source 2 games.
An example of such SDKs could be found at source2sdk.


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/neverlosecc/source2gen.git

Update the Game Definition

Before building the project in Visual Studio, you will need to update the game define in the file include\sdk\interfaces\schemasystem\schema.h. The current definition is CSGO2, which corresponds to the game that this project is used for.
Possible options are: CSGO2, SBOX, ARTIFACT2, ARTIFACT1, DOTA2, UNDERLORDS, DESKJOB.
You can leave it as it is if you would use this project with the CS2 game.

Building the project

  • 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).

Credits

This project is made possible by the contributions of various individuals and projects. Special thanks to the following:

This project also utilizes the following open-source libraries:

  • Premake - Build configuration tool

If you've contributed to the project and would like to be listed here, please submit a pull request with your information added to the credits.

source2gen's People

Contributors

es3n1n avatar anarh1st47 avatar soufiw avatar cpz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.