File Formats¶
This page describes the file formats supported by Kirikiri Z.
Contents¶
File formats¶
| Kind | Format | Extension | Description |
|---|---|---|---|
| Still image | Windows bitmap (Bitmap) | .bmp | Only uncompressed files are supported. |
| Still image | JPEG | .jpg | The decoding precision can be specified. The value is one of 'high', 'normal', or 'low'. The default is 'normal'. low: fixed-point (integer) AAN IDCT, no chroma upsampling interpolation. normal: fixed-point (integer) LLM IDCT, with chroma upsampling interpolation. high: floating-point AAN IDCT, with chroma upsampling interpolation. For how to specify it, see command-line option -jpegdec (JPEG decoding precision). |
| Still image | Portable Network Graphic (PNG) | .png | Supports alpha channels and a transparent color. |
| Still image | Entis Rasterized Image format (ERI) | .eri | A lossless compression format proposed by L.Entis. Images with an alpha channel can also be read. |
| Still image | TLG5 | .tlg | Kirikiri's own format. Notable for fast decoding (about 4x as fast as PNG). Can be converted with the image format converter. |
| Still image | TLG6 | .tlg | Kirikiri's own format. Compresses better than PNG or TLG5, but takes about twice as long as TLG5 to decode. Even so, it is still about twice as fast as PNG. Can be converted with the image format converter. |
| Still image | Others | .* | Can be extended with Susie plugins. |
| Sound | WAVE | .wav | Uncompressed WAVE is supported. |
| Sound | Ogg Vorbis | .ogg | Built into the engine (no extra DLL needed). |
| Sound | Opus | .opus | Built into the engine (no extra DLL needed). |
| Sound | Others | .* | Can be extended with plugins. |
| Movie | WebM | .webm | VP8 / VP9. Supports movies with alpha (transparency). The movie playback mechanism is built into the engine (no extra DLL needed). |
| Movie | MPEG-1 | .mpg .mpeg .mpv .m1v .dat |
Only MPEG-1 is supported (MPEG-2 and later are not). Decoded with the built-in pl_mpeg. |
| Movie | MP4 | .mp4 .m4v .mov |
H.264 / HEVC. Decoded with Media Foundation (hardware decoding by default). |
| Movie | Windows Media Video (WMV) | .wmv .asf |
Decoded with Media Foundation. The playback machine needs the Windows Media components. |
| Movie | AVI | .avi | Unofficially supported. Plays only if the internal codec can be handled by Media Foundation (not officially supported). |
| Animation | ASD file | .asd | Kirikiri's own animation definition format. See the comments in AnimationLayer.tjs. |
| Archive | XP3 | .xp3 | Kirikiri's own format. Created with the xp3 archive tool. |
| Archive | PEXP3 | .exe | Kirikiri's own format. Combines the Kirikiri executable (krkr.eXe) with an XP3 archive. Deprecated. The xp3 is appended to the end of the executable (can be created with the Releaser). |
| Archive | Others | .* | Can be extended with plugins. |
| Font | Pre-rendered font | .tft | Kirikiri's own format. Generated with the tftSave plugin (Creating pre-rendered font data). |
| Font | TrueType/OpenType font | .ttf .otf |
Unofficially supported. Can be used without installing the font on the system. Requires addFont.dll. Windows only. |