Converts an Arkos Tracker (aks) music file into an absolutely located data array to be compiled directly into a binary program.
cpct_aks2c [options] [aksfile]
This scripts uses AKSToBIN.exe utility by Targhan to convert an aks file into a data Array. AKSToBIN.exe is included in Arkos Tracker 1.0, which is included into CPCtelera. AKSToBIN.exe works natively on Windows systems but requires mono to be installed under Linux or Mac OSX Systems.
This script converts an Arkos Tracker (aks) file containing music and or sound effects into two source code files (.s/.h) with definition and declaration of am array containing all music data. The data array will be absolutely located in memory at the desired memory address. By default, generated binary data will be placed at location 0x100 in memory. You can change that location using -m modifier.
|-o | --output-filename||Set the basename for output filenames (name without extension)|
|-m | --memory-address||Set the memory base address where song binary data will be located.|
|-bl | --bytes-per-line [bytes]||Set the number of bytes that every generated line will contain in the .s file|
|-od | --output-directory [dir]||Sets directory where .s/.h files will be written to.|
|-id | --c-identifier [ident]||Sets the identifier that will be used to access the array from C programs.|
|-h | --help||Shows help information on the terminal.|