Skip to main content

Command Line

The SDL command-line application is eden-cli (the CMake target is yuzu-cmd). Use it to load a game from a path:

eden-cli [options] <filename>

Options are:

FlagArgumentDescription
-c, --config<path>Load the specified configuration file.
-f, --fullscreen—Start in fullscreen mode.
-g, --game<path>Specify the game file to load.
-h, --help—Display help and exit.
-m, --multiplayer<nick>[:password]@<address>[:port]Connect to a multiplayer room with the given nickname, optional password, address, and port.
-p, --program[arguments]Pass the following string as arguments to the executable.
-u, --user<index-or-name>Select a user profile by index or username.
-v, --version—Output version information and exit.
-d, --debug[port]Enable the GDB stub. An optional port can be supplied; otherwise the configured port is used.
-i, --input-profile<name>Use the named input profile for player 0.
-n, --null-render—Force the Null renderer backend.
-s, --singlecore—Force single-core emulation.
-x, --filter<filter>Set the debug log filter, overriding the configured filter.
--mcp—Start the built-in MCP server.
--mcp-port<port>Set the MCP server port; implies --mcp. The default port is 6544.
--mcp-allow-writes—Allow MCP clients to send input and write memory.
--pack-nup<dump> [output.nup]Pack a loose dump and its updates and DLC into a NUP file, then exit.
--unpack-nup<file.nup> [output-directory]Extract a NUP file into a loose dump, then exit.
--edit-nup<file.nup>Rewrite default-language NUP metadata in place. Use the metadata options below.
--nup-name<name>Set the NUP name when used with --edit-nup.
--nup-icon<path>Set the NUP icon when used with --edit-nup.
--nup-version<version>Set the NUP version when used with --edit-nup.
--nup-publisher<name>Set the NUP publisher when used with --edit-nup.
--clear-nup-name—Clear the NUP name when used with --edit-nup.
--clear-nup-icon—Clear the NUP icon when used with --edit-nup.
--clear-nup-version—Clear the NUP version when used with --edit-nup.
--clear-nup-publisher—Clear the NUP publisher when used with --edit-nup.
Debug mode

--debug enables the GDB stub. Use it only when you intend to connect a debugger.

Unsafe MCP writes

--mcp-allow-writes lets MCP clients send input and write emulated memory. Only enable it when you trust the connected client.

The -qlaunch, -hlaunch, and -setup launch switches are Qt frontend shortcuts; they are not options for eden-cli.