Most of the contents of this is hacky and using it to learn Python to some extent.
CLI tool to process red-green normal maps and extract the texture alpha channel into its own file.
You can do a --dry-run to have the tool run without making changes.
srm-cli normals --dry-run path/to/dirsrm-cli alpha --dry-run path/to/dir