Documentation Index
Fetch the complete documentation index at: https://mintlify.com/legendary-gl/legendary/llms.txt
Use this file to discover all available pages before exploring further.
legendary egl-sync bridges the gap between Legendary and the Epic Games Launcher (EGL) when both are installed on the same machine. It reads and writes EGL’s manifest folder so that games installed by either client are visible and manageable by the other, eliminating the need to reinstall games you already have on disk. On Linux and macOS you point it at the WINE prefix where EGL lives; on Windows the path is detected automatically. Running it with no flags launches an interactive setup wizard.
Usage
Options
| Flag | Description |
|---|---|
--egl-manifest-path <path> | Explicit path to EGL’s Manifests folder. Should point to .../ProgramData/Epic/EpicGamesLauncher/Data/Manifests. |
--egl-wine-prefix <path> | Path to the WINE prefix where EGL is installed. Legendary will locate the Manifests folder automatically within this prefix. |
--enable-sync | Enable automatic bidirectional sync so every future legendary invocation syncs with EGL without requiring a manual egl-sync call. |
--disable-sync | Disable automatic sync and exit immediately (does not unlink games). |
--one-shot | Perform a single sync operation without prompting to enable automatic sync. |
--import-only | Only import games from EGL into Legendary; skip the export step. |
--export-only | Only export games from Legendary to EGL; skip the import step. |
--migrate | Import all EGL games into Legendary and then remove them from EGL (implies --import-only, --one-shot, and --unlink). |
--unlink | Disable sync and strip all EGL metadata (GUIDs) from Legendary’s installed-games database. Games remain installed and playable through both clients. |
Examples
Interactive first-time setup (recommended for new users):How Sync Works
When sync is enabled, Legendary maintains a GUID linkage between each installed game in its own database and the corresponding manifest entry in EGL’sManifests folder. On each sync operation it:
- Reads EGL’s Manifests directory to find games installed by EGL that are not yet known to Legendary (import).
- Writes manifest entries to EGL’s Manifests directory for games installed by Legendary that EGL does not know about (export).
EGL sync is not supported for the macOS-native version of the Epic Games Launcher. It works on Windows natively and on Linux/macOS when EGL is running under WINE.
Configuration
Once sync is enabled, Legendary stores the path to EGL’s Manifests folder in~/.config/legendary/config.ini:
egl_sync = false in the config file or by running legendary egl-sync --disable-sync.