; simFUSION.inf
;
; Installation inf for Evans & Sutherland graphics adapters
;
; © Copyright 2003 Evans & Sutherland Computer Corporation *
; All rights reserved


[Version]
Signature="$Windows NT$"
Provider=%EandS%
ClassGUID={4D36E968-E325-11CE-BFC1-08002BE10318}
Class=Display
DriverVer=02/24/2004,%sfDriverVersion%

[DestinationDirs]
DefaultDestDir                  = 11    ; system32
SIMFUSION.Display               = 11    ; system32
SIMFUSION.Miniport              = 12    ; system32\drivers
SIMFUSION.OpenGL                = 11    ; system32
SIMFUSION.DeleteOPENsimInitFile = 16408 ; All Users\Start Menu\Programs\Startup
SIMFUSION.DeletesimSETUPFile    = 16409 ; All Users\Desktop
SIMFUSION.DeleteExtras          = 16422 ; Program Files
SIMFUSION.DeleteFromSys32       = 11    ; system32

[ControlFlags]
ExcludeFromSelect=*

;
; Driver information
;

[Manufacturer]
%EandS% = EandS.Mfg

[EandS.Mfg]
%EandS% simFUSION OPENsim 5000q = SF5000, PCI\VEN_1002&DEV_0502
%EandS% simFUSION OPENsim 5000q = SF5000, PCI\VEN_1002&DEV_0504
%EandS% simFUSION OPENsim 5000d = SF5000, PCI\VEN_1002&DEV_0501
%EandS% simFUSION OPENsim 5000d = SF5000, PCI\VEN_1002&DEV_0503
%EandS% simFUSION OPENsim 6000q = SF6000, PCI\VEN_1002&DEV_0508
%EandS% simFUSION OPENsim 6000d = SF6000, PCI\VEN_1002&DEV_0507
%EandS% simFUSION OPENsim 6500q = SF6500, PCI\VEN_1002&DEV_050a
%EandS% simFUSION OPENsim 6500d = SF6500, PCI\VEN_1002&DEV_0509

;
; General installation sections
;

[SF5000]
CopyFiles = SIMFUSION.Miniport, SIMFUSION.Display, SIMFUSION.OpenGL

DelFiles  = SIMFUSION.DeleteOPENsimInitFile, SIMFUSION.DeletesimSETUPFile, SIMFUSION.DeleteExtras, SIMFUSION.DeleteFromSys32

UninstallFiles = SIMFUSION.Miniport, SIMFUSION.Display, SIMFUSION.OpenGL

UninstallReg   = SIMFUSION_RegistrySettings, SIMFUSION_DelReg, SF5000_RegistrySettings

[SF6000]
CopyFiles = SIMFUSION.Miniport, SIMFUSION.Display, SIMFUSION.OpenGL

DelFiles  = SIMFUSION.DeleteOPENsimInitFile, SIMFUSION.DeletesimSETUPFile, SIMFUSION.DeleteExtras, SIMFUSION.DeleteFromSys32

UninstallFiles = SIMFUSION.Miniport, SIMFUSION.Display, SIMFUSION.OpenGL

UninstallReg   = SIMFUSION_RegistrySettings, SIMFUSION_DelReg, SF6000_RegistrySettings

[SF6500]
CopyFiles = SIMFUSION.Miniport, SIMFUSION.Display, SIMFUSION.OpenGL

DelFiles  = SIMFUSION.DeleteOPENsimInitFile, SIMFUSION.DeletesimSETUPFile, SIMFUSION.DeleteExtras, SIMFUSION.DeleteFromSys32

UninstallFiles = SIMFUSION.Miniport, SIMFUSION.Display, SIMFUSION.OpenGL

UninstallReg   = SIMFUSION_RegistrySettings, SIMFUSION_DelReg, SF6500_RegistrySettings


;
; File sections
;

[SIMFUSION.Miniport]
essfMini.sys

[SIMFUSION.Display]
essfDisp.dll
essfr3xdx.dll
essfr2xdx.dll
fmadt_0224.bit
sfmat_021304.bit

[SIMFUSION.OpenGL]
essfogl.dll

[SIMFUSION.DeleteFromSys32]
ESLoadRvp.exe
OPENsimInit.exe

[SIMFUSION.DeletesimSETUPFile]
simSETUP.exe

[SIMFUSION.DeleteOPENsimInitFile]
OPENsimInit.lnk
OPENsim Init.exe
OPENsimInit.exe

