Commit Graph

158 Commits

Author SHA1 Message Date
tschumann
b17dc63de7 Fixed mm_DetermineBackendS1 tests for last few games. 2025-06-29 09:43:36 -04:00
tschumann
985040858e Fix incorrect backend in test. 2025-06-29 09:43:36 -04:00
tschumann
650b6029d5 Adding more games to test_determinebackends.ps1 2025-06-29 09:43:36 -04:00
tschumann
280ca9d826 Fixed Linux build not compiling. 2025-06-29 09:43:36 -04:00
tschumann
99672c2f3f Update test_determinebackends1.ps1 to loop over each game. 2025-06-29 09:43:36 -04:00
tschumann
4e87c6c1be test(loader): Add script to check mm_DetermineBackendS1 on all games. 2025-06-29 09:43:36 -04:00
PeakKS
6091f15217 Fix missing includes and standardize non-system includes to quotes 2025-04-20 11:38:45 -04:00
tschumann
d2e013af04 Fix missing include on Linux. 2025-03-16 12:42:30 -04:00
tschumann
66ad8dc0ed Update mm_DetermineBackendS1 test. 2025-03-16 12:42:30 -04:00
tschumann
3ee9ee0611 Fix -ldl linker flag. 2025-03-16 12:42:30 -04:00
tschumann
f4cb43c9e2 Attempt at fixing undefined references to dlerror, dlsym, dlclose and dladdr. 2025-03-16 12:42:30 -04:00
tschumann
e4e48d4913 Add missing header in correct file. 2025-03-16 12:42:30 -04:00
tschumann
266ace3bce Fix header file name for Linux. 2025-03-16 12:42:30 -04:00
tschumann
a20a6e1904 Add missing header for Linux build of loader tests. 2025-03-16 12:42:30 -04:00
tschumann
86e356ae6d Fix Windows functions being used in Linux build. 2025-03-16 12:42:30 -04:00
tschumann
598ef73a8e Fix loader tests not compiling for Linux. 2025-03-16 12:42:30 -04:00
tschumann
7e24188759 Add loader tests. 2025-03-16 12:42:30 -04:00
Nicholas Hastings
dc41559c79 loader: Detect HL1MP and SDK2013(2025) mods as HL2:DM for now 2025-02-23 13:55:58 -05:00
Nicholas Hastings
d6ed4443e8 Add null check in new -game fallback 2025-02-21 08:11:13 -05:00
Nicholas Hastings
376e0ed259 Fix gamedir detection on Deadlock 2025-02-18 20:19:12 -05:00
Nicholas Hastings
4bc5a3a0b7 Fix gameinfo loading on Linux x64 S1 games 2025-02-17 14:38:50 -05:00
Nicholas Hastings
6c5847e393 Tweak game detection for MCV and Blade (fixes #200) 2025-02-16 13:59:13 -05:00
Nicholas Hastings
d87e1547d3 Add preliminary support for Deadlock 2025-02-16 12:22:10 -05:00
GAMMACASE
cd6632653e Fix s2 crash on unload
Replaces ISource2Server::Shutdown hook for ISource2ServerConfig::Disconnect
2025-01-17 00:49:37 +03:00
Nick Hastings
af1f4f4607 Don't attempt to load on Source 2 games if neither -dedicated nor -insecure are present 2023-10-26 13:54:51 -04:00
Nick Hastings
0cfae59544 Echo fatal MM:S errors to console (in addition to existing metamod-fatal.log) 2023-09-29 11:45:17 -04:00
Nick Hastings
2091aa4944 Fix load on Linux when -game launch arg is not present 2023-09-29 11:44:44 -04:00
GAMMACASE
62dd3dd4fa
Fix Source2 linux packaging layout (#120)
* Fix linux packaging layout
* Split binary layouts per sdk
2023-09-28 19:42:30 -07:00
Nick Hastings
6196318f52 Maybe fix Mac build 2023-09-27 20:11:21 -04:00
Nick Hastings
458090eec6 Fix Mac build 2023-09-27 20:07:35 -04:00
Nick Hastings
ee9243c82f Replace hardcoded "ServerGameDLL" part of iface name in meta game output 2023-05-21 15:27:46 -04:00
Nick Hastings
bf62e8e59c Remove now-unused check for "-dedicated" 2023-05-21 12:24:54 -04:00
Nick Hastings
e1a81e3c06 Improve CS2 support and S2 game detection 2023-05-21 12:07:05 -04:00
Nick Hastings
b19e5333f1 Remove unmaintained build files. 2023-03-31 23:22:01 -04:00
Nick Hastings
0e35864432 Revert "add support for IServerPluginCallbacks v3 and v4"
This reverts commit 4e5ddf833b.

Fixes #101
2023-02-15 19:41:48 -05:00
old-pigeon
4e5ddf833b add support for IServerPluginCallbacks v3 and v4 2023-02-09 01:58:39 -05:00
Nicholas Hastings
63c5c15a9f
Add support for Military Conflict: Vietnam (#100) 2022-12-20 01:27:03 +00:00
Spirrwell
437feb57bd
Split PVKII into its own engine branch (#97)
* Initial PVKII branch support

* Fix compiler error

* Add missing SE_PVKII check

* Update checkout-deps with 'pvkii'

* Change PVKII code to 10 and bump others by 1, including recommended change in provider_ep2.cpp:135
2022-10-24 16:57:18 +00:00
David Anderson
4f1721e9e4 Add support for hl2sdk-mock.
This also fixes UTIL_Relatize basically being completely bogus. For
backwards compat it's wrapped in a helper though.
2021-09-22 12:05:15 -07:00
David Anderson
acea12f29b Upgrade to AMBuild 2.2. 2020-08-19 14:41:55 -07:00
peace-maker
b267567e50
Fix detection of Blade Symphony on Windows x64 (#67)
* Fix detection of Blade Symphony on Windows x64

Port finding the module base address on x64 builds from SourceMod.
Fix a bunch of truncation warnings on x64 while at it too.

* Fix mm_TrimComments stripping last char before comment

```c
char test[] = "hi this is a a test!// comment";
mm_TrimComments(test);
puts(test); // prints "hi this is a test" without the !
```

* Fix unsigned comparison warnings

* Fix truncation warnings in SourceHook::String

* Fix unsigned comparison warnings

clang does have some nice analysis.
2020-06-25 00:04:36 +00:00
Asher Baker
a919db5694 Fix lin/mac build 2020-03-11 22:40:19 +00:00
Asher Baker
1b449d20b8 Changes required for upcoming Blade Symphony update 2020-03-10 23:54:57 +00:00
Kyle Sanderson
e573602f81
Add additional test coverage to Travis-CI. (#50)
* NPOTB: clang clang clang goes the trolly, gcc7 goes the bell.

* Update AMBuildScript

* Initialize engine_path when abspath fails.

* Fix lptr being uninitialized when getcwd fails.

* Remove GCC6; deeper issues than this PR will cover
2018-07-27 22:03:33 -07:00
Nicholas Hastings
30c6e9107d
Normalize paths when comparing. (fixes #37). (#38)
When resolving bin paths from gameinfo to platform-specific absolute paths, we end
up with ".." instances on x64, causing the paths being compared to look different. MM:S
then cannot differentiate it's server bin path from the game's server bin, causing us to
load ourselves as the server bin over and over again, causing a stack overflow.
2018-01-28 11:49:28 -05:00
Scott Ehlert
79435093d9
64-bit support for CSGO on Linux and macOS (#35) 2017-12-20 01:11:57 -06:00
Nicholas Hastings
1f0124d499
Split Day of Infamy to separate engine build (#36) 2017-11-03 14:52:37 -04:00
Nicholas Hastings
8d1526f188 Fix loading on Source SDK 2013 mods. 2017-06-21 07:40:49 -04:00
Nicholas Hastings
9af2b18a7e Restore the comma to the people. 2017-04-16 16:25:34 -04:00
Nicholas Hastings
558a5bb446 Restore Dark Messiah compat. 2017-04-15 10:23:36 -04:00