; SMXX5333.INF with MultiMon and OpenGL ICD for S3
;
; WindowsXP installation .INF for the S3 Graphics, Inc. display driver, 
; with S3 DuoView, Gamma, and S3Tray utilities and OpenGL ICD
; for the Savage/MX.
;
; Copyright (c) 1999, 2000 by S3 Incorporated.
; Copyright (c) 2001 by S3 Graphics, Inc.
;

[Version]
Signature="$CHICAGO$"
Provider=%S3GRAPHICS%
ClassGUID={4D36E968-E325-11CE-BFC1-08002BE10318}
Class=Display
CatalogFile=s3gsavmx.cat
DriverVer=04/16/2002, 06.13.10.7036

[ControlFlags]
ExcludeFromSelect = PCI\VEN_5333&DEV_8C10
ExcludeFromSelect = PCI\VEN_5333&DEV_8C12
;ExcludeFromSelect = PCI\VEN_5333&DEV_8C13

[DestinationDirs]
DefaultDestDir   = 11
S3GSavageMX.Miniport   = 12   ; drivers
S3GSavageMX.Display    = 11   ; system32
S3GSavageMX.Icd        = 11   ; OpenGL ICD
; ==DuoView Utility==
S3DUOVUEcopy.sys       = 11
S3DUOVUEcopy.hlp       = 18
; ==Gamma Utility==
GAMMAcopy.sys          = 11
GAMMAcopy.hlp          = 18
GAMMAcopy.win          = 10
; ==S3UninstSys Utility
S3UninstSys.Copy       = 11

;
; Driver information
;

[Manufacturer]
%S3GRAPHICS%   = S3.Mfg

;
; This section should be modified to reflect the chip strings the
; user will see in the Displays applet when the new driver is being
; installed from the driver diskette.
;

[S3.Mfg]
S3 Graphics Savage/MX = S3GSavageMX, PCI\VEN_5333&DEV_8C10
S3 Graphics Savage/IX = S3GSavageMX, PCI\VEN_5333&DEV_8C12

;
; General installation section
;

[S3GSavageMX]
CopyFiles =S3GSavageMX.Miniport, S3GSavageMX.Display, S3GSavageMX.Icd, S3DUOVUEcopy.hlp, S3DUOVUEcopy.sys, GAMMAcopy.hlp, GAMMAcopy.sys, GAMMAcopy.win, S3UninstSys.Copy
AddReg = S3ICDCommon.AddReg, S3DuovueNT.AddReg, S3DuoCommon.AddReg, S3GammaNT.AddReg
DelReg = S3DuovueNT.DelReg, S3GammaNT.DelReg, S3GammaCleanNT.DelReg

;
; File sections
;

[S3GSavageMX.Miniport]
s3gsavm.sys     ; miniport driver

[S3GSavageMX.Display]
s3gsavmx.dll    ; display driver
s3hotkey.exe    ; s3 graphics hotkey handler

[S3GSavageMX.Icd]
Mxicd.dll      ; OpenGL ICD driver

[S3DUOVUEcopy.sys]
S3DuoVue.dll
S3DuoVue.cfg
S3TRAY.exe
S3appdll.dll

[S3DUOVUEcopy.hlp]
S3DUOENU.HLP
S3DUOCHS.HLP
S3DUOCHT.HLP
S3DUODAN.HLP
S3DUODEU.HLP
S3DUOESP.HLP
S3DUOFIN.HLP
S3DUOFRA.HLP
S3DUOITA.HLP
S3DUOJPN.HLP
S3DUONLD.HLP
S3DUONOR.HLP
S3DUOPTB.HLP
S3DUOSVE.HLP

[GAMMAcopy.sys]
S3Gamma.dll

[GAMMAcopy.win]
S3Gamma.cfg

[GAMMAcopy.hlp]
S3gamENU.hlp
S3gamCHT.hlp
S3gamCHS.hlp
S3gamDAN.hlp
S3gamDEU.hlp
S3gamESP.hlp
S3gamFIN.hlp
S3gamFRA.hlp
S3gamITA.hlp
S3gamJPN.hlp
S3gamNLD.hlp
S3gamNOR.hlp
S3gamPTB.hlp
S3gamSVE.hlp

[S3UninstSys.Copy]
S3uninst.exe

