; kplew9x.inf
;
; Installation file (.inf) for the VT8361/VT8601/VT8501 devices.
; kplew9x.inf
;
; Installation file (.inf) for the VT8361/VT8601/VT8501 devices.
;
; (c) Copyright 2001-2002 VIA Technologies, Inc 
; (c) Copyright 1995-2000 Trident Microsystems, Inc

[Version]
Class=DISPLAY
Signature=$CHICAGO$
Provider=%Mfg%
CatalogFile=trid_p3d.cat
DriverVer=07/02/2002, 4.13.01.3134

[DestinationDirs]
DefaultDestDir=11
Info2Sys.Copy=11
Info2Hlp.Copy=18
S3DispSys.Copy=11
S3DispHlp.Copy=18
GAMMA2Sys.Copy=11
GAMMA2Hlp.Copy=18


[SourceDisksNames]
1="VIA Windows 98/Me Display Driver Disk",,0

[SourceDisksFiles]
trid_p3d.cat=1
trid_p3d.drv=1
trid_p3d.dll=1
tridicdp.dll=1
trident.vxd=1
tguimm.vxd=1
viagart.vxd=1
trid_vmx.dll=1
tmon8400.dll=1
tv_tvx.dll=1
vt1621.dll=1
S3apphk.exe=1
S3appdll.dll=1

S3Disply.dll=1
S3Disply.cfg=1
S3DspWST.hlp=1
S3DspCHS.hlp=1
S3DspCHT.hlp=1
S3DspJPN.hlp=1
S3DspKOR.hlp=1

S3Info2.dll=1
S3Info2.cfg=1
s3in2wst.hlp=1
s3in2chs.hlp=1
s3in2cht.hlp=1
s3in2jpn.hlp=1
s3in2kor.hlp=1

S3Gamma2.dll=1
S3Gamma2.cfg=1
S3Gm2WST.hlp=1
S3Gm2CHS.hlp=1
S3Gm2CHT.hlp=1
S3Gm2JPN.hlp=1
S3Gm2KOR.hlp=1


[Manufacturer]
%Mfg%=Mfg

[Mfg]
%PCI\VEN_1023&DEV_8400.DeviceDesc%=VIA.Install,PCI\VEN_1023&DEV_8400
%PCI\VEN_1023&DEV_8500.DeviceDesc%=VIA.Install,PCI\VEN_1023&DEV_8500

[VIA.Install]
DelFiles=Prev.DelFiles
CopyFiles=Driver.Copy,ICD.Copy,ViaGART.Copy,Info2Hlp.Copy,Info2Sys.Copy,S3DispHlp.Copy,S3DispSys.Copy,GAMMA2Hlp.Copy,GAMMA2Sys.Copy
DelReg=Driver.DelReg,S3Util.DelReg
AddReg=Driver.AddReg,ICD.AddReg,ViaGART.AddReg,S3Disp.AddReg,Info2.AddReg,S3Gamma2.AddReg
UpdateInis=MM_Ini

[MM_Ini]
system.ini,386Enh,,"EMMEXCLUDE=C000-CFFF"

[Driver.Copy]
trid_p3d.drv
trid_p3d.dll
trident.vxd
tguimm.vxd
trid_vmx.dll
tmon8400.dll
tv_tvx.dll
vt1621.dll
S3apphk.exe
S3appdll.dll

[ICD.Copy]
tridicdp.dll

[ViaGART.Copy]
viagart.vxd

[S3DispSys.Copy]
S3Disply.dll
S3Disply.cfg

[S3DispHlp.Copy]
S3DspWST.hlp
S3DspCHS.hlp
S3DspCHT.hlp
S3DspJPN.hlp
S3DspKOR.hlp

[Info2Sys.Copy]
S3Info2.dll
S3Info2.cfg

[Info2Hlp.Copy]
s3in2wst.hlp
s3in2chs.hlp
s3in2cht.hlp
s3in2jpn.hlp
s3in2kor.hlp

[GAMMA2Sys.Copy]
S3Gamma2.dll
S3Gamma2.cfg

[GAMMA2Hlp.Copy]
S3Gm2WST.hlp
S3Gm2CHS.hlp
S3Gm2CHT.hlp
S3Gm2JPN.hlp
S3Gm2KOR.hlp

[Prev.DelFiles]
vt1621.bin

[Driver.DelReg]
HKR,,Ver
HKR,,DevLoader
HKR,ADVANCE
HKR,DEFAULT
HKR,MODES
HKR,CURRENT
HKR,INFO

[Driver.AddReg]
HKR,,Ver,,4.0
HKR,,DevLoader,,*vdd
HKR,DEFAULT,Mode,,"16,640,480"
HKR,DEFAULT,drv,,trid_p3d.drv
HKR,DEFAULT,drv2,,trid_p3d.drv
HKR,DEFAULT,vdd,,"*vdd,*vflatd"
HKR,DEFAULT,minivdd,,trident.vxd
HKR,DEFAULT,RefreshRate,,-1
HKR,DEFAULT,DDC,,1
HKR,DEFAULT,ExtModeSwitch,,0
HKR,"MODES\8\640,480"
HKR,"MODES\8\800,600"
HKR,"MODES\8\1024,768"
HKR,"MODES\8\1280,1024"
HKR,"MODES\8\1600,1200"
HKR,"MODES\16\640,480"
HKR,"MODES\16\800,600"
HKR,"MODES\16\1024,768"
HKR,"MODES\16\1280,1024"
HKR,"MODES\16\1600,1200"
HKR,"MODES\32\640,480"
HKR,"MODES\32\800,600"
HKR,"MODES\32\1024,768"
HKR,"ADVANCE"
HKR,"ADVANCE",TVScreenSize,,52429400
HKR,"tCONFIG",Win95Compatible,,0
HKR,"tCONFIG",OffScreenDeviceBitmap,,1
HKR,"tCONFIG",MonitorDeviceSwitching,,0
HKR,"tConfig",DualOverlayWindows,,0
HKR,"tConfig",MCEnable,,1
HKR,"tConfig",NotBiosDefRef,,1
HKR,"tConfig",PCIRetryOff,,0
HKR,"tConfig",PanningSupport,,1
HKR,"tConfig",ReadBootUpDevices,,1
HKR,"tConfig",DisableAGPfeature,,0
HKR,"tConfig",AGPCmdListOff,,0
HKR,"tConfig",AGPTextureOff,,0
HKR,"tConfig",2DAGPCmdListOff,,1
HKR,"tConfig",TVBypassIsOff,,1
HKR,"tConfig",TVStandard,,0
HKR,"UTILITY",AutoTVConnEnable,,1
HKR,"UTILITY",TVOverscanEnable,,0
HKR,"UTILITY",TVDotCrawl,,0
HKR,"UTILITY",GammaShift,,0
HKR,"UTILITY",TVCRTSim,,0
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Run,S3apphk,,"S3apphk.exe"

