roflmuffin / CounterStrikeSharp

CounterStrikeSharp allows you to write server plugins in C# for Counter-Strike 2/Source2/CS2
https://docs.cssharp.dev
Other
756 stars 113 forks source link

Allow engine signatures in gamedata #360

Open iekaslo opened 6 months ago

iekaslo commented 6 months ago

Hello. Signatures that are requested from the engine library cannot be found and used without explicitly specifying binaryPath where the absolute path to the libengine2 library will be written.

"signatures": {
      "library": "engine",
          "linux": "\\x55\\x22..."
          "windows": "\\x55\\x22..."
}
KillStr3aK commented 6 months ago

yeah, I've only adjusted the code to allow passing arbitrary binaries to the internal managed functions but did not touched gamedata related parts, should be an easy fix