[SIMFUSION.DeleteExtras]
E&S\simFUSION 0.0\Docs\Registry.htm
E&S\simFUSION 0.0\Docs\EnhancedVideo.htm
E&S\simFUSION 0.0\Docs\EnhancedVideo_files\filelist.xml
E&S\simFUSION 0.0\Docs\EnhancedVideo_files\image001.png
E&S\simFUSION 0.0\Docs\EnhancedVideo_files\image002.jpg
E&S\simFUSION 0.0\Docs\EnhancedVideo_files\image003.png
E&S\simFUSION 0.0\Docs\EnhancedVideo_files\image004.jpg
E&S\simFUSION 0.0\Docs\EnhancedVideo_files\image005.png
E&S\simFUSION 0.0\Docs\EnhancedVideo_files\image006.jpg
E&S\simFUSION 0.0\Docs\EnhancedVideo_files\image007.png
E&S\simFUSION 0.0\Docs\EnhancedVideo_files\image008.jpg
E&S\simFUSION 0.0\Docs\Copyright.txt


;
; Service Installation
;

[SF5000.Services]
AddService = simFUSION, 0x00000002, SIMFUSION_Service_Inst, SIMFUSION_EventLog_Inst

[SF6000.Services]
AddService = simFUSION, 0x00000002, SIMFUSION_Service_Inst, SIMFUSION_EventLog_Inst

[SF6500.Services]
AddService = simFUSION, 0x00000002, SIMFUSION_Service_Inst, SIMFUSION_EventLog_Inst

[SIMFUSION_Service_Inst]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
LoadOrderGroup = Video
ServiceBinary  = %12%\essfMini.sys

[SIMFUSION_EventLog_Inst]
AddReg = sf_EventLog_AddReg

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

;
; Software Installation
;

[SF5000.SoftwareSettings]
DelReg = SIMFUSION_Delete_RegistrySettings
DelReg = SF6000_RegistrySettings
DelReg = SF6500_RegistrySettings
AddReg = SIMFUSION_RegistrySettings
AddReg = SF5000_RegistrySettings

[SF6000.SoftwareSettings]
DelReg = SIMFUSION_Delete_RegistrySettings
DelReg = SF5000_RegistrySettings
DelReg = SF6500_RegistrySettings
AddReg = SIMFUSION_RegistrySettings
AddReg = SF6000_RegistrySettings

[SF6500.SoftwareSettings]
DelReg = SIMFUSION_Delete_RegistrySettings
DelReg = SF5000_RegistrySettings
DelReg = SF6000_RegistrySettings
AddReg = SIMFUSION_RegistrySettings
AddReg = SF6500_RegistrySettings

;
; Device specific registry settings
;

[SF5000_RegistrySettings]
HKR,,DisableDynamicEnableMode, %REG_DWORD%, 1
HKR,, GenlockMethod, %REG_DWORD%, 1
HKR, "simFUSION", ForceNoCheckCompressTexFormats,   %REG_DWORD%, 1
HKR, "simFUSION", ForceNoColorBufClear,             %REG_DWORD%, 0
HKR, "simFUSION", ForceTexSubImageSize,             %REG_DWORD%, 0
HKR, "simFUSION", MultiTransparency,                %REG_DWORD%, 0 

[SF6000_RegistrySettings]
HKR,, SupertilingMode,                      %REG_DWORD%, 0
HKR,, GenlockMethod,                        %REG_DWORD%, 2
HKR,, DisableDualView,                      %REG_DWORD%, 1
HKR, "simFUSION", EnableAlphaToCoverage,    %REG_DWORD%, 0
HKR, "simFUSION", DisableMicroTiling,       %REG_DWORD%, 0
HKR, "simFUSION", DisableAlphaBlending,     %REG_DWORD%, 0
HKR, "simFUSION", WDepthBuffer,             %REG_DWORD%, 0

[SF6500_RegistrySettings]
HKR,, SupertilingMode,                      %REG_DWORD%, 0
HKR,, GenlockMethod,                        %REG_DWORD%, 2
HKR,, DisableDualView,                      %REG_DWORD%, 1
HKR, "simFUSION", EnableAlphaToCoverage,    %REG_DWORD%, 0
HKR, "simFUSION", DisableMicroTiling,       %REG_DWORD%, 0
HKR, "simFUSION", DisableAlphaBlending,     %REG_DWORD%, 0
HKR, "simFUSION", WDepthBuffer,             %REG_DWORD%, 0

;
; Registry settings common across all simFUSION devices
;

