The only purpose of this tool is to post-process and clean up TZX files that have been just generated by a tape converter. It will set idealized timings for ZX Spectrum blocks where applicable. It will remove all unnecessary blocks, like comment blocks or (optionally) blocks with a bad CRC.
The result might not be loadable at all, so be careful and keep a backup of the original file.
It is not necessary to use this tool on the output of
tzxwav, as it wouldn't change anything.
tzxcut to manually clean up all kind of TZX files.
tzxcleanup [-h] [-o TARGET] [-c] [file]
file: TZX file to read from, or
stdinif not given.
--to: Target file. If omitted,
--stripcrc: Also remove all data blocks with a bad CRC. They would usually lead to a "tape loading error".
--headermustmatch: Remove all blocks that are not preceeded by a matching header.
--help: Show help message and exit.
tzxcleanup recording.tzx | tzxls -l
Shows the content of a cleaned-up
tzxcleanup -o game.tzx recording.tzx
Cleans up a raw
recording.tzx file and writes it to