; SSAV5333.INF with utilities, for S3
;
; WindowsXP/Windows2000 installation file (.INF) for the S3 Graphics, Inc. display driver
; for SuperSavage.
;
; Copyright (c) 1999-2000 by S3 Incorporated.
; Copyright (c) 2001-2002 by S3 Graphics, Inc.
;

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

[ControlFlags]
; 584 SuperSavage /IXC SDR
ExcludeFromSelect = PCI\VEN_5333&DEV_8C2E
; Engineering
; 508 SuperSavage 128/MX Engineering
; ExcludeFromSelect = PCI\VEN_5333&DEV_8C22
; 544 SuperSavage 128/IX Engineering
; ExcludeFromSelect = PCI\VEN_5333&DEV_8C2A
; 564 SuperSavage /IX Engineering
; ExcludeFromSelect = PCI\VEN_5333&DEV_8C2C
; 594 SuperSavage /IXC DDR Engineering
; ExcludeFromSelect = PCI\VEN_5333&DEV_8C2F

[DestinationDirs]
DefaultDestDir       = 11
S3SSavage.Miniport   = 12   ; drivers
S3SSavage.Display    = 11   ; system32
S3SSavage.Icd        = 11
; ==S3Display Utility==
S3DispSys.Copy       = 11
S3DispHlp.Copy       = 18
; ==S3Gamma2 Utility==
GAMMA2copy.sys       = 11
GAMMA2copy.hlp       = 18
; ==S3Info2 Utility==
Info2Sys.Copy        = 11
Info2Hlp.Copy        = 18
; ==S3Turbo Utility==
S3PwrSys.Copy       = 11
S3PwrHlp.Copy       = 18
; ==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]
; 86C584 General IXC SDRAM
S3 Graphics SuperSavage/IXC = S3SSavage, PCI\VEN_5333&DEV_8C2E
; Engineering
; 86C508 SuperSavage 128/MX
; S3 Graphics SuperSavage/MX Engineering= S3SSavage, PCI\VEN_5333&DEV_8C22
; 86C544 SuperSavage 128/IX
; S3 Graphics SuperSavage 128/IX Engineering = S3SSavage, PCI\VEN_5333&DEV_8C2A
; 86C564 SuperSavage /IX
; S3 Graphics SuperSavage/IX Engineering = S3SSavage, PCI\VEN_5333&DEV_8C2C
; 86C594 SuperSavage/IXC DDR
; S3 Graphics SuperSavage/IXC DDR Engineering = S3SSavage, PCI\VEN_5333&DEV_8C2F

;
; General installation section
;

[S3SSavage]
CopyFiles =S3SSavage.Miniport, S3SSavage.Display, S3SSavage.Icd, S3DispHlp.Copy, S3DispSys.Copy, GAMMA2copy.hlp, GAMMA2copy.sys, Info2Hlp.Copy, Info2Sys.Copy, S3PwrHlp.Copy, S3PwrSys.Copy, S3UninstSys.Copy
AddReg = S3ICDCommon.AddReg, S3DispNT.AddReg, S3Gamma2NT.AddReg, Info2NT.AddReg,S3PwrNT.AddReg
DelFiles=S3SSavage.DelFiles

;
; File sections
;

[S3SSavage.Miniport]
s3ssavm.sys     ; miniport driver

[S3SSavage.Display]
s3ssav.dll      ; display driver
s3hotkey.exe    ; hotkey handler application

[S3SSavage.Icd]
ssicdnt.dll     ; OpenGL ICD driver

[S3DispSys.Copy]
S3Disply.dll
S3Disply.cfg
S3Displ2.cfg

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

[GAMMA2copy.sys]
S3Gamma2.dll
S3Gamma2.cfg

[GAMMA2copy.hlp]
S3Gm2WST.hlp
S3Gm2CHS.hlp
S3Gm2CHT.hlp
S3Gm2JPN.hlp
S3Gm2KOR.hlp

[Info2Sys.Copy]
S3Info2.dll
S3Info2.cfg

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

[S3PwrSys.Copy]
S3Power.dll
S3Power.cfg

[S3PwrHlp.Copy]
S3PwrWST.hlp

[S3UninstSys.Copy]
S3uninst.exe

[S3SSavage.DelFiles]
s3appdll.dll

