Colour Genie Tape Conversion Utilities
--------------------------------------
By Attila Grosz (29th July 2009)
http://gaia.atilia.eu

Colour Genie (CG) emulators often have their programs available as virtual cassette or CAS files. CAS files are small binary files with a .cas extension.  These load quickly and are mostly a byte-by-byte representation of the program code, together with some formatting and checksum information. 

Real Colour Genies however, take input in the form of cassette audio files.  In the PC world these can be represented by 8-bit mono audio files in WAV format.  These WAV files can be saved and loaded from real Colour Genies through a PC sound port using a WAV recorder/player to emulate a cassette player.  WAV files are much larger than their CAS equivalents.

People with real Colour Genies may wish to archive their tapes in CAS format, or use them on one of the Colour Genie emulators.  Alternatively, they may wish to source CG programs in CAS format from the Internet, and use those files on their real machines.  Cgc2wav and Wav2cgc are two utilities which can assist with this. The first converts CG CAS files to WAV files, and the second coverts CG programs captured as WAV files into CAS files.

Both programs must be run from the Windows Command Prompt. Also wav2cgc requires .Netframework 2.0 or greater to be installed as it is not a native application.


Cgc2wav v1.0a
-------------
This program converts Colour Genie emulator CAS files to 8 bit PMC Wav files.    Usage is:

Cgc2wav i <input CAS filename> -o <output WAV filename>

Command line options include:
-g <gain> : gain must be between 1 and 7 (default 6)
- h : prints this text


Wav2cgc v 1.0 (requires .Netframework 2.0 or greater to be installed)
--------------
This program converts Colour Genie 8 bit PMC Wav files to CAS files.    Usage is:

Wav2cgc <input WAV filename> <output CAS filename>

Note: The WAV file must be in 8-bit mono format.


The source code for both programs is also included in the respective ZIP files. Programs are in the public domain so no rights reserved. 
 
Enjoy
