Command Line Arguments

This is a table of the various command line arguments that the Mod Launcher supports.

Command Line Argument Description Initial Release
-allowedmod "Name of Mod" Specify a mod name1 that will bypass -ignoreenabledmods respecting whether or not the user had it enabled. ?
-allowignoremodconflicts Allows you to ignore mod conflicts when enabling mods. 1.18
-allowpartialload Makes the cancel button on the loading window cancel loading halfway through keeping anything that was already loaded instead of closing the Mod Launcher. 1.18
-apiurl "DonutTeamURL"

Specify a custom Donut Team URL to use for Donut Team Account Integration.

 

Must be on donutteam.com, a subdomain of donutteam.com or localhost.

 

Example: https://api.donutteam.com/

1.18
-compile "Name of Mod"

Specify a mod name1 to compile.

 

If the mod does not define an OutputPath in the[Compile] section of its Meta.ini, you must also use -outputpath.

?
-outputpath

Specify a folder to build the mod(s) to when using -compile.

 

The LMLM file(s) will be named after mod(s) folder.

?
-crashes "C:\Path\Here" Makes the Mod Launcher save crash dumps at the specified path instead of in your Documents folder. ?
-debuglaunch Makes the Mod Launcher show a detailed message containing information about how it's going to launch the game when clicking Launch. 1.18.3
-debugloadhacks Enables additional console logging from Hack Support when loading hacks. 1.19
-loadhackspause Pauses the console after all hacks finish loading. 1.19
-debugscreenshots Makes the Screenshots hack save multiple screenshots of a single frame with various differences. 1.19
-debugvisibilitytest Makes the Lens Flare hack render the Visibility Test mesh instead of the actual lens flare. 1.19
-enabledmod "Name of Mod" Enables the specified mod1 if it's available. ?
-fullrowselect

Makes the mods list have full row select. This causes various usability issues.

1.18.1
-hack "C:\Path\Here" Gives the Mod Launcher access to the hack at the specified path. ?
-hacks "C:\Path\Here" Gives the Mod Launcher access to the hacks in the specified path. ?
-ignoreenabledmods Makes the Mod Launcher ignore any mods or mod hacks the user has enabled, only respecting those enabled with -enabledmodor those that bypass this with -allowedmod. ?
-ignorehacks Makes the Mod Launcher ignore any hacks, only acknowledging those added with -hack or -hacks. ?
-ignoremods Makes the Mod Launcher ignore any mods, only acknowledging those added with -mod or -mods. ?
-ignorerequiredlauncher Makes the Mod Launcher ignore the RequiredLauncher property on mods and hacks. 1.18
-launch Launches the game with the Mod Launcher with any mods you last had enabled (unless other arguments disable them). 1.10
-wait Makes the Mod Launcher stay running in the background when using -launch until the game exits. ?
-launchersettings Launches the Mod Launcher directly into Launcher Settings. 1.18
-loadonmainthread

Makes the Mod Launcher load mods and hacks on the main thread instead of a background thread.

 

This was the default behaviour prior to 1.18.

1.18
-mod "C:\Path\Here" Gives the Mod Launcher access to the mod at the specified path. ?
-mods "C:\Path\Here" Gives the Mod Launcher access to the mods at the specified path. ?
-noalpharendertarget

Makes the Lens Flare hack use a render target that doesn't have an alpha channel. This is noticable when using -debugscreenshots.

1.19
-nocurl Prevents the Mod Launcher from using libcurl. 1.17
-noload Prevents the Mod Launcher from loading any mods or hacks on startup. This does not prevent them from being loaded with the Reload button. 1.18
-noloadhide Makes it so the main window of the Mod Launcher is not hidden while the loading window is visible. 1.18
-noloadingwindowlock Makes it so the loading window is not locked to the main window when using -noloadhide. 1.18
-noloadprogress

Makes the Mod Launcher silently load mods and hacks in the background instead of showing the loading window.

 

This was the default behaviour prior to 1.17.

1.18
-nomodslabel Hides the mods label on the non-Pages view. 1.18.1
-nonmodmods Adds a "Non-mods" category to the "General" tab that lets you enable non-mod hacks (such as CustomFiles) as though they are normal mods. 1.18
-noscanmodfiles

Makes the Mod Launcher skip scanning mod files when loading mods. This drastically reduces the loading time of the mod launcher however modified dates and conflict checking between files in the CustomFiles folders of non-compiled mods will break. The size of any such mods will also be unavailable in the Advanced tab of the mod's information. The "Show Newest File" option in the right click menu of the mod in the mods list will also not work properly.

1.17
-nossl Prevents the Mod Launcher from using SSL (HTTPS). 1.17
-notls12 Prevents the Mod Launcher from using TLS 1.2. 1.17
-scanallmodfiles

Makes the Mod Launcher scan all mod files regardless of whether or not they will compile in. This will cause the mod's modified date to potentially appear differently as well as causing its size to appear larger than it would otherwise. The "Show Newest File" option in the right click menu of the mod in the mods list may also show a different file than it would otherwise.

 

This was the default behaviour prior to 1.18.

1.18
-settings "Name of Mod" Launches the Mod Launcher directly into the settings of the specified mod1. ?
-slowload Makes the Mod Launcher wait 100ms between each mod or hack that's loaded. 1.18
-suspend Makes the Mod Launcher suspend the game before its code starts so you can attach a debugger. 1.18.2
-testing

Enables some internal testing features of the Mod Launcher such as more strict assert messages.

 

Makes the CustomFiles Lua Function IsTestingadded in 1.19 return true.

1.18.2
-useragent

Specify a custom user agent for the Mod Launcher.

 

Example:LucasSimpsonsHitAndRunModLauncher/1.19 (Windows NT 6.1; WOW64)

1.18.2

1 "Name of Mod" refers to the name of a mod's folder or LMLM file, not its InternalName.


Revision #13
Created 2 months ago by Loren Goodwin
Updated 2 weeks ago by Loren Goodwin