Skip to content

bmde

BMDE CLI

Usage

bmde [OPTIONS] COMMAND [ARGS]...

Arguments

No arguments available

Options

Name Description Required Default
-c, --config PATH Execution-specific config file (highest file priority) No -
-v, --verbose, --debug Verbose output (debug) No -
--t, --trace Very verbose output (trace) No -
-q, --quiet Quiet mode (minimal output) No -
-Q, --Quiet, --no-output Quiet mode (no output) No -
-l, --log-file PATH Path to log file (optional) No -
-s, --show-config Show current configuration options. Can be used to freeze BMDE arguments into a bmde.toml configuration file No -
-d, --show-default-config Show default configuration options. Can be used as template of a bmde.toml configuration file No -
--help Show this message and exit. No -

Commands

Name Description
build devkitARM make wrapper.
git git wrapper with SSH password bypass and...
patch dlditool wrapper.
run
debug desmume wrapper.
check Check availability of backends for all...

Subcommands

bmde build

devkitARM make wrapper. Builds NDS ROM from source code.

Usage

bmde build [OPTIONS][ARGUMENTS]...

Arguments

Name Description Required
[ARGUMENTS]... Arguments that are passed to the backend entrypoint. No

Options

Name Description Required Default
-d, --directory DIRECTORY Path to a directory. If omitted, the current directory is used. No -
-b, --backend [host|docker|flatpak] Backend to execute command: host docker flatpak
-B, --background Run background No -
--interactive Run in interactive mode (allocates TTY) [default: True] No -
--entrypoint PATH Override backend entrypoint executable No -
--dry-run Simulate actions without executing No -
--help Show this message and exit. No -

bmde git

git wrapper with SSH password bypass and VPN management. git is a distributed version control system.

Usage

bmde git [OPTIONS][ARGUMENTS]...

Arguments

Name Description Required
[ARGUMENTS]... Arguments that are passed to the backend entrypoint. No

Options

Name Description Required Default
-d, --directory DIRECTORY Path to a directory. If omitted, the current directory is used. No -
-b, --backend [host|docker|flatpak] Backend to execute command: host docker flatpak
--entrypoint PATH Override backend entrypoint executable No -
--dry-run Simulate actions without executing No -
--interactive Run in interactive mode (allocates TTY) [default: True] No -
--ssh-user TEXT User name for the SSH authentication of git No -
--ssh-password TEXT User password for the SSH authentication of git No -
--ssh-server TEXT Hostname of the ssh server No -
--git-password TEXT User name for git commit signature No -
--git-email TEXT User email for git commit signature No -
--vpn-user TEXT User name for forticlient authentication No -
--vpn-password TEXT User password for forticlient authentication No -
--vpn-gateway TEXT VPN gateway for forticlient No -
--vpn-port INTEGER VPN port for forticlient No -
--vpn-realm TEXT VPN realm for forticlient No -
--vpn-cert TEXT VPN cert for forticlient No -
--vpn-test-dns TEXT DNS direction that will be tested with an HTTP GET request to validate that we can access the internal services granted by the VPN and its implicit DNS resolution No -
--vpn-test-ip TEXT IP direction that will be tested with an HTTP GET request to validate that we can access the internal services granted by the VPN No -
--help Show this message and exit. No -

bmde patch

dlditool wrapper. Patches a NDS ROM for FAT usage.

Usage

bmde patch [OPTIONS][ARGUMENTS]...

Arguments

Name Description Required
[ARGUMENTS]... Arguments that are passed to the backend entrypoint. No

Options

Name Description Required Default
-d, --directory DIRECTORY Path to a directory. If omitted, the current directory is used. No -
-b, --backend [host|docker|flatpak] Backend to execute command: host docker flatpak
-B, --background Run background No -
--interactive Run in interactive mode (allocates TTY) [default: True] No -
--entrypoint PATH Override backend entrypoint executable No -
--dry-run Simulate actions without executing No -
--help Show this message and exit. No -

bmde run

No description available

Usage

bmde run [OPTIONS][ARGUMENTS]...

Arguments

Name Description Required
[ARGUMENTS]... Arguments that are passed to the backend entrypoint. No

Options

Name Description Required Default
-n, --nds FILE Path to the .nds binary (optional). If omitted, searches the current directory. No -
-d, --directory DIRECTORY Path to a directory. If omitted, the current directory is used. No -
-p, --port INTEGER Debug port (implies --debug) [default: 1024] No -
-b, --backend [host|docker|flatpak] Backend to execute command: host docker flatpak
-B, --background Run background No -
--interactive Run in interactive mode (allocates TTY) [default: True] No -
--debug Enable GDB stub if supported No -
-N, --docker-network, --network TEXT Name of the Docker network to use when using the "docker" environment No -
--dry-run Simulate actions without executing No -
--entrypoint PATH Override backend entrypoint executable No -
-i, --image FILE Path to FAT image (optional) No -
-s, --screen [vnc|host|none] Method to show the screen when using the "docker" environment No -
--help Show this message and exit. No -

bmde debug

desmume wrapper. Runs an NDS ROM.

Usage

bmde debug [OPTIONS][ARGUMENTS]...

Arguments

Name Description Required
[ARGUMENTS]... Arguments that are passed to the backend entrypoint. No

Options

Name Description Required Default
-n, --nds FILE Path to the .nds binary (optional). If omitted, searches the current directory. No -
-e, --elf FILE Path to the .elf binary. If omitted, searches the current directory for an elf. No -
-s, --screen [vnc|host|none] Method to show the screen when using the "docker" environment No -
-b, --backend [host|docker|flatpak] Backend to execute command: host docker flatpak
-B, --background Run background No -
--entrypoint PATH Override backend entrypoint executable No -
-p, --port INTEGER Debug port (implies --debug) [default: 1024] No -
--dry-run Simulate actions without executing No -
--help Show this message and exit. No -

bmde check

Check availability of backends for all services.

Usage

bmde check [OPTIONS]

Arguments

No arguments available

Options

Name Description Required Default
--help Show this message and exit. No -