Skip to content

CLI Args

KANAjetzt edited this page Feb 27, 2023 · 8 revisions

ModLoader supports the following command line arguments:

Arg Info
--mods-path Override the path to the mod ZIPs dir. Default path is res://mods
--configs-path Override the path to the config JSONs dir. Default path is res://configs
--log-dev Enable developer logging. This is more verbose and can be used with the func dev_log.

Command line arguments related to the ModLoader setup:

Arg Info
--script addons/mod_loader/mod_loader_setup.gd Use this startup flag to enable the self setup.
--only-setup Allows to setup the mod loader without user notification, or auto restart.
--setup-create-override-cfg Forces the setup to create the override.cfg in the game base directory. Skips the project.binary injection.

You can use these in the Godot editor via Project > Project Settings > Display > Editor > Main Run Args

Clone this wiki locally