[S3GSavageMX.GeneralConfigData]
MaximumDeviceMemoryConfiguration=128
MaximumNumberOfDevices          = 2
; reports ability to drive 2 monitors from MX chip

;
; Service Installation
;

[S3GSavageMX.Services]
AddService = S3GSavageMX, 0x00000002, S3GSavageMX_Service_Inst, S3GSavageMX_EventLog_Inst

[S3GSavageMX_Service_Inst]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 1                  ; SERVICE_SYSTEM_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Video
ServiceBinary  = %12%\s3gsavm.sys

[S3GSavageMX_EventLog_Inst]
AddReg = S3GSavageMX_EventLog_AddReg

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

;
; Software Installation
;
[S3GSavageMX.SoftwareSettings]
AddReg = S3GSavageMX_HotkeySettings
AddReg = S3GSavageMX_SoftwareDeviceSettings
DelReg = S3GSavageMX_UserPreferences 

;
; HKLM,"SYSTEM\CurrentControlSet\Control\AGP","53338C10",0x00030003,0xc,1,0,0,0,0,0,0
; HKLM,"SYSTEM\CurrentControlSet\Control\AGP","53338C12",0x00030003,0xc,1,0,0,0,0,0,0
;   turns off AGP 4X, 8X and Side Band Address Enable.  This is WinXP only
;
[S3GSavageMX_SoftwareDeviceSettings]
HKR,, InstalledDisplayDrivers,    %REG_MULTI_SZ%, s3gsavmx
HKR,, VgaCompatible,              %REG_DWORD%,    0
HKR,, SupportIcd,                 %REG_DWORD%,    1
HKR,, SupportSAMM,                %REG_DWORD%,    1
HKLM,"SYSTEM\CurrentControlSet\Control\AGP","53338C10",0x00030003,0xc,1,0,0,0,0,0,0
HKLM,"SYSTEM\CurrentControlSet\Control\AGP","53338C12",0x00030003,0xc,1,0,0,0,0,0,0

[S3GSavageMX_HotkeySettings]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Run, S3Hotkey, %REG_SZ%, "s3hotkey.exe"

; user-selected preferences
[S3GSavageMX_UserPreferences]
HKR,, UseDDCInfo
HKR,, PanelCenterExpandMode
HKR,, SingleController
HKR,, NtscTvPositionX
HKR,, NtscTvPositionY
HKR,, Pal6TvPositionX
HKR,, Pal6TvPositionY
HKR,, Pal8TvPositionX
HKR,, Pal8TvPositionY
HKR,, DisplaysActivePreference
HKR,, TvStandardPreference
HKR,, DdcMaxRefresh
HKR,, GammaFor16BppModes
HKR,, GammaFor32BppModes
HKR,, GammaIGA2For16BppModes
HKR,, GammaIGA2For32BppModes
HKR,, GammaSupportEnabled

;
; Source file information
;

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

[SourceDisksFiles]
s3gsavm.sys     = 1         ; all files on Disk 1
s3gsavmx.dll    = 1
s3hotkey.exe    = 1         ; needed for non-ACPI display switch hotkey
mxicd.dll       = 1
; ==DuoView Utility
S3Duovue.dll=1
S3DuoVue.cfg=1
S3DUOENU.HLP=1
S3DUOCHS.HLP=1
S3DUOCHT.HLP=1
S3DUODAN.HLP=1
S3DUODEU.HLP=1
S3DUOESP.HLP=1
S3DUOFIN.HLP=1
S3DUOFRA.HLP=1
S3DUOITA.HLP=1
S3DUOJPN.HLP=1
S3DUONLD.HLP=1
S3DUONOR.HLP=1
S3DUOPTB.HLP=1
S3DUOSVE.HLP=1
; ==S3Gamma Utility
S3Gamma.dll =1
S3Gamma.cfg =1
S3gamENU.hlp=1
S3gamCHT.hlp=1
S3gamCHS.hlp=1
S3gamNLD.hlp=1
S3gamFRA.hlp=1
S3gamDEU.hlp=1
S3gamITA.hlp=1
S3gamJPN.hlp=1
S3gamESP.hlp=1
S3gamSVE.hlp=1
S3gamDAN.hlp=1
S3gamFIN.hlp=1
S3gamNOR.hlp=1
S3gamPTB.hlp=1
; ==Other Utilities
S3uninst.exe=1
S3TRAY.exe  =1
S3appdll.dll=1

