gc_hardware_register
Register a real GameCube hardware instance to persist its capture device, serial ports, and BBA network settings for later ROM loading and control.
Instructions
Register a real GameCube hardware instance.
A hardware instance represents a physical console that stays connected to
this host. It is permanently remembered (persisted to the server's data
dir) until it is explicitly removed with gc_hardware_remove.
Args:
instance_id: Unique id for the hardware instance (e.g. hw-001).
capture_device: Video4Linux2 device path (default /dev/video0).
Prefer a device reported with can_capture: true by
gc_hardware_devices.
capture: Optional capture options, e.g. {"width": 640, "height": 480, "format": "mjpg", "fps": 30, "flush_frames": 5, "warmup_seconds": 5, "warmup_ttl": 60}. warmup_seconds is how
long a cold capture card is streamed before grabbing a frame
(0 disables).
serial_devices: Up to four serial device paths that will act as the
GameCube controller ports (0-3). Controller driving is not yet
implemented, but the devices are remembered.
bba_ip: The console's own BBA IP (e.g. 192.0.2.10), used by
gc_rom_load to reach the Swiss netboot listener.
bba_port: The netboot listener port (default 4242).
info: Free-form description/annotation shown in list and status output.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instance_id": "<instance_id>"
},
"name": "gc_hardware_register"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| info | No | ||
| bba_ip | No | ||
| capture | No | ||
| bba_port | No | ||
| instance_id | Yes | ||
| capture_device | No | ||
| serial_devices | No |