CPI
From Just Solve the File Format Problem
(Difference between revisions)
Line 13: | Line 13: | ||
== Identification == | == Identification == | ||
− | + | CPI files normally begin with {{magic|0xff "FONT "}}, or {{magic|0xff "FONT.NT"}}. | |
DRFONT files begin with {{magic|0x7f "DRFONT "}}. | DRFONT files begin with {{magic|0x7f "DRFONT "}}. | ||
+ | |||
+ | == Specifications == | ||
+ | * [https://www.seasip.info/DOS/CPI/cpi.html CPI file format], by John Elliott | ||
+ | * The cpi.txt file from PSF Tools (doc/cpi.txt in the source code). | ||
+ | * CPI file format in Ralf Brown's: [https://www.delorie.com/djgpp/doc/rbinter/it/58/17.html #01758], [https://www.delorie.com/djgpp/doc/rbinter/it/59/17.html #01759], [https://www.delorie.com/djgpp/doc/rbinter/it/60/17.html #01760], [https://www.delorie.com/djgpp/doc/rbinter/it/61/17.html #01761], [https://www.delorie.com/djgpp/doc/rbinter/it/62/17.html #01762], [https://www.delorie.com/djgpp/doc/rbinter/it/63/17.html #01763], [https://www.delorie.com/djgpp/doc/rbinter/it/64/17.html #01764], [https://www.delorie.com/djgpp/doc/rbinter/it/65/17.html #01765] | ||
== Software == | == Software == | ||
Line 22: | Line 27: | ||
** cpicomp, cpidcomp - Compress, decompress | ** cpicomp, cpidcomp - Compress, decompress | ||
** cpitest - Dump information about the file (not normally installed) | ** cpitest - Dump information about the file (not normally installed) | ||
− | |||
− | |||
− |
Revision as of 12:57, 17 August 2025
- For other "CPI" formats, see: Blu-ray Clip info, CPI (ColorLab), Marco Pixel Editor, Cartesian Perceptual Compression.
CPI is a file format describing DOS code page fonts.
There is also a compressed "DRFONT" variant.
FreeDOS MODE also supports CPX files in addition to CPI; they are CPI files compressed with UPX as if they were COM files.
Identification
CPI files normally begin with 0xff "FONT "
, or 0xff "FONT.NT"
.
DRFONT files begin with 0x7f "DRFONT "
.
Specifications
- CPI file format, by John Elliott
- The cpi.txt file from PSF Tools (doc/cpi.txt in the source code).
- CPI file format in Ralf Brown's: #01758, #01759, #01760, #01761, #01762, #01763, #01764, #01765
Software
- PSF Tools
- cpi2psf, psfs2cpi - Read, write
- cpicomp, cpidcomp - Compress, decompress
- cpitest - Dump information about the file (not normally installed)