[Strings]
;
; Non-Localizable Strings
;
REG_SZ         = 0x00000000
REG_MULTI_SZ   = 0x00010000
REG_DWORD      = 0x00010001

;
; Localizable Strings
;
S3GRAPHICS  = "S3 Graphics, Inc."
DiskId      = "S3 Graphics, Inc. Installation DISK (VIDEO)"
1           = "Controls Folder"
S3DuoDesc   = "S3DuoVue Utility"
S3DUOCLS    = "{7fc5c380-dac3-11d1-8e3d-00aa00c67ca8}"
S3DUOKEY    = "Software\S3\S3DuoVue"
GAMDesc     = "S3 Gamma Utility"
CURVER      = "Software\Microsoft\Windows\CurrentVersion"
GAMMACLSID  = "{C4FACD43-6676-11d1-AF9C-00AA00C67CA8}"
GAMMANAME   = "S3 Gamma"
SCHEMES     = "Schemes"
S3GKEY      = "SOFTWARE\S3\S3 Gamma"
S3SRVC      = "S3GSavageMX"
WinNTDir    = "Windows NT"
S3MXICDKEY  = "SavageMx"

[S3ICDCommon.AddReg]
HKLM,Software\Microsoft\%WinNTDir%\CurrentVersion\OpenGLdrivers,%S3MXICDKEY%,,"mxicd"

;; ---------- The following section is for NT/Win2K only ------------

[S3DuovueNT.DelReg]
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\S3DUOVUE
HKLM,SOFTWARE\Classes\CLSID\%S3DUOCLS%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Run,S3Tray
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\%1%\Display\shellex\PropertySheetHandlers\S3DUOVUE
HKLM,%S3DUOKEY%

[S3DuovueNT.AddReg]
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\S3DUOVUE,DisplayName,,%S3DuoDesc%
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\S3DUOVUE,"UninstallString",,"s3uninst.exe -reg 5 'HKLM\Software\S3\S3Uninst\S3Duovue'"
HKLM,%S3DUOKEY%,HalftoneBlt,,"OFF"

;; ---------- The following section is for ALL systems ------------

[S3DuoCommon.AddReg]
HKLM,SOFTWARE\Classes\CLSID\%S3DUOCLS%,"",,"Property Sheet Extension for S3DuoVue Utility"
HKLM,SOFTWARE\Classes\CLSID\%S3DUOCLS%\InProcServer32,"",,"S3Duovue.dll"
HKLM,SOFTWARE\Classes\CLSID\%S3DUOCLS%\InProcServer32,ThreadingModel,,"Apartment"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\%1%\Display\shellex\PropertySheetHandlers\S3DUOVUE,"",,%S3DUOCLS%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Run,S3TRAY,,"S3tray.exe"
HKLM,%S3DUOKEY%,"ShowTaskbarIcon",,"0"
HKLM,%S3DUOKEY%,"Installed",,"1"
HKLM,%S3DUOKEY%,"Filename",,"S3DuoVue.dll"
HKLM,%S3DUOKEY%,"UtilityType",,"0"
HKLM,%S3DUOKEY%,"TvOutListShown",,""
HKLM,%S3DUOKEY%,"ApertureControlSupport",,"OFF"
HKLM,%S3DUOKEY%,"AspectRatioLockSupport",,"ON"
HKLM,%S3DUOKEY%,"TimeoutSeconds",,"15"
HKLM,%S3DUOKEY%,"CheckConnections",,""
HKLM,%S3DUOKEY%,"RscFallback",,"ON"
HKLM,%S3DUOKEY%,"RscDll",,""
HKLM,%S3DUOKEY%,"URL",,"http://www.s3graphics.com"

