; INF file for VIA/S3G UniChrome Family WinXP/2K Display Driver.
; Copyright 2001-2005, VIA/S3G.

[Version]
Signature="$Windows NT$"
Provider=%VIA%
ClassGUID={4D36E968-E325-11CE-BFC1-08002BE10318}
Class=Display
CatalogFile=viagfx.cat
DriverVer=04/28/2007, 6.14.10.0364
;22.00.01j

[DestinationDirs]
DefaultDestDir   = 11
viagfx.Miniport  = 12
viagfx.Display   = 11
viagfx.ICD       = 11
DefaultUSys.Copy = 11
DefaultUHlp.Copy = 18
TraypSys.Copy    = 11
TraypHlp.Copy    = 18
VTTimer.Copy     = 11

;
; Driver information
;
[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%VIA% = VIA.Mfg

[VIA.Mfg]
"VIA/S3G UniChrome Pro IGP"          =  viagfx_3204, PCI\VEN_1106&DEV_3108

;
; General installation section
;

[viagfx_3204]
AddReg = viagfx.AddReg, DefaultU.AddReg, TraypNT.AddReg
DelReg = viagfx.DelReg
CopyFiles = viagfx.Miniport, viagfx.Display, viagfx.ICD, DefaultUHlp.Copy, DefaultUSys.Copy, VTTimer.Copy, TraypSys.Copy, TraypHlp.Copy


;
; Add Reg section
;
[viagfx.DelReg]
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers",viagfx,,vticd.dll

[viagfx.AddReg]
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers\viagfx",Dll,%REG_SZ%,vticd
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers\viagfx",Version,%REG_DWORD%,00000002
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers\viagfx",DriverVersion,%REG_DWORD%,0x00000001
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers\viagfx",Flags,%REG_DWORD%,00000001

[viagfx_3204.GeneralConfigData]
MaximumDeviceMemoryConfiguration=64
MaximumNumberOfDevices=4
SessionImageSize                = 16


;
; Service Installation
;

[viagfx_3204.Services]
AddService = viagfx, 0x00000002 , viagfx_Service_Inst, viagfx_EventLog_Inst

[viagfx_Service_Inst]
DisplayName    = "viagfx"
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Video
ServiceBinary  = %12%\vtmini.sys

[viagfx_EventLog_Inst]
AddReg = viagfx_EventLog_AddReg

[viagfx_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\vtmini.sys"
HKR,,TypesSupported,0x00010001,7

;
; Software Installation
;

[viagfx_3204.SoftwareSettings]
AddReg = viagfx_SoftwareDeviceSettings
DelReg = viagfx.Del_SoftwareDeviceSettings

[viagfx_SoftwareDeviceSettings]
HKR,, InstalledDisplayDrivers,     %REG_MULTI_SZ%, vtdisp
HKR,, VgaCompatible,               %REG_DWORD%,    0
HKR,, CapabilityOverride,          %REG_DWORD%,    0
HKR,, DXVA_InSlice,                %REG_DWORD%,    1
HKR,, DXVA_Encryption,             %REG_DWORD%,    1
HKR,, MC_InSkipPath,               %REG_DWORD%,    1
HKR,, USE_VideoCapture,            %REG_DWORD%,    1 
HKR,, CheckCaptureICOnBoard,       %REG_DWORD%,    1
HKR,, VDODecoderI2C,               %REG_DWORD%,    0x48
HKR,, VIPEnable,                   %REG_DWORD%,    0
HKR,, VIA_DEINTERLACE_BOB,         %REG_DWORD%,    1
HKR,, UseSAMM,                     %REG_DWORD%,    1
HKR,, CRTTVDuoView,                %REG_DWORD%,    1
HKR,, ProgressiveScan,             %REG_DWORD%,    0
HKR,, FlipEvenOnly,                %REG_DWORD%,    0
HKR,, Overlay_Brightness,          %REG_DWORD%,    0x2ee
HKR,, Overlay_Contrast,            %REG_DWORD%,    0x2710 
HKR,, Overlay_Hue,                 %REG_DWORD%,    0x0
HKR,, Overlay_Saturation,          %REG_DWORD%,    0x2710    
HKR,, Overlay_InDuoView_toTV,      %REG_DWORD%,    1
HKR,, OverRideMonitorPower,        %REG_DWORD%,    1
HKR,, HQVFilterManualSelect,       %REG_DWORD%,    0
HKR,, MpegHQVVFilterMode,          %REG_DWORD%,    0
HKR,, MpegHQVHFilterMode,          %REG_DWORD%,    0
HKR,, CapHQVVFilterMode,           %REG_DWORD%,    0
HKR,, CapHQVHFilterMode,           %REG_DWORD%,    0
HKR,, NoCap0HFilter,               %REG_DWORD%,    0
HKR,, NoCap1HFilter,               %REG_DWORD%,    0
HKR,, K8MRejectOverlay,            %REG_DWORD%,    0
HKR,, Overlay_to_IGA2,             %REG_DWORD%,    1
HKR,, Disable_SAMM_SECONDARY_REMOVABLE,       %REG_DWORD%,    1

[viagfx.Del_SoftwareDeviceSettings]
;== TV Utility Setting
HKR, "VIA"
;== LCD_TV_Definitions
HKR,, LCD.ExpandState
HKR,, TV.ChipID
HKR,, TV.CurrentType
HKR,, TV.SignalType
HKR,, SupportRotation_90
HKR,, SupportRotation_180
HKR,, SupportRotation_270
HKR,, RotationDegree
   

[DefaultU.AddReg]
;; ------------------------------------------------------------------
;;		  		S3Display
;; ------------------------------------------------------------------
HKCR,CLSID\%S3DISPCLS%,,,"S3Display Property Sheet"
HKCR,CLSID\%S3DISPCLS%\InProcServer32,,,VTDisply.dll
HKCR,CLSID\%S3DISPCLS%\InProcServer32,ThreadingModel,,Apartment
HKLM,%CURVER%\%CtrlFld%\Display\shellex\PropertySheetHandlers\VTDisplay,"",,%S3DISPCLS%
HKLM,SOFTWARE\S3,
HKLM,SOFTWARE\S3\VT,
HKLM,%S3DSPKEY%,Installed,,1
HKLM,%S3DSPKEY%,Filename,,VTDisply.dll
HKLM,%S3DSPKEY%,UtilityName,,%S3DISPNAME%
HKLM,%S3DSPKEY%,ConfigNum,,0
HKLM,%S3DSPKEY%,URL,,http://www.s3graphics.com
HKLM,%S3DSPKEY%,UIStyle,,Chrome

;; ------------------------------------------------------------------
;;		  		S3Gamma Plus
;; ------------------------------------------------------------------
HKCR,CLSID\%GM2CLSID%,,,"S3Gamma2 Property Sheet"
HKCR,CLSID\%GM2CLSID%\InProcServer32,,,"VTGamma2.dll"
HKCR,CLSID\%GM2CLSID%\InProcServer32,ThreadingModel,,"Apartment"
HKLM,%CURVER%\%CtrlFld%\Display\shellex\PropertySheetHandlers\VTGamma2,"",,%GM2CLSID%
HKLM,%S3G2KEY%,"Installed",,"1"
HKLM,%S3G2KEY%,"Filename",,"VTGamma2.dll"
HKLM,%S3G2KEY%,"UtilityName",,%GM2NAME%
HKLM,%S3G2KEY%,"URL",,"http://www.s3graphics.com"
HKLM,%S3G2KEY%,UIStyle,,Chrome

;; ------------------------------------------------------------------
;;		  		S3Info Plus
;; ------------------------------------------------------------------
HKCR,CLSID\%INFO2CLS%,,,"S3Info2 Property Sheet"
HKCR,CLSID\%INFO2CLS%\InProcServer32,,,VTInfo2.dll
HKCR,CLSID\%INFO2CLS%\InProcServer32,ThreadingModel,,Apartment
HKLM,%CURVER%\%CtrlFld%\Display\shellex\PropertySheetHandlers\VTInfo2,"",,%INFO2CLS%
HKLM,%INFO2KEY%,Filename,,VTInfo2.dll
HKLM,%INFO2KEY%,URL,,http://www.s3graphics.com
HKLM,%INFO2KEY%,UMAEnabled,,OFF
HKLM,%INFO2KEY%,UIStyle,,Chrome

;; ------------------------------------------------------------------
;;		  		S3Overlay
;; ------------------------------------------------------------------
HKCR,CLSID\%OVERLAYCLS%,,,"S3Overlay Property Sheet"
HKCR,CLSID\%OVERLAYCLS%\InProcServer32,,,VTOvrlay.dll
HKCR,CLSID\%OVERLAYCLS%\InProcServer32,ThreadingModel,,Apartment
HKLM,%CURVER%\%CtrlFld%\Display\shellex\PropertySheetHandlers\VTOverlay,"",,%OVERLAYCLS%
HKLM,%OVERLAYKEY%,Filename,,VTOvrlay.dll
HKLM,%OVERLAYKEY%,URL,,http://www.s3graphics.com
HKLM,%OVERLAYKEY%,UIStyle,,Chrome

; ---------------------------------------------------------------------
;                               S3Timer
; ---------------------------------------------------------------------
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,VModes,,"VModes AttachToDesktop"
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,VTTimer,,"VTTimer.exe"
HKLM,%S3TimerKey%,NeverLaunched,,1

;; ------------------------------------------------------------------
;;		  		S3Tray Plus
;; ------------------------------------------------------------------
[TraypNT.AddReg]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Run,VTTrayp,,"VTtrayp.exe"

;
; == File sections
;

[viagfx.Miniport]
vtmini.sys

[viagfx.Display]
vtdisp.dll

[viagfx.ICD]
vticd.dll

[DefaultUSys.Copy]
VTDisply.cfg
VTDispl2.cfg
VTDispl3.cfg
VTDisply.dll
VTGamma2.dll
VTGamma2.cfg
VTGama_2.cfg
VTInfo2.dll
VTInfo2.cfg
VTovrlay.dll
VTovrlay.cfg
VTOvrly2.cfg

[DefaultUHlp.Copy]
VTDspChs.hlp
VTDspCht.hlp
VTDspJpn.hlp
VTDspKor.hlp
VTDspWst.hlp
VTDspTha.hlp
VTDspWs2.hlp
VTGm2WST.hlp
VTGm2CHS.hlp
VTGm2CHT.hlp
VTGm2JPN.hlp
VTGm2KOR.hlp
VTGm2Tha.hlp
VTGm2Ws2.hlp
VTin2wst.hlp
VTin2chs.hlp
VTin2cht.hlp
VTin2jpn.hlp
VTin2kor.hlp
VTIn2Tha.hlp
VTin2ws2.hlp
VTovlwst.hlp
VTovlchs.hlp
VTovlcht.hlp
VTovljpn.hlp
VTovlkor.hlp
VTOvlTha.hlp
VTOvlWs2.hlp

[VTTimer.Copy]
VTTimer.exe
VModes.exe

[TraypSys.Copy]
VTTrayp.exe
VTTrayp.cfg
VTTrayP2.cfg
[TraypHlp.Copy]
VTtpwst.hlp
VTTPChs.hlp
VTTPCht.hlp
VTTPJpn.hlp
VTTPKor.hlp
VTTPTha.hlp
VTTPWs2.hlp

;
; Source file information
;

[SourceDisksNames.x86]
1 = %DiskId1%,,,""

[SourceDisksFiles]
vtmini.sys   = 1
vtdisp.dll   = 1
vticd.dll    = 1

; == S3 Display Utility
VTDisply.cfg = 1
VTDispl2.cfg = 1
VTDispl3.cfg = 1
VTDisply.dll = 1
VTDspChs.hlp = 1
VTDspCht.hlp = 1
VTDspJpn.hlp = 1
VTDspKor.hlp = 1
VTDspWst.hlp = 1
VTDspTha.hlp = 1
VTDspWs2.hlp = 1

; == S3Gamma2 utility
VTGamma2.dll = 1
VTGamma2.cfg = 1
VTGama_2.cfg = 1
VTGm2WST.hlp = 1
VTGm2CHS.hlp = 1
VTGm2CHT.hlp = 1
VTGm2JPN.hlp = 1
VTGm2KOR.hlp = 1
VTGm2Tha.hlp = 1
VTGm2Ws2.hlp = 1

; == S3Info2 utility
VTInfo2.dll  = 1
VTInfo2.cfg  = 1
VTin2wst.hlp = 1
VTin2chs.hlp = 1
VTin2cht.hlp = 1
VTin2jpn.hlp = 1
VTin2kor.hlp = 1
VTIn2Tha.hlp = 1
VTin2ws2.hlp = 1

; == S3Overlay utility
VTovrlay.dll = 1
VTovrlay.cfg = 1
VTOvrly2.cfg = 1
VTovlwst.hlp = 1
VTovlchs.hlp = 1
VTovlcht.hlp = 1
VTovljpn.hlp = 1
VTovlkor.hlp = 1
VTOvlTha.hlp = 1
VTOvlWs2.hlp = 1

; == S3Tray Plus utility
VTTrayp.exe  = 1
VTTrayp.cfg  = 1
VTTrayP2.cfg = 1
VTTpwst.hlp  = 1
VTTPChs.hlp  = 1
VTTPCht.hlp  = 1
VTTPJpn.hlp  = 1
VTTPKor.hlp  = 1
VTTPTha.hlp  = 1
VTTPWs2.hlp  = 1

; == others
VTTimer.exe  = 1
VModes.exe   = 1

[Strings]

;
; Non-Localizable Strings
;

REG_MULTI_SZ   = 0x00010000
REG_SZ         = 0x00000000
REG_DWORD      = 0x00010001
;SERVICEROOT    = "System\CurrentControlSet\Services"

;
; Localizable Strings
;

DiskId1       = "VIA/S3G Display Drivers. Installation Disk #1"
VIA           = "VIA/S3G"
CtrlFld       = "Controls Folder"
CURVER        = "Software\Microsoft\Windows\CurrentVersion"
UnistDispName = "VIA/S3G Display Driver"

; For S3Display
S3DISPCLS  = "{300b0160-6129-11d7-8dc7-00d0b72c72f7}"
S3DISPNAME = "S3Display"
S3DSPKEY   = "SOFTWARE\S3\VT\S3Display"

; For S3Gamma2
GM2CLSID   = "{300b0161-6129-11d7-8dc7-00d0b72c72f7}"
GM2NAME    = "S3Gamma2"
S3G2KEY    = "SOFTWARE\S3\VT\S3Gamma2"

; For S3Info2
INFO2CLS   = "{300b0162-6129-11d7-8dc7-00d0b72c72f7}"
INFO2KEY   = "SOFTWARE\S3\VT\S3Info2"

; For S3Overlay
OVERLAYCLS   = "{300b0163-6129-11d7-8dc7-00d0b72c72f7}"
OVERLAYKEY   = "SOFTWARE\S3\VT\S3Overlay"

; For S3Timer
S3TimerKey  = "SOFTWARE\S3\VT\S3Timer"