; INF file for S3 Twister Win9x Display Driver.
; Copyright 2001, S3 Graphics Inc.

[Version]
Class=Display
Signature="$CHICAGO$"
Provider=%Mfg%
DriverVer = 01/24/2002, 4.13.01.3025
CatalogFile=twister.cat

[DestinationDirs]
DefaultDestDir=11
Info2Sys.Copy=11
Info2Hlp.Copy=18
S3DispSys.Copy=11
S3DispHlp.Copy=18
GAMMA2copy.sys=11
GAMMA2copy.hlp=18



S3UninstSys.Copy=11

[SourceDisksNames]
51="Windows 95/98 S3 Driver Disk",,1



[SourceDisksFiles]
s3_8m.drv=51
s3_8m.dll=51
s3vdd8m.vxd=51
s3hav.dll=51
s3vid.dll=51
dvideo.dll=51
viagart.vxd=51
nbicd.dll=51

s3info2.dll=51
s3info2.cfg=51
s3in2wst.hlp=51
s3in2chs.hlp=51
s3in2cht.hlp=51
s3in2jpn.hlp=51
s3in2kor.hlp=51

gtf.dll=51

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

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



S3uninst.exe = 51


;----------------------------------------
; Manufacturers

;; ************* The following section is for Win9X only ***************

;; The DefaultInstall section does not need to go in driver INF!
[Manufacturer]
"%Mfg%"=Mfg

;----------------------------------------
; Driver sections

[Mfg]
%S3380.DeviceDesc%= S3_8, PCI\VEN_5333&DEV_8D01
%S3387.DeviceDesc%= S3_8, PCI\VEN_5333&DEV_8D02
;----------------------------------------
; Install sections
;---------------------------------Twister

[S3_8]
DelReg=DEL_CURRENT_REG, S3_Savage4_AddReg, S3Disp.AddReg, Info2.AddReg, S3Gamma2.AddReg
DelFiles  = S3_3_CopyFiles, Info2Hlp.Copy, Info2Sys.Copy, S3DispHlp.Copy, S3DispSys.Copy, GAMMA2copy.hlp, GAMMA2copy.sys
AddReg = S3_8_AddReg, S3_Savage4_AddReg, S3Disp.AddReg, Info2.AddReg, S3Gamma2.AddReg
CopyFiles = S3_3_CopyFiles, Info2Hlp.Copy, Info2Sys.Copy, S3DispHlp.Copy, S3DispSys.Copy, GAMMA2copy.hlp, GAMMA2copy.sys,  S3UninstSys.Copy
UpdateInis=DV_Ini

[DV_Ini]
system.ini, drivers32,,"Vids.draw=dvideo.dll",0
system.ini,386Enh,,"EMMEXCLUDE=C000-CFFF"