[S3SSavage.GeneralConfigData]
MaximumDeviceMemoryConfiguration=128
MaximumNumberOfDevices          = 2
; MaximumNumberOfDevices needed for WindowsXP single-adapter multimonitor support.

;
; Service Installation
;

[S3SSavage.Services]
AddService = S3SSavage, 0x00000002, S3SSavage_Service_Inst, S3SSavage_EventLog_Inst

[S3SSavage_Service_Inst]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Video
ServiceBinary  = %12%\s3ssavm.sys

[S3SSavage_EventLog_Inst]
AddReg = S3SSavage_EventLog_AddReg

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

;
; Software Installation
;
[S3SSavage.SoftwareSettings]
AddReg = S3SSavage_HotkeySettings
AddReg = S3SSavage_SoftwareDeviceSettings
DelReg = S3SSavage_UserPreferences 
DelReg = S3SSavage_ObsoleteSettings

;
; SupportSAMM is a key applicable to WinXP driver only.
;
[S3SSavage_SoftwareDeviceSettings]
HKR,, InstalledDisplayDrivers,      %REG_MULTI_SZ%, S3SSav
HKR,, VgaCompatible,                %REG_DWORD%,    0
HKR,, SupportIcd,                   %REG_DWORD%,    1
HKR,, SupportSAMM,                  %REG_DWORD%,    1
HKR,, UseAGPDMA,                    %REG_DWORD%,    1

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

; user-selected preferences reset to default settings upon installing a new driver
; Note: DisableSAMMTV and DisableSAMMDVI apply only to WindowsXP
;
[S3SSavage_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

; for clean-up of obsolete keys left over from older drivers
[S3SSavage_ObsoleteSettings]
HKR,, SoftwareTextClip
HKR,, AutoPowerSupport
HKR,, PowerSaveSelection
HKR,, BCIBootCount
HKR,, DMABootCount
HKR,, Ses_BCI
HKR,, Ses_DMA
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Run,S3TRAY2,,"S3Tray2.exe"

;
; Source file information
;

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

[SourceDisksFiles]
s3ssavm.sys         = 1     ; all files on Disk 1
s3ssav.dll          = 1
ssicdnt.dll         = 1
s3hotkey.exe        = 1
; == S3Display utility
S3Disply.dll        = 1
S3Disply.cfg        = 1
S3Displ2.cfg        = 1
S3DspWST.hlp        = 1
S3DspCHS.hlp        = 1
S3DspCHT.hlp        = 1
S3DspJPN.hlp        = 1
S3DspKOR.hlp        = 1
; == S3Gamma2 utility==
S3Gamma2.dll        = 1
S3Gamma2.cfg        = 1
S3Gm2WST.hlp        = 1
S3Gm2CHS.hlp        = 1
S3Gm2CHT.hlp        = 1
S3Gm2JPN.hlp        = 1
S3Gm2KOR.hlp        = 1
; == S3Info2 utility
s3info2.dll         = 1
s3info2.cfg         = 1
s3in2wst.hlp        = 1
s3in2chs.hlp        = 1
s3in2cht.hlp        = 1
s3in2jpn.hlp        = 1
s3in2kor.hlp        = 1
; == other utilities
S3Power.dll         = 1
S3Power.cfg         = 1
S3PwrWST.hlp        = 1
S3uninst.exe        = 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)"
WinNTDir    = "Windows NT"
S3ICDKEY    = "S3SuperSavageICD"
CtrlFld     = "Controls Folder"
CURVER      = "Software\Microsoft\Windows\CurrentVersion"
;; Strings specific to S3Display utility
S3DISPNAME = "S3Display"
S3DISPCLS  = "{a3b69838-fc13-48b9-9438-beaf0eda660a}"
S3DSPKEY   = "SOFTWARE\S3\S3Display"
;; Strings specific to S3Gamma2 utility
SGm2Desc  = "S3Gamma2"
GM2CLSID  = "{46b23a80-2895-11d3-bfcb-00aa0022f384}"
S3G2KEY   = "SOFTWARE\S3\S3Gamma2"
;; Strings specific to S3Info2 utility
INFO2NAME  = "S3Info2"
INFO2CLS   = "{48429801-16E6-11d4-8ECD-00609784BD62}"
INFO2KEY   = "SOFTWARE\S3\S3Info2"
;; Strings specific to S3Turbo utility
S3TurbCLS  = "{662df040-5b7b-11d6-b3d8-00d0b7731fdb}"
S3PowrCLS  = "{0DF060A0-052E-11d6-B3D8-00D0B7731FDB}"
S3PwrNAME  = "S3Power"
S3PwrKEY   = "SOFTWARE\S3\S3Power"

