Skip to content
UnShame edited this page Jul 22, 2018 · 14 revisions
vmb <command> [command-specific params] [-f <mods_folder>] [-g {1|2}] 
                                        [--cfg <path_to_item_cfg>]
                                        [--rc <config_folder>] [--reset] 
                                        [--use-fallback] [--cwd] [--debug]

Parameters

-f <mods_folder> or --folder <mods_folder> - temporarily sets current mods folder. This path can be relative or absolute. If the path isn't absolute, it will be relative to the current working directory. The path must already exist. To use current working directory put . as the path.
-g {1|2} or --game {1|2} - temporarily sets for which game mods should be created, built and uploaded.
--cfg <path_to_item_cfg> - path to .cfg file that stores information about a mod. Can be relative or absolute. If not set to absolute, it will be relative to each mod's directory. However, the specified file should be in the root directory of its mod, otherwise it will not be possible to upload the mod. See relative paths clarification. Defaults to itemV1.cfg and itemV2.cfg depending on selected game.
--rc <config_folder> - folder with .vmbrc. Can be relative or absolute. If not set to absolute, it will be relative to the current working directory. By default, it is the directory with vmb.exe. The path must already exist. To use current working directory put . as the path. If the file doesn't exist in the folder, a default config will be created.
--reset - resets .vmbrc before executing the command.
--use-fallback - uses fallback paths instead of looking them up in the registry. Can speed up building/uploading. You can also permanently set this in .vmbrc.
--cwd - forces all paths which are relative to the executable's directory to be relative to the current working directory instead. See relative paths clarification.
--debug - prints stack trace with errors/warnings.

Clone this wiki locally