[ViaGART.AddReg]
HKLM,"System\CurrentControlSet\Services\VxD\VIAGART","StaticVxD",0,"viagart.vxd"
HKLM,"System\CurrentControlSet\Services\VxD\VIAGART","Turbo",1,01
HKLM,"System\CurrentControlSet\Services\VxD\VIAGART","SideBand",1,01
HKLM,"System\CurrentControlSet\Services\VxD\VIAGART","OEMVersion",1,01

[S3Util.DelReg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\Display\shellex\PropertySheetHandlers\DriverPages"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\Display\shellex\PropertySheetHandlers\Refresh Rate Control"
HKR,tCONFIG
HKR,UTILITY
HKLM,"SOFTWARE\Trident Microsystems\Device Control"
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run",TridentVideoIcon
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run",TridentTVIcon


[S3Disp.AddReg]
HKCR,CLSID\%S3DISPCLS%,,,"S3Display Property Sheet"
HKCR,CLSID\%S3DISPCLS%\InProcServer32,,,S3Disply.dll
HKCR,CLSID\%S3DISPCLS%\InProcServer32,ThreadingModel,,Apartment
HKLM,%CURVER%\%CtrlFld%\Display\shellex\PropertySheetHandlers\S3Display,"",,%S3DISPCLS%
HKLM,%S3DSPKEY%,Filename,,S3Disply.dll
HKR,"shellex\PropertySheetHandlers\S3Display","",,%S3DISPCLS%
HKR,Utils\S3Display,URL,,http://www.s3graphics.com

[Info2.AddReg]
HKCR,CLSID\%INFO2CLS%,,,"S3Info2 Property Sheet"
HKCR,CLSID\%INFO2CLS%\InProcServer32,,,S3Info2.dll
HKCR,CLSID\%INFO2CLS%\InProcServer32,ThreadingModel,,Apartment
HKLM,%CURVER%\%CtrlFld%\Display\shellex\PropertySheetHandlers\S3Info2,"",,%INFO2CLS%
HKLM,%INFO2KEY%,Filename,,S3Info2.dll
HKR,shellex\PropertySheetHandlers\S3Info2,"",,%INFO2CLS%
HKR,Utils\S3Info2,URL,,http://www.s3graphics.com

[S3Gamma2.AddReg]
HKCR,CLSID\%GM2CLSID%,,,"S3Gamma2 Property Sheet"
HKCR,CLSID\%GM2CLSID%\InProcServer32,,,S3Gamma2.dll
HKCR,CLSID\%GM2CLSID%\InProcServer32,ThreadingModel,,Apartment
HKLM,%CURVER%\%CtrlFld%\Display\shellex\PropertySheetHandlers\S3Gamma2,"",,%GM2CLSID%
HKLM,%S3G2KEY%,Filename,,S3Gamma2.dll
HKR,shellex\PropertySheetHandlers\S3Gamma2,"",,%GM2CLSID%
HKR,Utils\S3Gamma2,URL,,http://www.s3graphics.com
HKLM,%S3G2KEY%,GammaShift,,0
HKLM,%S3G2KEY%,Default,,GR:0.89 GG:0.89 GB:0.89 BR:0.89 BG:0.89 BB:0.89 CR:0.89 CG:0.89 CB:0.89 Piv:256

[ICD.AddReg]
HKLM,Software\Microsoft\Windows\CurrentVersion\OpenGLdrivers,trid_p3d,2,"tridicdp.dll"

[Strings]
CtrlFld    = "Controls Folder"
CURVER     = "Software\Microsoft\Windows\CurrentVersion"
S3         = "S3 Graphics, Inc."
S3DISPCLS  = "{a3b69838-fc13-48b9-9438-beaf0eda660a}"
S3DISPNAME = "S3Display"
S3DSPKEY   = "SOFTWARE\S3\S3Display"
INFO2CLS   = "{48429801-16E6-11d4-8ECD-00609784BD62}"
INFO2NAME  = "S3Info2"
INFO2KEY   = "SOFTWARE\S3\S3Info2"
SGm2Desc  = "S3Gamma2"
GM2CLSID  = "{46b23a80-2895-11d3-bfcb-00aa0022f384}"
S3G2KEY   = "SOFTWARE\S3\S3Gamma2"

Mfg="VIA Technologies, Inc."
PCI\VEN_1023&DEV_8400.DeviceDesc="VIA Tech VT8501 Graphics Controller"
PCI\VEN_1023&DEV_8500.DeviceDesc="VIA Tech VT8361/VT8601 Graphics Controller"
