adventuregamestudio / ags

AGS editor and engine source code
Other
708 stars 159 forks source link

Implement `--no-plugins` command arg and config setting #2402

Closed ivan-mogilko closed 7 months ago

ivan-mogilko commented 7 months ago

Add --no-plugins command line argument, and related config setting, which tells to not load plugins from dynamic libraries. Built-in plugins and stubs are still going to be used in this case (if they are available).

This may be used to either force engine to use built-in plugins, or as a safety measure to run engine without loading any extra binary.

ericoporto commented 7 months ago

I fixed locally the Debug::Printf issue and then run and apparently it works, using --no-plugins correctly disables the plugins and removing loads them without a problem.

ericoporto commented 7 months ago

This looks good now!