The launcher reads an optionalDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/retired64/sm64coopdx_launcher/llms.txt
Use this file to discover all available pages before exploring further.
launcher.toml file to let you point it at your SM64 Coop DX binary and ROM without setting environment variables or passing CLI flags every time. Every field in this file is optional — if you leave it empty, or skip the file entirely, the launcher falls through its auto-detection chain and still works as long as your game is installed in a recognisable location.
File location
~/.config maps to $XDG_CONFIG_HOME. The launcher creates the sm64coopdx/ subdirectory automatically on first run; you only need to create launcher.toml itself.
Annotated example
The file must be valid TOML. Both fields live under the
[game] table header. Indentation is optional in TOML, but the section header is required.Field reference
[game].path
| Type | String (absolute path) |
| Required | No |
| Default | Auto-detected (see Path Resolution) |
sm64coopdx binary. When present, the launcher validates that the file exists before using it; if it does not exist the launcher logs a warning and falls through to auto-detection.
[game].rom_path
| Type | String (absolute path) |
| Required | No |
| Default | Scanned from common locations |
.z64 ROM file. The launcher verifies the file’s MD5 checksum (20b854b239203baf6c961b850a4a51a2) before accepting it. If the path is set but the file is missing or has a wrong checksum, the launcher warns and continues scanning other locations.
rom_path is also consulted) is:
- Game binary directory
- Launcher data directory (
~/.local/share/sm64coopdx/) [game].rom_pathfromlauncher.toml~/sm64coopdx_Linux-*/glob in your home directory
Priority in the resolution chain
launcher.toml is tier 4 out of 5 in the game-path priority chain. Higher-priority sources are checked first and, if valid, launcher.toml is never read for that field.
| Priority | Source |
|---|---|
| 1 (highest) | --game-path CLI flag |
| 2 | SM64COOPDX_PATH environment variable |
| 3 | Per-profile game_path in profile.json |
| 4 | launcher.toml → [game].path |
| 5 (lowest) | Auto-detection |
Alternative configuration methods
- Environment variable
- CLI flag
- Per-profile override
Set Add the
SM64COOPDX_PATH before launching. This is tier 2 — it beats launcher.toml but loses to --game-path.export line to your ~/.bashrc or ~/.profile to make it permanent.Creating the file
launcher.toml on every launch, so changes take effect immediately without a restart.