;; ---------- Following lines are uninstall information ------------
HKLM,"Software\S3\S3Uninst\S3Duovue","10.DelKey",,"HKLM\%S3DUOKEY%"
HKLM,"Software\S3\S3Uninst\S3Duovue","11.DelKey",,"HKCR\CLSID\%S3DUOCLS%"
HKLM,"Software\S3\S3Uninst\S3Duovue","12.DelKey",,"HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\S3Duovue"
HKLM,"Software\S3\S3Uninst\S3Duovue","13.DelKey",,"HKLM\Software\Microsoft\Windows\CurrentVersion\%1%\Display\shellex\PropertySheetHandlers\S3Duovue"
HKLM,"Software\S3\S3Uninst\S3Duovue","14.DelReg",,"HKLM\Software\Microsoft\Windows\CurrentVersion\Run\S3TRAY"
HKLM,"Software\S3\S3Uninst\S3Duovue","20.DelFiles",,"%11%\S3Duovue.dll"
HKLM,"Software\S3\S3Uninst\S3Duovue","22.DelFiles",,"%18%\S3Duo*.hlp"
HKLM,"Software\S3\S3Uninst\S3Duovue","23.DelFiles",,"%11%\S3Duovue.cfg"
HKLM,"Software\S3\S3Uninst\S3Duovue","24.DelFiles",,"%17%\S3Duovue.?nf"
HKLM,"Software\S3\S3Uninst\S3Duovue","25.DelFiles",,"%11%\S3Tray.exe"
HKLM,"Software\S3\S3Uninst\S3Duovue","26.DelFiles",,"%17%\S3appdll.dll"

[S3GammaNT.DelReg]
HKLM,"%CURVER%\Uninstall\S3 Gamma"
HKCR,"CLSID\%GAMMACLSID%",,,"S3 Gamma Property Sheet"
;; ---------- Next line to remove possible duplicate shellext ------------
HKLM,"%CURVER%\%1%\Display\shellex\PropertySheetHandlers\S3Gamma"
HKLM,"%CURVER%\%1%\Display\shellex\PropertySheetHandlers\S3 Gamma","",,"%GAMMACLSID%"
HKLM,"%S3GKEY%\%SCHEMES%"
HKLM,"%S3GKEY%"

[S3GammaNT.AddReg]
HKLM,"%CURVER%\Uninstall\S3 Gamma",DisplayName,,"%GAMDesc%"
HKLM,"%CURVER%\Uninstall\S3 Gamma","UninstallString",,"s3uninst.exe -reg 5 'HKLM\Software\S3\S3Uninst\S3 Gamma'"
HKCR,"CLSID\%GAMMACLSID%",,,"S3 Gamma Property Sheet"
HKCR,"CLSID\%GAMMACLSID%\InProcServer32",,,"S3Gamma.dll"
HKCR,"CLSID\%GAMMACLSID%\InProcServer32",ThreadingModel,,"Apartment"
;; ---------- Next line to remove possible duplicate shellext ------------
HKLM,"%CURVER%\%1%\Display\shellex\PropertySheetHandlers\S3Gamma",,,
HKLM,"%CURVER%\%1%\Display\shellex\PropertySheetHandlers\S3 Gamma","",,"%GAMMACLSID%"
HKLM,"%S3GKEY%","Installed",,"1"
HKLM,"%S3GKEY%","Filename",,"S3Gamma.dll"
HKLM,"%S3GKEY%","UtilityName",,"%GAMMANAME%"

;; ---------- Following lines are uninstall information ------------
HKLM,"Software\S3\S3Uninst\S3 Gamma","10.DelKey",,"HKLM\%S3GKEY%"
HKLM,"Software\S3\S3Uninst\S3 Gamma","11.DelKey",,"HKCR\CLSID\%GAMMACLSID%"
HKLM,"Software\S3\S3Uninst\S3 Gamma","12.DelKey",,"HKLM\%CURVER%\Uninstall\S3 Gamma"
HKLM,"Software\S3\S3Uninst\S3 Gamma","13.DelKey",,"HKLM\%CURVER%\%1%\Display\shellex\PropertySheetHandlers\S3 Gamma"
HKLM,"Software\S3\S3Uninst\S3 Gamma","20.DelFiles",,"%11%\S3Gamma.dll"
HKLM,"Software\S3\S3Uninst\S3 Gamma","21.DelFiles",,"%18%\S3Gam*.hlp"
HKLM,"Software\S3\S3Uninst\S3 Gamma","22.DelFiles",,"%10%\S3Gamma.cfg"
HKLM,"Software\S3\S3Uninst\S3 Gamma","23.DelFiles",,"%17%\S3Gamma.?nf"

[S3GammaCleanNT.DelReg]
;; ---------- Next line to remove possible duplicate shellext ------------
HKLM,"%CURVER%\%1%\Display\shellex\PropertySheetHandlers\S3Gamma"

