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.
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 |