How are the source2sdk json files generated? #2
-
I am heading up a project that allows you to write C# plugin scripts for CS2, and I am leveraging your json files & sdk gen project to generate C# classes & structs for use with the schema system: https://github.com/roflmuffin/CounterStrikeSharp However there are some fields in the server.hpp/json file for instance that are marked as Is the json file generator that you have modified source available? if so that would be great so I could modify & generate the json files as well. Thanks 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi - yes I plan to release a fork of source2gen soon - it's on the todo list :) Note that CounterStrikeSharp is licensed under GPL, but both source2gen and this project are MIT licensed. I see that you've copied DemoFile.SdkGen under your project without attribution. MIT projects are required to have attribution in substantial copies of the code - see for example the ACKNOWLEDGEMENTS file in this repo. |
Beta Was this translation helpful? Give feedback.
-
The code for CS2SchemaGen lives here: https://github.com/saul/CS2SchemaGen Hope that helps |
Beta Was this translation helpful? Give feedback.
The code for CS2SchemaGen lives here: https://github.com/saul/CS2SchemaGen
Hope that helps