EnglishFrenchSpanish

Ad


OnWorks favicon

catcodec - Online in the Cloud

Run catcodec in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command catcodec that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


catcodec — An open source tool to decode/encode the sample catalogue for OpenTTD

SYNOPSIS


catcodec [-d sample_file] [-e sample_file]

DESCRIPTION


catcodec decodes and encodes sample catalogues for OpenTTD. These sample catalogues are not
much more than some meta-data (description and file name) and raw PCM data.

Decoding a sample catalogue, e.g. sample.cat, results in a sample.sfo that contains the file
names and descriptions of the samples and all samples with the file name as specified in the
catalogue.

Encoding a sample catalogue, e.g. sample.cat, reads sample.sfo for the file names and
descriptions. It will then load the samples described in sample.sfo and encodes these into
sample.cat.

Generally speaking encoding a file and then decoding it results in the same file. Decoding
of the original, Transport Tycoon Deluxe, sample format will force the output to be 11025
Hz, 8 bits mono because the meta-data of some of the samples is incorrect or even missing.

Only PCM WAVE files with only the format and data chunks are supported. Any other formats
need to be converted into this. Furthermore only 11025 Hz, 22050 Hz and 44100 Hz with 8 or
16 bits per sample single channel PCM WAVE files are supported.

OPTIONS


-d sample_file Decode the given sample catalogue into its components. The sample_file must
have the extension '.cat'. For the output meta-data file the '.cat' is
replaced with '.sfo'. The actual samples, in PCM WAVE format, are extracted
into files using the file names, including extension, as described in the
catalogue or meta-data file.

If any of the files already exists a backup is made, by adding '.bak',
overwriting the existing backup.

-e sample_file Encode the components for the given sample file into a sample catalogue. The
sample_file must have the extension '.cat'. For the input meta-data file the
'.cat' is replaced with '.sfo'. The actual samples, in PCM WAVE format, are
read from files using the file names, including extension, as described in
the meta-data file.

If the sample_file already exists a backup is made, by adding '.bak',
overwriting the existing backup.

Use catcodec online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

Ad