CSW2CDT tool suite
The CSW2CDT tool suite is a set of three programmes whose main purpose is the encoding of computer tapes used in the Sinclair ZX and the Amstrad CPC families during the Golden Age of European videogames (1982-1994), when tapes were the most popular distribution method of commercial software:
The general procedure is divided in several steps:
- CSW0 is a command-line program that reads WAV audio sample files and writes CSW V1 packed samples.
- CSW2CDT is a command-line program that reads CSW1 V1 packed samples and writes CDT/TZX tape images.
- CSW2CDT-UI is a dialog-driven program whose graphical user interface simplifies the usage of the first two tools.
CSW2CDT-UI eases the procedure because its graphical user interface is more comfortable (although less flexible) than the command line: choosing the sample, generating the CSW V1 file, and encoding the CDT/TZX file can be performed by pushing buttons and choosing options. It also allows for the reverse procedure of playing back CDT/TZX images into CSW V1 files and WAV audio files with some few mouse clicks.
- The tape must be sampled as an uncompressed WAV audio file whose quality should be at least 22050 Hz. Mono and 8 bits are preferred over stereo and 16 bits.
- The resulting WAV file must be fed to CSW0, that will measure all the square waves and produce a CSW V1 file. Optional flags can be used to perform band-pass filtering on the signal.
- This CSW V1 file will be handed to CSW2CDT, whose task is to scan the data blocks within and build a CDT/TZX image. Again, optional flags allow for increasingly complex processing of the contents.
- The CDT/TZX image ultimately needs to be tested then in an emulator that can play tape files back, such as CPCE and WinAPE for Amstrad CPC titles or FUSE and UnrealSpeccy for ZX Spectrum softwares.
- 20170419: fourth public version: antivirus gave bogus warnings about CSW2CDT-UI.EXE, so it's no longer trimmed with STRIP.
- 20170409: third public version: improved pilot and SYNC detection, "--hexagon" now supports both the CPC and Spectrum Hexagon methods.
- 20170402: second public version: packing them with UPX led to Avast antivirus giving bogus warnings, so they're no longer compressed.
- 20170401: first public version of the binaries (no source code yet, it's too messy) and the handbooks, written by Dlfrsilver.
Download the CSW2CDT tool suite (15 hits)
Download the 20170419 release (31 hits)
Download the 20170402 release (31 hits)
Download the 20170401 release (52 hits)
Return to frontpage