[SIMFUSION_RegistrySettings]
HKR,, InstalledDisplayDrivers,                  %REG_MULTI_SZ%, essfDisp
HKR,, drv,, "essfDisp.dll"
HKR,, DriverVersion,                            %REG_EXPAND_SZ%, "%sfDriverVersion%"
HKR,, FilterMicrocodeMaster,                    %REG_EXPAND_SZ%, "\??\%11%\fmadt_0224.bit"
HKR,, FilterMicrocodeSlave,                     %REG_EXPAND_SZ%, "\??\%11%\sfmat_021304.bit"
HKR,, SwapInterval,                             %REG_DWORD%, 1
HKR,, EnhancedVideoMode,                        %REG_DWORD%, 0
HKR,, VisualEnhancements_Capabilities,          %REG_DWORD%, 0
HKR,, OverlapEnable,                            %REG_DWORD%, 0
HKR,, OverlapPixels,                            %REG_DWORD%, 0
HKR,, SpatialTileMode,                          %REG_DWORD%, 0 
HKR,, SpatialTileLeft,                          %REG_DWORD%, 0 
HKR,, SpatialTileRight,                         %REG_DWORD%, 0 
HKR,, SpatialTileTop,                           %REG_DWORD%, 0
HKR,, SpatialTileBottom,                        %REG_DWORD%, 0
HKR,, ChanlockMode,                             %REG_DWORD%, 0
HKR,, BenchmarkMode,                            %REG_DWORD%, 1
HKR,, DisableAGPFW,                             %REG_DWORD%, 1
HKR,, DisablePM4TSInterrupt,                    %REG_DWORD%, 1
HKR,, SyncMode,                                 %REG_DWORD%, 2
HKR,, SensorMode,                               %REG_DWORD%, 0
HKR,, DALRULE_DISPLAYSRESTRICTMODESLARGEDESKTOP,%REG_DWORD%, 1
HKR,, DALLargeDesktopModesBCD,                  %REG_BINARY%, 16,00,06,00,00,00,00,60,\
                                                              20,48,07,68,00,00,00,60,\
                                                              23,04,08,64,00,00,00,60,\
                                                              25,60,10,24,00,00,00,60,\
                                                              32,00,12,00,00,00,00,60

HKR,, DALRestrictedModesBCD,                    %REG_BINARY%, 20,48,15,36,00,00,00,00,\
                                                              19,20,10,80,00,00,00,00,\
                                                              19,20,12,00,00,00,00,00,\
                                                              18,00,14,40,00,00,00,00,\
                                                              17,92,13,44,00,00,00,00
HKR, "simFUSION", EnableDL2SidedLighting,       %REG_DWORD%, 1
HKR, "simFUSION", ForceImmedTexSubImageLoad,    %REG_DWORD%, 0 
HKR, "simFUSION", ForceNoFlushOrFinish,         %REG_DWORD%, 0
HKR, "simFUSION", ExternalMsaaSamples,          %REG_DWORD%, 4 
HKR, "simFUSION", OGLPointSizeMinClamp,         %REG_DWORD%, 0
HKR, "simFUSION", OGLTextureClampCompatibility, %REG_DWORD%, 1
HKR, "simFUSION", FogPerPixel,                  %REG_DWORD%, 0
HKR, "simFUSION", AggressiveDLOpt,              %REG_DWORD%, 1
HKR, "simFUSION", ExtMsaaOffsetX0,              %REG_DWORD%, 0
HKR, "simFUSION", ExtMsaaOffsetX1,              %REG_DWORD%, 0
HKR, "simFUSION", ExtMsaaOffsetX2,              %REG_DWORD%, 0
HKR, "simFUSION", ExtMsaaOffsetX3,              %REG_DWORD%, 0
HKR, "simFUSION", ExtMsaaOffsetY0,              %REG_DWORD%, 0
HKR, "simFUSION", ExtMsaaOffsetY1,              %REG_DWORD%, 0
HKR, "simFUSION", ExtMsaaOffsetY2,              %REG_DWORD%, 0
HKR, "simFUSION", ExtMsaaOffsetY3,              %REG_DWORD%, 0
HKR, "simFUSION", DuoMatrix0,                   %REG_BINARY%, 00,00,00,40, 00,00,00,00, 00,00,00,00, 00,00,00,00,\
                                                              00,00,00,00, 00,00,80,3F, 00,00,00,00, 00,00,00,00,\
                                                              00,00,00,00, 00,00,00,00, 00,00,80,3F, 00,00,00,00,\
                                                              00,00,80,BF, 00,00,00,00, 00,00,00,00, 00,00,80,3F
