[HL2/Portal] `plugin_load` command no longer works
Game:
- Half-Life 2 (build 9526483, Windows)
- Portal (build 9530103, Windows)
The plugin_load command no longer works after the recent update. The only way to load plugins now is by creating the corresponding .vdf file in the addons folder.
However, this causes issues for many plugins. Since loading via the addons folder happens very early in the game startup process, some game modules have not yet been initialized. Many plugins rely on plugin_load being executed later when the game has fully started.
Happens on Half-Life: Source if anyone is interested.
It also seems to have broken loading from the custom folder, at least it did for me
That being on Portal
It also seems to have broken loading from the custom folder, at least it did for me
I tested on the latest version of Portal (build 9786830) and loading from addons folder via vdf (https://developer.valvesoftware.com/wiki/Server_plugins#.vdf_format) still works. Not quite sure what you mean.
I also tested it on Linux Portal. It's the same. plugin_load is broken, but loading via the addons folder still works. So we can probably remove the Windows label on this issue.
I think plugin_load command callback got replaced with a no-op. Even if you just type plugin_load without any argument, it won't print any error message. It used to print a warning message plugin_load <filename>.
I'm not quite sure if the removal of plugin_load is intentional.
the addons folder is different from the custom folder if I'm right, the Portal: Google Translate Edition uses the custom folder, and it doesn't load in the latest one
It also seems to have broken loading from the custom folder, at least it did for me
I tested on the latest version of Portal (build 9786830) and loading from
addonsfolder via vdf (https://developer.valvesoftware.com/wiki/Server_plugins#.vdf_format) still works. Not quite sure what you mean.