;
; OpenGL ICD Installation
;
[S3ICDCommon.AddReg]
HKLM,Software\Microsoft\%WinNTDir%\CurrentVersion\OpenGLdrivers,%S3ICDKEY%,,"ssicdnt"

;
; Utilities Installation
;
;; ---------- The following section is for NT/Win2K/WinXP S3Display ------------
[S3DispNT.AddReg]
HKLM,%CURVER%\Uninstall\S3Display,DisplayName,,%S3DISPNAME%
HKLM,%CURVER%\Uninstall\S3Display,UninstallString,,"s3uninst.exe -reg 5 'HKLM\Software\S3\S3Uninst\S3Display'"
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
HKLM,%S3DSPKEY%,ConfigNum,,0
HKLM,%S3DSPKEY%,UpdateDisplayProps,,1
HKLM,%S3DSPKEY%,URL,,http://www.s3graphics.com

;; -------------------- Uninstall information, S3Display ---------------------
HKLM,"Software\S3\S3Uninst\S3Display","10.DelKey",,HKLM\%S3DSPKEY%
HKLM,"Software\S3\S3Uninst\S3Display","11.DelKey",,HKCR\CLSID\%S3DISPCLS%
HKLM,"Software\S3\S3Uninst\S3Display","12.DelKey",,HKLM\%CURVER%\Uninstall\S3Display
HKLM,"Software\S3\S3Uninst\S3Display","13.DelKey",,HKLM\%CURVER%\%CtrlFld%\Display\shellex\PropertySheetHandlers\S3Display
HKLM,"Software\S3\S3Uninst\S3Display","20.DelFiles",,%11%\S3Disply.dll
HKLM,"Software\S3\S3Uninst\S3Display","21.DelFiles",,%18%\S3Dsp*.hlp
HKLM,"Software\S3\S3Uninst\S3Display","22.DelFiles",,%11%\S3Disply.cfg
HKLM,"Software\S3\S3Uninst\S3Display","23.DelFiles",,%17%\S3Disply.?nf
HKLM,"Software\S3\S3Uninst\S3Display","24.DelFiles",,%17%\S3Tray2.exe
HKLM,"Software\S3\S3Uninst\S3Display","25.DelFiles",,%17%\S3appdll.dll
HKLM,"Software\S3\S3Uninst\S3Display","26.DelReg",,"HKLM\Software\Microsoft\Windows\CurrentVersion\Run\S3TRAY2"
HKLM,"Software\S3\S3Uninst\S3Display","27.DelFiles",,%11%\S3Displ2.cfg

;; ---------- The following section is for NT/Win2K/WinXP S3Gamma2 -------------
[S3Gamma2NT.AddReg]
HKLM,"%CURVER%\Uninstall\S3Gamma2",DisplayName,,"%SGm2Desc%"
HKLM,"%CURVER%\Uninstall\S3Gamma2","UninstallString",,"s3uninst.exe -reg 5 'HKLM\Software\S3\S3Uninst\S3Gamma2'"
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"
HKLM,"%S3G2KEY%","URL",,"http://www.s3graphics.com"

;; -------------------- Uninstall information, S3Gamma2 ---------------------
HKLM,"Software\S3\S3Uninst\S3Gamma2","10.DelKey",,"HKLM\%S3G2KEY%"
HKLM,"Software\S3\S3Uninst\S3Gamma2","11.DelKey",,"HKCR\CLSID\%GM2CLSID%"
HKLM,"Software\S3\S3Uninst\S3Gamma2","12.DelKey",,"HKLM\%CURVER%\Uninstall\S3Gamma2"
HKLM,"Software\S3\S3Uninst\S3Gamma2","13.DelKey",,"HKLM\%CURVER%\%CtrlFld%\Display\shellex\PropertySheetHandlers\S3Gamma2"
HKLM,"Software\S3\S3Uninst\S3Gamma2","20.DelFiles",,"%11%\S3Gamma2.dll"
HKLM,"Software\S3\S3Uninst\S3Gamma2","21.DelFiles",,"%18%\S3Gm2*.hlp"
HKLM,"Software\S3\S3Uninst\S3Gamma2","22.DelFiles",,"%11%\S3Gamma2.cfg"
HKLM,"Software\S3\S3Uninst\S3Gamma2","23.DelFiles",,"%17%\S3Gamma2.?nf"