[S3_Savage4_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

;----------------------------------------
; Common AddReg sections

[DEL_CURRENT_REG]
HKR,,DevLoader,0,
HKR,,Ver,0,
HKR,DEFAULT,,0,
HKR,MODES,,0,
HKR,CURRENT,,0,
HKLM,SOFTWARE\S3
HKLM,Software\Microsoft\Windows\CurrentVersion\OpenGLdrivers,SavageNB,,,


[Info2.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

;; -------------------- Uninstallation information ---------------------
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

;; ----------- The following lines are only for Win98 ------------------
HKR,shellex\PropertySheetHandlers\S3Info2,"",,%INFO2CLS%
HKR,Utils\S3Info2,URL,,http://www.s3graphics.com
HKR,Utils\S3Info2,UMAEnabled,,ON

[S3Disp.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%,URL,,http://www.s3graphics.com

;; -------------------- Uninstallation information ---------------------
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

;; ----------- The following lines are only for Win98 ------------------
HKR,shellex\PropertySheetHandlers\S3Display,"",,%S3DISPCLS%



[S3Gamma2.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

;; ---------- Following lines are uninstall information ------------
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

;; --- Following lines for Win98, won't work if installed as Standalone ---
HKR,shellex\PropertySheetHandlers\S3Gamma2,"",,%GM2CLSID%
HKR,Utils\S3Gamma2,URL,,http://www.s3graphics.com


[S3_8_AddReg]
HKR,,Ver,,4.0
HKR,,DevLoader,,*vdd
HKR,DEFAULT,Mode,,"16,640,480"
HKR,DEFAULT,drv,,s3_8m.drv
HKR,DEFAULT,vdd,,"*vdd,*vflatd"
HKR,DEFAULT,minivdd,,s3vdd8m.vxd
HKR,DEFAULT,RefreshRate,,"-1"
HKR,DEFAULT,DDC,,"1"
HKR,DEFAULT,REPOST,,"1"
HKR,DEFAULT,NATIVE,0x00010001,0
HKR,"MODES\8\640,480"   ,,,"60,72,75,85"
HKR,"MODES\8\800,600"   ,,,"60,72,75,85"
HKR,"MODES\8\1024,768"  ,,,"60,70,75,85"
HKR,"MODES\8\1280,1024" ,,,"60,75"
HKR,"MODES\8\1400,1050" ,,,"60,75"
HKR,"MODES\8\1600,1200" ,,,"60"
HKR,"MODES\16\640,480"  ,,,"60,72,75,85"
HKR,"MODES\16\800,600"  ,,,"60,72,75,85"
HKR,"MODES\16\1024,768" ,,,"60,70,75,85"
HKR,"MODES\16\1280,1024",,,"60,75"
HKR,"MODES\16\1400,1050",,,"60,75"
HKR,"MODES\16\1600,1200",,,"60"
HKR,"MODES\32\640,480"  ,,,"60,72,75,85"
HKR,"MODES\32\800,600"  ,,,"60,72,75,85"
HKR,"MODES\32\1024,768" ,,,"60,70,75,85"
HKR,"MODES\32\1280,1024",,,"60,75"
HKR,"MODES\32\1400,1050",,,"60"
HKLM,Software\Microsoft\Windows\CurrentVersion\OpenGLdrivers,SavageNB,,nbicd.dll

;FIFO
HKLM,SOFTWARE\S3\Multimedia\NBFIFO\160,"CR92",1,80
HKLM,SOFTWARE\S3\Multimedia\NBFIFO\160,"CR93",1,7f
HKLM,SOFTWARE\S3\Multimedia\NBFIFO\320,"CR92",1,80
HKLM,SOFTWARE\S3\Multimedia\NBFIFO\320,"CR93",1,59
HKLM,SOFTWARE\S3\Multimedia\NBFIFO\360,"CR92",1,80
HKLM,SOFTWARE\S3\Multimedia\NBFIFO\360,"CR93",1,6f
HKLM,SOFTWARE\S3\Multimedia\NBFIFO\640,"CR92",1,80
HKLM,SOFTWARE\S3\Multimedia\NBFIFO\640,"CR93",1,a1
HKLM,SOFTWARE\S3\Multimedia\NBFIFO\720,"CR92",1,80
HKLM,SOFTWARE\S3\Multimedia\NBFIFO\720,"CR93",1,b3

;Overlay
HKLM,SOFTWARE\S3\Multimedia\ProSavage\Overlay\PC100,1024x768x32,,"OFF"
HKLM,SOFTWARE\S3\Multimedia\ProSavage\Overlay\PC100,1280x1024x16,,"60"
HKLM,SOFTWARE\S3\Multimedia\ProSavage\Overlay\PC100,1400x1050x16,,"60"
HKLM,SOFTWARE\S3\Multimedia\ProSavage\Overlay\PC100,1600x1200x8,,"OFF"
HKLM,SOFTWARE\S3\Multimedia\ProSavage\Overlay\PC100,1600x1200x16,,"OFF"

HKLM,SOFTWARE\S3\Multimedia\ProSavage\Overlay\PC133,1024x768x32,,"70"
HKLM,SOFTWARE\S3\Multimedia\ProSavage\Overlay\PC133,1280x1024x16,,"60"
HKLM,SOFTWARE\S3\Multimedia\ProSavage\Overlay\PC133,1280x1024x32,,"OFF"
HKLM,SOFTWARE\S3\Multimedia\ProSavage\Overlay\PC133,1400x1050x16,,"60"
HKLM,SOFTWARE\S3\Multimedia\ProSavage\Overlay\PC133,1400x1050x32,,"OFF"
HKLM,SOFTWARE\S3\Multimedia\ProSavage\Overlay\PC133,1600x1200x8,,"60"
HKLM,SOFTWARE\S3\Multimedia\ProSavage\Overlay\PC133,1600x1200x16,,"OFF"
;----------------------------------------
; CopyFiles sections

[S3_3_CopyFiles]
s3_8m.drv
s3_8m.dll
s3vdd8m.vxd
s3hav.dll
s3vid.dll
dvideo.dll
viagart.vxd
nbicd.dll
gtf.dll

[Info2Sys.Copy]
S3Info2.dll
S3Info2.cfg

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

[S3DispSys.Copy]
S3Disply.dll
S3Disply.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


[Strings]
Mfg="S3 Graphics, Inc."
S3380.DeviceDesc= "S3 Graphics Twister"
S3387.DeviceDesc= "S3 Graphics Twister K"

CtrlFld    = "Controls Folder"
CURVER     = "Software\Microsoft\Windows\CurrentVersion"

INFO2CLS   = "{48429801-16E6-11d4-8ECD-00609784BD62}"
INFO2NAME  = "S3Info2"
INFO2KEY   = "SOFTWARE\S3\S3Info2"

S3DISPCLS  = "{a3b69838-fc13-48b9-9438-beaf0eda660a}"
S3DISPNAME = "S3Display"
S3DSPKEY   = "SOFTWARE\S3\S3Display"

SGm2Desc  = "S3Gamma2"
GM2CLSID  = "{46b23a80-2895-11d3-bfcb-00aa0022f384}"
S3G2KEY   = "SOFTWARE\S3\S3Gamma2"



[S3UninstSys.Copy]
S3uninst.exe

