diff options
author | 2025-04-04 01:02:07 +0100 | |
---|---|---|
committer | 2025-04-06 20:59:36 +0100 | |
commit | b36e90b5500e3d3baa3d02d1859d39c09a728689 (patch) | |
tree | 6133f0cf55b3103c2d6ea045b99c151c87011f34 /gamedata | |
parent | cb474d0e3bacd0de13c06c2e4ab107302351abdc (diff) | |
download | sst-b36e90b5500e3d3baa3d02d1859d39c09a728689.tar.gz sst-b36e90b5500e3d3baa3d02d1859d39c09a728689.zip |
Fix broken behaviour in the L4D2 addon system
This should greatly improve the experience of running newest/TLS as well
as custom campaigns.
The bugginess in question is quite a lot to explain so there's some
rather substantial exposition via code comments. The actual fixes are
comparatively simple, although still a little subtle to get exactly
right and took a few iterations to nail down the edge cases.
Thanks to bill for helping me with the RE & assistance on writing the
hooks/code and so on. I tracked down a lot of this myself, but the end
result wouldn't have been possible without his help.
Committers' note: I ended up wrangling this change a fair bit, as I am
apparently just always wont to do, and also fixed a bug in the process,
hence adding my copyright notice as well. Nonetheless, big thanks to
aciidz (and bill) for doing the bulk of the *actual* hard work of
figuring out how to do any of this! The actual code changes I made to
the original submitted patch were relatively minor; a lot of my effort
honestly went into attempting to shorten the massive wall of comment
text. At the end of the day, there's still a really long comment, but
it's just a lot to explain really so it is what it is. I hope it's at
least somewhat understandable to a reader, anyway.
Diffstat (limited to 'gamedata')
-rw-r--r-- | gamedata/engine.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gamedata/engine.txt b/gamedata/engine.txt index 4be0c96..9c37f6d 100644 --- a/gamedata/engine.txt +++ b/gamedata/engine.txt @@ -58,6 +58,8 @@ vtidx_GetEngineBuildNumber #Portal1_5135 102 #L4D1_1005 99 #L4D1_Steam 97 +vtidx_ManageAddonsForActiveSession + L4D2_2147plus 179 # IGameUIFuncs vtidx_GetDesktopResolution 5 |