Command Line Arguments

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

General

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.

 

As of 1.20, this also allows you to bypass conflicts detected when launching the game.

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.

?
-configuration Launch the Mod Launcher with a specific configuration if it exists. 1.21
-notitleconfiguration Makes it so the title of the current configuration is not added to the title of the window. 1.21
-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
-disablehack "InternalName" Disable a specific hack with it's InternalName. 1.21
-enabledmod "Name of Mod" Enables the specified mod1 if it's available. ?
-font "FontName" FontSize

Set a custom font for the entire program.

1.21
-fontscale

Set the scale of fonts.

 

This command line argument was accidentally removed in 1.19 and later restored in 1.21.

1.18
-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. ?
-ignorelaunchmodconflicts Makes the Mod Launcher ignore any conflicts between mods detected when launching the game. 1.20
-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
-ignorerequiredsystem Allows hacks that do not support the host operating system to be loaded and enabled. 1.21
-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. ?
-nocheckmodchanges Makes it so the Mod Launcher does not keep track of Meta.ini files changing. 1.21
-nocloselaunchertickbox Disables the "Close Launcher" tickbox" 1.21
-nocommandlinefile Prevents the Mod Launcher from loading command line arguments out of CommandLine.txt. 1.20
-nocurl Prevents the Mod Launcher from using libcurl. 1.17
-nodeleteold Prevents the Mod Launcher from deleting hacks for old versions of the Mod Launcher. Instead it will show an error when trying to load the hack and ignore it. 1.20
-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
-nowatermark

Disables the watermark of the Mod Launcher icon in the Mods list.

1.20
-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
-spoofdotnetcheck This forces the Mod Launcher to show it's message box about downloading .NET 3.5. 1.21
-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

Anti-aliasing Hack

These command line arguments affect whether or not the Anti-aliasing hack will be displayed in the mod's list.

Command Line Argument Description Initial Release
-nomsaa Makes the launcher skip the check for what MSAA modes are supported which disables and hides this hack from the mods list. 1.21
-forcemsaa Makes the launcher show every MSAA mode in the hack's settings regardless of what is supported by your graphics card. 1.21

Lens Flare Hack

These command line arguments only do something when the Lens Flare hack is enabled.

Command Line Argument Description Initial Release
-debugvisibilitytest Makes the hack render the Visibility Test mesh instead of the actual lens flare. 1.19
-deactivatedworldspherelensflares Makes Lens Flares inside deactivated World Spheres get enqueued anyways. 1.20
-noalpharendertarget Makes the hack use a render target that doesn't have an alpha channel. This is noticeable when using -debugscreenshots. 1.19

Modern Computer Support Hack

These command line arguments affect the Modern Computer Support hack which is always enabled.

Command Line Argument Description Initial Release
-allowzerodeltatime Allows the game to exceed 1000 FPS which can cause the delta time to be 0 which can result in the player's position becoming NaN among other issues. 1.21

Screenshots Hack

These command line arguments only do something when the Screenshots hack is enabled.

Command Line Argument Description Initial Release
-debugscreenshots Makes the hack save multiple screenshots of a single frame with various differences. 1.19

Notes

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


Revision #16
Created Thu, Aug 2, 2018 4:18 AM by Loren Goodwin
Updated Sat, Feb 16, 2019 2:26 AM by Loren Goodwin