torch_validate_project
Validates a Torch project pre-build by checking ROM SHA1 hash, parsing config.yml, verifying destination permissions, and testing asset paths to catch errors before packaging.
Instructions
Pre-flight validation for a Torch project: calculates ROM SHA1, parses config.yml, checks hash matches, verifies destination permissions, and validates asset paths.
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_validate_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| srcdir | No | Path to source project directory containing config.yml (defaults to current working directory) | |
| destdir | No | Target output destination directory | |
| rom_path | Yes | Absolute or relative path to the N64 ROM file (.z64, .n64, .v64) | |
| single_yaml | No | Optional single YAML asset file to test path resolution for |