This page describes which file formats are supported by vcmi.
In most cases, VCMI supports formats that were supported by Heroes III, with addition of new formats that are more convenient to use without specialized tools. See categories below for more details on specific formats
For images VCMI supports:
Transparency support: VCMI supports transparency (alpha) channel, both in png and in bmp images. There may be cases where transparency is not fully supported. If you discover such cases, please report them.
For performance reasons, please use alpha channel only in places where transparency is actually required and remove alpha channel from image othervice
Palette support: TODO: describe how palettes work in vcmi
For animations VCMI supports .def format from Heroes III as well as alternative json-based. See Animation Format for more details
For sounds VCMI currently requires .wav format. Generally, VCMI will support any .wav parameters, however you might want to use high-bitrate versions, such as 44100 Hz or 48000 Hz, 32 bit, 1 or 2 channels
Support for additional formats, such as ogg/vorbis and ogg/opus is likely to be added in future
For sounds VCMI currently requires .mp3 format. Support for additional formats, such as ogg/vorbis and ogg/opus is likely to be added in future
Starting from VCMI 1.6, following video container formats are supported by VCMI:
Supported video codecs:
Support for av1 video codec is likely to be added in future.
Supported audio codecs:
For most of configuration files, VCMI uses JSON format with some extensions from JSON5 format, such as comments.
TODO: describe
TODO: describe
TODO: describe
TODO: describe
TODO: describe