HKR, "simFUSION", DuoMatrix1,                   %REG_BINARY%, 00,00,00,40, 00,00,00,00, 00,00,00,00, 00,00,00,00,\
                                                              00,00,00,00, 00,00,80,3F, 00,00,00,00, 00,00,00,00,\
                                                              00,00,00,00, 00,00,00,00, 00,00,80,3F, 00,00,00,00,\
                                                              00,00,80,3F, 00,00,00,00, 00,00,00,00, 00,00,80,3F
HKR, "simFUSION", StereoMatrixLeft,             %REG_BINARY%, 00,00,80,3F, 00,00,00,00, 00,00,00,00, 00,00,00,00,\
                                                              00,00,00,00, 00,00,80,3F, 00,00,00,00, 00,00,00,00,\
                                                              89,88,88,BD, 00,00,00,00, 00,00,80,3F, 00,00,00,00,\
                                                              CD,CC,4C,3E, 00,00,00,00, 00,00,00,00, 00,00,80,3F
HKR, "simFUSION", StereoMatrixRight,            %REG_BINARY%, 00,00,80,3F, 00,00,00,00, 00,00,00,00, 00,00,00,00,\
                                                              00,00,00,00, 00,00,80,3F, 00,00,00,00, 00,00,00,00,\
                                                              89,88,88,3D, 00,00,00,00, 00,00,80,3F, 00,00,00,00,\
                                                              CD,CC,4C,bE, 00,00,00,00, 00,00,00,00, 00,00,80,3F
HKR, "simFUSION", ForceWindowFocus,             %REG_DWORD%,  0
HKR,, EandS OpenGL driver, %REG_SZ%, essfogl.dll
HKLM, "SOFTWARE\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers", essfdisp,               %REG_KEYONLY%, essfogl
HKLM, "Software\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers\essfdisp", Version,       %REG_DWORD%, 2
HKLM, "Software\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers\essfdisp", DriverVersion, %REG_DWORD%, 1
HKLM, "Software\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers\essfdisp", Flags,         %REG_DWORD%, 1
HKLM, "Software\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers\essfdisp", Dll,           %REG_SZ%, essfogl
HKR, "OpenGL", OGLAnisoType,                    %REG_DWORD%, 0 
HKR, "OpenGL", OGLEnableFastFullSceneAA,        %REG_DWORD%, 0 
HKR, "OpenGL", OGLEnableTextureCompression,     %REG_DWORD%, 1 
HKR, "OpenGL", OGLFullSceneAAScale,             %REG_DWORD%, 0 
HKR, "OpenGL", OGLLODBias,                      %REG_DWORD%, 2 
HKR, "OpenGL", OGLMaxAnisotropy,                %REG_DWORD%, 0 
HKR, "OpenGL", OGLWaitVerticalSync,             %REG_DWORD%, 0 
HKR, "OpenGL", OGLTextureOpt,                   %REG_DWORD%, 3

; LargeSystemCache needs to be turned off on W2K Servers.
; It is already turned off for W2K Pro.
HKLM, "SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management", LargeSystemCache, %REG_DWORD%, 0

;
; Entry to cause the simFusion registry key to be deleted on an uninstall.
; In order for this to work properly you must list all of the subkeys first.
;

[SIMFUSION_DelReg]
HKLM, "SYSTEM\CurrentControlSet\Services\simFUSION\Device0\OpenGL"
HKLM, "SYSTEM\CurrentControlSet\Services\simFUSION\Device0\simFUSION"
HKLM, "SYSTEM\CurrentControlSet\Services\simFUSION\Device0"
HKLM, "SYSTEM\CurrentControlSet\Services\simFUSION\Enum"
HKLM, "SYSTEM\CurrentControlSet\Services\simFUSION\Security"
HKLM, "SYSTEM\CurrentControlSet\Services\simFUSION"

;
; Obsolete registry settings to be deleted
;

