Nicholas Hastings ecb707e38d Add support for other engine binaries in game configs (#1414). (#1626)
* Add support for other engine binaries in game configs (#1414).

* Add engine bin path for CRC bin lookup and filter out addons from GAMEBIN.

* MAX_PATH -> PLATFORM_MAX_PATH.

* Fix library lookup on Linux.

Before this, there was a bad assumption that, like on Windows, POSIX module
handle pointers were within the module's address space (and thus usable
with dladdr). That's not true!

Instead, to get a usable address on all platforms, we'll do a lookup of the
CreateInterface function that exists in all modules. This also has the
(arguable) benefit of further locking this implementation to modules owned
by the game.

To get a valid address inside the module now on both p
2022-12-28 22:58:30 +00:00
2021-07-17 11:32:02 +01:00
2019-09-30 22:43:18 -07:00
2022-07-09 18:32:51 -07:00
2020-08-18 23:09:43 -07:00
2021-09-22 12:36:44 -07:00
2011-04-13 19:05:41 -05:00
2021-11-11 23:41:42 -08:00
2022-07-02 17:02:08 -07:00
2022-12-02 08:50:18 +00:00

SourceMod

General

Development

Contact

  • Connect with us on GameSurge IRC in #sourcemod
  • Alternatively feel free to join our Discord server

License

SourceMod is licensed under the GNU General Public License version 3. Special exceptions are outlined in the LICENSE.txt file inside of the licenses folder.

S
Description
No description provided
Readme
45 MiB
Languages
C 59.7%
C++ 18%
HTML 4.8%
Roff 3.8%
SourcePawn 3.4%
Other 10%