CPI

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m
Line 5: Line 5:
 
}}
 
}}
 
'''CPI''' is a file format describing DOS code page fonts.
 
'''CPI''' is a file format describing DOS code page fonts.
 +
 +
There is also a compressed "DRFONT" variant.
  
 
[[wikipedia:FreeDOS|FreeDOS]] MODE also supports CPX files in addition to CPI; they are CPI files compressed with [[UPX]] as if they were [[DOS executable (.com)|COM files]].
 
[[wikipedia:FreeDOS|FreeDOS]] MODE also supports CPX files in addition to CPI; they are CPI files compressed with [[UPX]] as if they were [[DOS executable (.com)|COM files]].
 +
 +
== Identification ==
 +
Normal uncompressed files begin with {{magic|0xff "FONT   "}}.
 +
 +
DRFONT files begin with {{magic|0x7f "DRFONT "}}.
 +
 +
== Software ==
 +
* [http://www.seasip.info/Unix/PSF/ PSF Tools]
 +
** cpi2psf, psfs2cpi - Read, write
 +
** cpicomp, cpidcomp - Compress, decompress
 +
** cpitest - Dump information about the file (not normally installed)
  
 
== Links ==
 
== Links ==
 
* CPI file format in Ralf Brown's: [http://www.delorie.com/djgpp/doc/rbinter/it/58/17.html #01758], [http://www.delorie.com/djgpp/doc/rbinter/it/59/17.html #01759], [http://www.delorie.com/djgpp/doc/rbinter/it/60/17.html #01760], [http://www.delorie.com/djgpp/doc/rbinter/it/61/17.html #01761], [http://www.delorie.com/djgpp/doc/rbinter/it/62/17.html #01762], [http://www.delorie.com/djgpp/doc/rbinter/it/63/17.html #01763], [http://www.delorie.com/djgpp/doc/rbinter/it/64/17.html #01761], [http://www.delorie.com/djgpp/doc/rbinter/it/65/17.html #01765]
 
* CPI file format in Ralf Brown's: [http://www.delorie.com/djgpp/doc/rbinter/it/58/17.html #01758], [http://www.delorie.com/djgpp/doc/rbinter/it/59/17.html #01759], [http://www.delorie.com/djgpp/doc/rbinter/it/60/17.html #01760], [http://www.delorie.com/djgpp/doc/rbinter/it/61/17.html #01761], [http://www.delorie.com/djgpp/doc/rbinter/it/62/17.html #01762], [http://www.delorie.com/djgpp/doc/rbinter/it/63/17.html #01763], [http://www.delorie.com/djgpp/doc/rbinter/it/64/17.html #01761], [http://www.delorie.com/djgpp/doc/rbinter/it/65/17.html #01765]

Revision as of 20:34, 21 March 2016

File Format
Name CPI
Ontology
Extension(s) .cpi

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

Normal uncompressed files begin with 0xff "FONT   ".

DRFONT files begin with 0x7f "DRFONT ".

Software

  • PSF Tools
    • cpi2psf, psfs2cpi - Read, write
    • cpicomp, cpidcomp - Compress, decompress
    • cpitest - Dump information about the file (not normally installed)

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox