CPI Files

Home Up CPI Files Video BIOS

Using PROCON's High Visibility Full Screen VGA Fonts in Codepage Information Files

What is a Codepage Information (CPI) File?

All versions of MS-DOS and Windows (from DOS 3.3 on), allow you to customise the keyboard mapping - and full screen font characters - to suit different languages. The font and keyboard information is contained in Codepage Information (CPI) Files.

MS-DOS and Windows 3.x/9x/Me do not require a CPI file to create full screen modes. (If a CPI file is not used they default to using the "hardware" fonts in the video card's ROM BIOS - as the PC does when it first boots.)

Windows NT/2000/XP/Vista/7 does not have this hardware dependence (except when  booting and running MS-DOS programs like COMMAND.COM under its DOS Virtual Machine). Windows cannot then create a full screen Console unless it has been able to load a CPI file when booting. (If you use a "Spy" utility to list the open file "handles" it will normally include a file like:-  C:\WINNT\System32\EGA.CPI.)

As these CPI files contain embedded representations of the character glyphs, the easiest way to replace the default VGA font is by using a different CPI file.

CPI Files Containing the HVFont

The HVFont CPI File package contains the necessary files and information to install a Codepage Information (CPI) File that uses PROCON's Hi-Visibility HVFont.

The CPI File allows the superior HVFont to be used in all full screen console modes running under:-
MS-DOS,
Windows 3.x/95/98/Me "DOS Boxes", and
Windows NT/2000/XP/Vista/7 CMD.EXE Console modes.

It will not, of course, change the font used in:-

Windows DOS or Terminal "Boxes" run in a "Windowed" Window, or
Windows NT/2000/XP/Vista/7 16 bit COMMAND.COM MS-DOS "Boxes".

(Our HVDOSBox.FON is designed to be used in "Windowed" terminal modes.)

Windows 3.x/95/98/Me Codepage Information Files Using a different CPI file - MS-DOS and Windows 3.x/95/98/Me

MS-DOS CPI files may be in any directory. Windows normally places them in the COMMAND subdirectory. To load a different CPI file:-

First obtain a list of any existing CPI files on your system. Open an MS-DOS window and type:-
   DIR %windir%\COMMAND\*.CPI
Take a note of the value of %windir% (it is probably C:\WIN or C:\WINDOWS).
Copy the new CPI file (e.g, HVEGAE.CPI) to this directory. For example, type:-
   COPY HVEGAE.CPI C:\WIN\COMMAND
Use a plain text editor (e.g., Notepad) to add some lines to your CONFIG.SYS and AUTOEXEC.BAT files to ensure that the new CPI file is loaded at boot time.
Using the correct Windows directory - and the new CPI filename - edit C:\CONFIG.SYS to add - or modify - these lines:-

Rem [==== Load Support Drivers for Country CodePages ====]
DEVICEHIGH=C:\WIN\COMMAND\DISPLAY.SYS CON:=(EGA,437,1)    
Rem [====================================================]

Similarly edit C:\AUTOEXEC.BAT and add - or modify - these lines:-

Rem [=========== Prepare & Select a Codepage ============]
NLSFUNC.EXE                                               
MODE CON CODEPAGE PREPARE=((437)C:\WIN\COMMAND\HVEGAE.CPI)
MODE CON CODEPAGE SELECT=437                              
Rem [====================================================]

Reboot into Windows.

The system will load - and use - the new fonts in all full screen modes.

Windows XP Codepage Information Files Using a different CPI file - Windows NT/2000/XP/Vista/7

Windows NT/2000/XP/Vista/7 CPI files are in the SYSTEM32 subdirectory. To use a different CPI file:-

Open a console window and type:-
   DIR %SystemRoot%\System32\*.CPI
to obtain a list of CPI files on your system. There should be at least one - normally EGA.CPI . Note the value of %SystemRoot%  (probably C:\WINNT or C:\WINDOWS ). If only one CPI file exists - and you are using only English language settings - you can replace the Windows EGA.CPI file.
Copy the new CPI file into the SYSTEM32 directory. Type:-
   COPY HVEGAE.CPI \WINNT\SYSTEM32
Save a copy of the existing file (most important!). Type:-
   CD \WINNT\SYSTEM32
   COPY EGA.CPI EGA.CP_
Set the file "Read Only " in case you attempt to overwrite it:-
   ATTRIB +R EGA.CP_
To ensure the copy has been successful, list both files with:-
   DIR EGA.*
Windows won't allow the EGA.CPI file to be replaced directly as it is open and locked - precluding its replacement while Windows is running. To get access to the file you must either:-
  1. Boot to DOS from a floppy disk, or
  2. Use the supplied MVINUSEF.EXE utility and batchfile to make the replacement.
Once the file has been replaced, reboot into Windows.

Windows will now load - and use - the new EGA.CPI file with the appropriate set of fonts in all full screen modes except for boot messages and MS-DOS Boxes.

What is included in the HVFont CPI File Package?

The HVFont CPI File package contains:-

Various CPI File Utilities, and
HVFont Codepage Information Files

Click here to download an Evaluation version of the HVFont Full Screen package. The HVFont CPI File package is part of this package.)

Click here to purchase a licence for any of the HVFont packages.

Purchase HVFont Packages by Credit Card

PROCON CONSTRUCTION SYSTEMS
3/5-7 Victoria Parade, MANLY NSW 2095, AUSTRALIA
Tel: +61.2.9977.6863
Email: Information      Sales      Support

PROBID, PROBILL, PROCOST, PROPLAN and PROCALC are all PROCON trademarks.
Last modified: 22 August 2010
Top of Page                                                                 Home Page