Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Launch Arguments

Stealth supports command-line arguments to automate startup: load predefined character sets, start scripts, connect to shards — all without manual UI interaction.

All arguments can be used with or without a / prefix. Key-value arguments use = with no spaces around it (e.g. config=miners, not config = miners).

Arguments

chars=<file> (legacy)

Load characters from a text file. This is an older method — using config= is recommended instead, as character sets offer more control (per-character reconnect flags, multiple scripts) and can be managed directly in the Stealth UI. If only a filename is given (no directory), the file is looked up in the Stealth folder.

Each line in the file defines one character with four semicolon-separated fields:

ProfileName; connect; ScriptPath; start
Field Required Description
ProfileName yes Name of an existing profile from Stealth settings
connect no Write connect to auto-connect this character on load. Leave empty to skip
ScriptPath no Path to a script file. Absolute or relative paths are accepted; forward and back slashes are normalized for the current platform. If the file is not found at the given path, Stealth also checks Scripts/ subfolder in the current directory
start no Write start to auto-run the script after connecting. Leave empty to skip

Characters are created one per second in the order listed.

Example file (miners.txt):

Miner1; connect; C:\Scripts\mine.sc; start
Miner2; connect; mine.sc; start
Crafter;;;

config=<name>

Load a saved character set by name. Character sets are created and managed in the Stealth UI (top of the Characters list). The name is matched case-insensitively.

A character set can store multiple characters, each with its own profile, script(s), and connect/start/reconnect flags.


icon=<file>

Override the Stealth tray icon. The file must be in .ico format. If not specified, defaults to Stealth.ico.


starthidden

Start Stealth minimized to the system tray.


ipcnetwlog

Enable logging of IPC network packets exchanged between Stealth and external processes (Atom DLL, Python scripts). Useful for debugging connectivity issues with external scripts or the Atom integration.


Default behavior

If no chars= or config= argument is provided, Stealth creates a single character using the last-used profile.

Examples

Start hidden and load a config:

Stealth.exe /starthidden /config=miners

Load characters from a file:

Stealth.exe /chars=miners.txt

Combine with a custom icon:

Stealth.exe /chars=farmers.txt /icon=farm.ico