-
-
Notifications
You must be signed in to change notification settings - Fork 68
Command line arguments
Important
Wiki has been moved to our website over at https://collapselauncher.com This wiki is more likely to not get updated in the favor of the website!
Command line arguments are special instructions that can be passed to Collapse when launching it. They can temporarily change Collapse's behaviour at start-up. Only one argument can be used per launch.
To use a command line argument, you can either:
-
Use a terminal and add it after the executable.
(eg.CollapseLauncher.exe tray
) -
Use Windows' Run window or a web browser to call Collapse's URL Protocol.
(eg.collapse://tray
)
Starts Collapse hidden in the system tray.
CollapseLauncher.exe tray
collapse://tray
Loads a specific game/region when launching Collapse.
-
-g <game name/ID>
or--game <game name/id>
Specifies the game to load.
If invalid, the entire command will be ignored.
-
-r <region name/id>
or--region <region name/id>
Specifies the region to load.
If not specified or invalid, the last opened region for the game will be opened. -
-p
or--play
Launches the game automatically after Collapse opens.
- If the game/region name has spaces, the name must be enclosed by quotes.
- The ID of a game/region corresponds to their position in the Launcher Selector (being the first game/region at position 0). Some examples of IDs are:
|
|
- Load Genshin Impact (last used region)
CollapseLauncher.exe open -g "Genshin Impact"
- Load Honkai: Star Rail (Bilibili region)
collapse://open -g "Honkai: Star Rail" -r Bilibili
- Load and start Honkai Impact 3rd (Southeast Asia region)
CollapseLauncher.exe open -g "Honkai Impact 3rd" -r "Southeast Asia" -p