{"id":19204721,"url":"https://github.com/openttd/catcodec","last_synced_at":"2025-06-18T07:39:37.083Z","repository":{"id":51715194,"uuid":"187096006","full_name":"OpenTTD/catcodec","owner":"OpenTTD","description":"Encoder/decoder for OpenTTD Sound Base Sets","archived":false,"fork":false,"pushed_at":"2024-12-21T21:46:05.000Z","size":56,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-24T12:08:18.108Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenTTD.png","metadata":{"files":{"readme":"docs/readme.txt","changelog":"changelog.txt","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-16T20:21:02.000Z","updated_at":"2024-12-21T21:46:10.000Z","dependencies_parsed_at":"2025-01-04T14:45:08.415Z","dependency_job_id":"e2faa856-b39b-4007-be50-5f71aac58acd","html_url":"https://github.com/OpenTTD/catcodec","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenTTD%2Fcatcodec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenTTD%2Fcatcodec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenTTD%2Fcatcodec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenTTD%2Fcatcodec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenTTD","download_url":"https://codeload.github.com/OpenTTD/catcodec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248225664,"owners_count":21068078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T13:09:30.784Z","updated_at":"2025-04-10T13:22:24.296Z","avatar_url":"https://github.com/OpenTTD.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"catcodec README\nLast updated:    2010-10-31\nRelease version: 1.0.3\n------------------------------------------------------------------------\n\n\nTable of Contents:\n------------------\n1) About\n2) Contacting\n3) Installing\n4) Running\n5) Compiling\n\n\n1) About:\n-- ------\ncatcodec decodes and encodes sample catalogues for OpenTTD. These sample\ncatalogues are not much more than some meta-data (description and file name)\nand raw PCM data.\n\ncatcodec is licensed under the GNU General Public License version 2.0. For\nmore information, see the file 'COPYING'.\n\n\n2) Contact:\n-- --------\nContacting the author can be done in two ways:\n - sending an email to rubidium@openttd.org\n - chat with him on IRC; Rubidium can be found in #openttd on irc.oftc.net\n\n\n3) Installation:\n-- -------------\nInstalling catcodec is fairly straightforward. Just copy the executable into\nany directory. It is advised to put the executable in one of the directories\nin your path so it can be easily found. For example when compiling OpenSFX.\nTo uninstall simply remove the executable.\n\n\n4) Usage:\n-- ------\nDecoding a sample catalogue, e.g. sample.cat, results in a sample.sfo that\ncontains the file names and descriptions of the samples and all samples with\nthe file name as specified in the catalogue.\n\nEncoding a sample catalogue, e.g. sample.cat, reads sample.sfo for the file\nnames and descriptions. It will then load the samples described in sample.sfo\nand encodes these into sample.cat.\n\nGenerally speaking encoding a file and then decoding it results in the same\nfile. Decoding of the original, Transport Tycoon Deluxe, sample format will\nforce the output to be 11025 Hz, 8 bits mono because the meta-data of some of\nthe samples is incorrect or even missing.\n\nOnly PCM WAVE files with only the format and data chunks are supported. Any\nother formats need to be converted into this. Furthermore only 11025 Hz,\n22050 Hz and 44100 Hz with 8 or 16 bits per sample single channel PCM WAVE\nfiles are supported.\n\nOptions for catcodec are (mutually exclusive):\n  -d sample_file  Decode the given sample catalogue into its components. The\n                  sample_file must have the extension '.cat'. For the output\n                  meta-data file the '.cat' is replaced with '.sfo'. The actual\n                  samples, in PCM WAVE format, are extracted into files using\n                  the file names, including extension, as described in the\n                  catalogue or meta-data file.\n\n                  If any of the files already exists a backup is made, by\n                  adding '.bak', overwriting the existing backup.\n\n  -e sample_file  Encode the components for the given sample file into a sample\n                  catalogue. The sample_file must have the extension '.cat'.\n                  For the input meta-data file the '.cat' is replaced with\n                  '.sfo'. The actual samples, in PCM WAVE format, are read from\n                  files using the file names, including extension, as described\n                  in the meta-data file.\n\n                  If the sample_file already exists a backup is made, by adding\n                  '.bak', overwriting the existing backup.\n\n\n5) Compiling:\n-- ----------\nGCC/ICC:\n  Just use \"make\", or on non-GNU systems \"gmake\".\n\nMicrosoft Visual C++:\n  There is no project file, but you can compile catcodec using this compiler\n  by either running \"make.bat\" or \"make -f Makefile.msvc\". In both cases the\n  compiler's executable \"cl.exe\" must be in the path.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenttd%2Fcatcodec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenttd%2Fcatcodec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenttd%2Fcatcodec/lists"}