[SIMFUSION_Delete_RegistrySettings]
HKR, "", StereoMode
HKR, "", GenlockMaster
HKR, "", MixedEnvironment5K6K
HKR, "simFUSION", ForceFastChipOffset
HKR, "simFUSION", ForceSwapOnVSync
HKR, "simFUSION", OGLSampleTransparencyEnable
HKR, "simFUSION", SuperTilingEnabled
HKR, "simFUSION", SupertilingMode
HKR, "simFUSION", JitterEnabled 
HKR, "simFUSION", XOffset0
HKR, "simFUSION", XOffset1
HKR, "simFUSION", XOffset2
HKR, "simFUSION", XOffset3
HKR, "simFUSION", XOffset4
HKR, "simFUSION", YOffset0
HKR, "simFUSION", YOffset1
HKR, "simFUSION", YOffset2
HKR, "simFUSION", YOffset3
HKR, "simFUSION", YOffset4
HKR, "simFUSION", DuoEnable
HKR, "simFUSION", DuoMatrix0_00
HKR, "simFUSION", DuoMatrix0_01
HKR, "simFUSION", DuoMatrix0_02
HKR, "simFUSION", DuoMatrix0_03
HKR, "simFUSION", DuoMatrix0_10
HKR, "simFUSION", DuoMatrix0_11
HKR, "simFUSION", DuoMatrix0_12
HKR, "simFUSION", DuoMatrix0_13
HKR, "simFUSION", DuoMatrix0_20
HKR, "simFUSION", DuoMatrix0_21
HKR, "simFUSION", DuoMatrix0_22
HKR, "simFUSION", DuoMatrix0_23
HKR, "simFUSION", DuoMatrix0_30
HKR, "simFUSION", DuoMatrix0_31
HKR, "simFUSION", DuoMatrix0_32
HKR, "simFUSION", DuoMatrix0_33
HKR, "simFUSION", DuoMatrix1_00
HKR, "simFUSION", DuoMatrix1_01
HKR, "simFUSION", DuoMatrix1_02
HKR, "simFUSION", DuoMatrix1_03
HKR, "simFUSION", DuoMatrix1_10
HKR, "simFUSION", DuoMatrix1_11
HKR, "simFUSION", DuoMatrix1_12
HKR, "simFUSION", DuoMatrix1_13
HKR, "simFUSION", DuoMatrix1_20
HKR, "simFUSION", DuoMatrix1_21
HKR, "simFUSION", DuoMatrix1_22
HKR, "simFUSION", DuoMatrix1_23
HKR, "simFUSION", DuoMatrix1_30
HKR, "simFUSION", DuoMatrix1_31
HKR, "simFUSION", DuoMatrix1_32
HKR, "simFUSION", DuoMatrix1_33
HKR, "simFUSION", DuetXOffset0
HKR, "simFUSION", DuetXOffset1
HKR, "simFUSION", DuetYOffset0
HKR, "simFUSION", DuetYOffset1
HKR, "simFUSION", QuartetXOffset0
HKR, "simFUSION", QuartetXOffset1
HKR, "simFUSION", QuartetXOffset2
HKR, "simFUSION", QuartetXOffset3
HKR, "simFUSION", QuartetYOffset0
HKR, "simFUSION", QuartetYOffset1
HKR, "simFUSION", QuartetYOffset2
HKR, "simFUSION", QuartetYOffset3
HKR, "simFUSION", FastDLCompileAndExecute
HKR, "simFUSION", StereoEyeSeparation
HKR, "simFUSION", StereoFocalDistance
HKR, "OpenGL", OGLEnableFullSceneAA
HKR, "OpenGL", OGLTrueformMode
HKR, "OpenGL", OGLConvertTextures32To16 
HKR, "OpenGL", OGLDisableDitherWhenAlphaBlending
HKR, "OpenGL", OGLEnableHWPageFlip
HKR, "OpenGL", OGLEnableKTXBufferRegion
HKR, "OpenGL", OGLPerfSet
HKR, "OpenGL", OGLSubPixelPrecision
HKR, "OpenGL", OGLEnableSharedBackZ
HKR, "OpenGL", OGLFastTrilinear
HKR, "OpenGL", OGLForce16BitZBuffer

;
; Source file information
;

[SourceDisksNames]
1 = %DiskId1%,,,.\

[SourceDisksFiles]
essfDisp.dll  = 1,, 1024
essfMini.sys  = 1,, 1024
essfogl.dll   = 1,, 1024
essfr2xdx.dll = 1,, 1024
essfr3xdx.dll = 1,, 1024
sfmat_021304.bit = 1,, 1024
fmadt_0224.bit = 1,, 1024

[Strings]

;
; Non-Localizable Strings
;

REG_SZ         = 0x00000000
REG_MULTI_SZ   = 0x00010000
REG_EXPAND_SZ  = 0x00020000
REG_BINARY     = 0x00000001
REG_DWORD      = 0x00010001
REG_KEYONLY    = 0x00000010
SERVICEROOT    = System\CurrentControlSet\Services

;
; Localizable Strings
;

DiskId1             = "Evans and Sutherland Installation DISK (VIDEO)"
GraphAdap           = "Graphics Adapter"
EandS               = "Evans and Sutherland"
sfDriverVersion     = 3.0.0.40224
