bmde
BMDE CLI
Usage
bmde [OPTIONS] COMMAND [ARGS]...
Arguments
No arguments available
Options
| Name | Description | Required | Default |
|---|---|---|---|
-c, --config |
Execution-specific config file (beats the other files and the BMDE_* environment variables) | 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 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 | - |
-V, --version |
Show the version of bmde and exit | 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 |
Debugs an NDS ROM: runs it in desmume in... |
check |
Check availability of backends for all... |
config |
Interactively configure bmde or one of its... |
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 |
Path to a directory. If omitted, the current directory is used. | No | - |
-b, --backend |
Backend to execute command: host | docker | flatpak |
-B, --background |
Run background | No | - |
--interactive / --no-interactive |
Run in interactive mode (allocates TTY) | No | interactive |
--entrypoint |
Override backend entrypoint executable | No | - |
--dry-run |
Simulate actions without executing | No | - |
--icon |
32x32 BMP with a palette used as icon of the built .nds instead of the default one of libnds (optional) | 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 |
Path to a directory. If omitted, the current directory is used. | No | - |
-b, --backend |
Backend to execute command: host | docker | flatpak |
--entrypoint |
Override backend entrypoint executable | No | - |
--dry-run |
Simulate actions without executing | No | - |
--interactive / --no-interactive |
Run in interactive mode (allocates TTY) | No | interactive |
--ssh-user |
User name for the SSH authentication of git | No | - |
--ssh-password |
User password for the SSH authentication of git | No | - |
--ssh-server |
Hostname of the ssh server | No | - |
--git-name, --git-password |
User name for git commit signature | No | - |
--git-email |
User email for git commit signature | No | - |
--vpn-user |
User name for forticlient authentication | No | - |
--vpn-password |
User password for forticlient authentication | No | - |
--vpn-gateway |
VPN gateway for forticlient | No | - |
--vpn-port |
VPN port for forticlient | No | - |
--vpn-realm |
VPN realm for forticlient | No | - |
--vpn-cert |
VPN cert for forticlient | No | - |
--vpn-test-dns |
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 |
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 | - |
--vpn / --no-vpn |
Run git through the VPN of the URV (not needed inside its network) | No | - |
--skip-keyscan |
Don't trust the key of the git server first, which needs to reach it: only for the git commands that don't reach it (e.g. a checkout), which then run offline too, e.g. with --no-vpn outside the URV (docker backend) | 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 |
Path to a directory. If omitted, the current directory is used. | No | - |
-b, --backend |
Backend to execute command: host | docker | flatpak |
-B, --background |
Run background | No | - |
--interactive / --no-interactive |
Run in interactive mode (allocates TTY) | No | interactive |
--entrypoint |
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 |
Path to the .nds binary (optional). If omitted, searches the current directory. | No | - |
-d, --directory |
Path to a directory. If omitted, the current directory is used. | No | - |
-p, --port |
Debug port (implies --debug) | No | - |
-b, --backend |
Backend to execute command: host | docker | flatpak |
-B, --background |
Run background | No | - |
--interactive / --no-interactive |
Run in interactive mode (allocates TTY) | No | interactive |
--debug |
Enable GDB stub if supported | No | - |
-N, --docker-network, --network |
Name of the Docker network to use when using the "docker" environment | No | - |
--dry-run |
Simulate actions without executing | No | - |
--entrypoint |
Override backend entrypoint executable | No | - |
-i, --image |
Path to FAT image (optional) | No | - |
-s, --screen |
Method to show the screen when using the "docker" environment | No | - |
--sound / --no-sound |
Play the emulator sound on the host (docker: shares the host PulseAudio/PipeWire socket) | No | - |
--controls |
Path to a DeSmuME desmume.ini with custom controls (and HUD options) (optional) | No | - |
--help |
Show this message and exit. | No | - |
bmde debug
Debugs an NDS ROM: runs it in desmume in debug mode, and a debugger (Insight by default) connected to it.
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 |
Path to the .nds binary (optional). If omitted, searches the current directory. | No | - |
-e, --elf |
Path to the .elf binary. If omitted, searches the current directory for an elf. | No | - |
-g, --debugger |
Debugger connected to the emulator | No | - |
-s, --screen |
Method to show the screen when using the "docker" environment | No | - |
-b, --backend |
Backend to execute command: host | docker | flatpak |
-B, --background |
Run background | No | - |
--entrypoint |
Override backend entrypoint executable | No | - |
-p, --port |
Debug port (implies --debug) | 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 | - |
bmde config
Interactively configure bmde or one of its commands, showing the current values as defaults.
Usage
bmde config [OPTIONS][section]
Arguments
| Name | Description | Required |
|---|---|---|
section |
Command (e.g. run, git) or section (e.g. git.vpn) to configure. If omitted, all of them. | No |
Options
| Name | Description | Required | Default |
|---|---|---|---|
-f, --file |
bmde.toml file to write. If omitted, asks whether to use the repository or the user config. | No | - |
-a, --advanced |
Also ask for the advanced options (entrypoint, arguments...) | No | - |
--show-sources |
Instead of configuring, list the configuration files and variables that were read and which of them supplied each value | No | - |
--help |
Show this message and exit. | No | - |