;; ---------- The following section is for NT/Win2K/WinXP S3Info2 ------------
[Info2NT.AddReg]
HKLM,%CURVER%\Uninstall\S3Info2,DisplayName,,%INFO2NAME%
HKLM,%CURVER%\Uninstall\S3Info2,UninstallString,,"s3uninst.exe -reg 5 'HKLM\Software\S3\S3Uninst\S3Info2'"
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
HKLM,%INFO2KEY%,URL,,http://www.s3graphics.com

;; -------------------- Uninstall information, S3Info2 ---------------------
HKLM,"Software\S3\S3Uninst\S3Info2","10.DelKey",,HKLM\%INFO2KEY%
HKLM,"Software\S3\S3Uninst\S3Info2","11.DelKey",,HKCR\CLSID\%INFO2CLS%
HKLM,"Software\S3\S3Uninst\S3Info2","12.DelKey",,HKLM\%CURVER%\Uninstall\S3Info2
HKLM,"Software\S3\S3Uninst\S3Info2","13.DelKey",,HKLM\%CURVER%\%CtrlFld%\Display\shellex\PropertySheetHandlers\S3Info2
HKLM,"Software\S3\S3Uninst\S3Info2","20.DelFiles",,%11%\S3Info2.dll
HKLM,"Software\S3\S3Uninst\S3Info2","21.DelFiles",,%18%\S3In2*.hlp
HKLM,"Software\S3\S3Uninst\S3Info2","22.DelFiles",,%11%\S3Info2.cfg
HKLM,"Software\S3\S3Uninst\S3Info2","23.DelFiles",,%17%\S3Info2.?nf

[S3PwrNT.AddReg]
HKLM,%CURVER%\Uninstall\S3Power,DisplayName,,%S3PwrNAME%
HKLM,%CURVER%\Uninstall\S3Power,UninstallString,,"s3uninst.exe -reg 5 'HKLM\Software\S3\S3Uninst\S3Power'"
HKCR,CLSID\%S3TurbCLS%,,,"S3Turbo Property Sheet"
HKCR,CLSID\%S3TurbCLS%\InProcServer32,,,S3Power.dll
HKCR,CLSID\%S3TurbCLS%\InProcServer32,ThreadingModel,,Apartment
HKLM,%CURVER%\%CtrlFld%\Display\shellex\PropertySheetHandlers\S3Turbo,"",,%S3TurbCLS%
HKCR,CLSID\%S3PowrCLS%,,,"S3Power Property Sheet"
HKCR,CLSID\%S3PowrCLS%\InProcServer32,,,S3Power.dll
HKCR,CLSID\%S3PowrCLS%\InProcServer32,ThreadingModel,,Apartment
HKLM,%CURVER%\%CtrlFld%\Display\shellex\PropertySheetHandlers\S3PowerWise,"",,%S3PowrCLS%
HKLM,%S3PwrKEY%,Filename,,S3Power.dll
HKLM,%S3PwrKEY%,URL,,http://www.s3graphics.com

;; -------------------- Uninstallation information ---------------------
HKLM,"Software\S3\S3Uninst\S3Power","10.DelKey",,HKLM\%S3PwrKEY%
HKLM,"Software\S3\S3Uninst\S3Power","11.DelKey",,HKCR\CLSID\%S3TurbCLS%
HKLM,"Software\S3\S3Uninst\S3Power","11.DelKey",,HKCR\CLSID\%S3PowrCLS%
HKLM,"Software\S3\S3Uninst\S3Power","12.DelKey",,HKLM\%CURVER%\Uninstall\S3Power
HKLM,"Software\S3\S3Uninst\S3Power","13.DelKey",,HKLM\%CURVER%\%CtrlFld%\Display\shellex\PropertySheetHandlers\S3PowerWise
HKLM,"Software\S3\S3Uninst\S3Power","20.DelFiles",,%11%\S3Power.dll
HKLM,"Software\S3\S3Uninst\S3Power","21.DelFiles",,%18%\S3Pwr*.hlp
HKLM,"Software\S3\S3Uninst\S3Power","22.DelFiles",,%11%\S3Power.cfg
HKLM,"Software\S3\S3Uninst\S3Power","23.DelFiles",,%17%\S3Power.?nf

