torch_export_headers
Generate C headers from N64 ROM assets using Torch, with options for OTR-style headers, config directory, output location, and custom torch binary.
Instructions
Generate C headers for assets from an N64 ROM using Torch.
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": {
"rom_path": "<rom_path>"
},
"name": "torch_export_headers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| otr | No | Select OTR/O2R-style headers (--otr flag) | |
| srcdir | No | Directory containing config.yml | |
| destdir | No | Output directory where headers will be generated | |
| rom_path | Yes | Path to the N64 ROM file | |
| timeout_ms | No | Timeout in milliseconds | |
| torch_path | No | Optional custom path to torch binary |