; INF file for Win95/Win98 NVIDIA RIVA TNT Display and Direct Draw drivers
; Copyright 1998, NVidia Corporation

[version]
LayoutFile=layout.inf
Class=DISPLAY
signature="$CHICAGO$"
Provider=%Mfg%
SetupClass=BASE


; Disk & Directory sections
;----------------------------------------
[DestinationDirs]
DefaultDestDir  = 11    ; LDID_SYS
NV4.Copy = 11
NV4.Copy.Hlp = 18
NV4.Copy.Inf = 17
NV4.Copy.TweakFiles = 11

[SourceDisksNames]
1="NVIDIA RIVA TNT Driver Disk",,0

[SourceDisksFiles]
nv4agp.inf=1
nv4disp.drv=1
nv4dd32.dll=1
nvarch32.dll=1
nvarch16.dll=1
nvmini.vxd=1
nvmini2.vxd=1
nvcore.vxd=1
nv4ogl.dll=1
nv4cpl.dll=1
nv4cpl.hlp=1
nv4qtwk.dll=1
vgartd.vxd=1

; Manufacturers
;----------------------------------------
[Manufacturer]
%Mfg%=Mfg

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

[Mfg]
%NVidia&DEV_0020.DeviceDesc%=NV4,,PCI\VEN_10DE&DEV_0020&SUBSYS_002010DE_REV_01
%NVidia&DEV_0020.DeviceDesc%=NV4,,PCI\VEN_10DE&DEV_0020
%NVidia&DEV_0028.DeviceDesc%=NV4,,PCI\VEN_10DE&DEV_0028
%NVidia&DEV_0028.DeviceDesc%=NV4,,PCI\VEN_10DE&DEV_00A0
%NVidia&DEV_0028.DeviceDesc2%=NV4,,PCI\VEN_10DE&DEV_002C


[ControlFlags]


; Install sections
;----------------------------------------
[NV4]
CopyFiles=NV4.Copy, NV4.Copy.Hlp, NV4.Copy.Inf, NV4.Copy.TweakFiles
DelReg=Prev.DelReg, Prev.DynReg
AddReg=NV4.AddReg, NV4Tweak.AddReg

[DefaultUnInstall]
DelFiles  = NV4.Copy.Hlp, NV4.Copy.TweakFiles
DelReg    = NV4Tweak.AddReg, Prev.DynReg

[NV4.Copy]
nv4disp.drv
nv4dd32.dll
nvmini.vxd
nvmini2.vxd
nvcore.vxd
nvarch32.dll
nvarch16.dll
nv4ogl.dll
vgartd.vxd

[NV4.Copy.Hlp]
nv4cpl.hlp

[NV4.Copy.Inf]
nv4agp.inf

[NV4.Copy.TweakFiles]
nv4cpl.dll
nv4qtwk.dll

[NV4.DelFiles]

[Prev.DelReg]
HKR,,Ver
HKR,,DevLoader
HKR,DEFAULT
HKR,MODES
HKR,CURRENT
HKLM,System\CurrentControlSet\Services\VxD\NVCORE
HKLM,Software\Microsoft\Windows\CurrentVersion\OpenGLdrivers,RIVATNT

[Prev.DynReg]
HKLM,%RunKey%,%QTwkValue%
HKLM,%RunKey%,%InitColorVal%

[NV4.AddReg]
HKR,,Ver,,4.0
HKR,,DevLoader,,*vdd
HKR,DEFAULT,Mode,,"8,640,480"
HKR,DEFAULT,drv,,nv4disp.drv
HKR,DEFAULT,drv2,,nv4disp.drv
HKR,DEFAULT,minivdd,,"nvmini.vxd"
HKR,DEFAULT,minivdd2,,"nvmini2.vxd"
HKLM,System\CurrentControlSet\Services\VxD\VGARTD,StaticVxD,2,"vgartd.vxd"
HKR,DEFAULT,vdd,,"*vdd"
HKR,DEFAULT,RefreshRate,,-1
HKR,DEFAULT,DDC,,1
HKR,"MODES\4\640,480",drv,,vga.drv
HKR,"MODES\4\640,480",vdd,,*vdd
HKR,"MODES\8\640,480",,,"60,70,72,75,85,100,120,140,144,150,170,200,240"
HKR,"MODES\8\800,600",,,"60,70,72,75,85,100,120,140,144,170,200,240"
HKR,"MODES\8\1024,768",,,"60,70,72,75,85,100,120,140,144,150,170"
HKR,"MODES\8\1152,864",,,"60,70,72,75,85,100,120,140,144,150"
HKR,"MODES\8\1280,1024",,,"60,70,72,75,85,100,120"
HKR,"MODES\8\1600,1200",,,"60,70,72,75,85"
HKR,"MODES\8\1920,1080",,,"60,70,72,75,85"
HKR,"MODES\8\1920,1200",,,"60,70,72,75"
HKR,"MODES\16\640,480"
HKR,"MODES\16\800,600"
HKR,"MODES\16\1024,768"
HKR,"MODES\16\1152,864"
HKR,"MODES\16\1280,1024"
HKR,"MODES\16\1600,1200"
HKR,"MODES\16\1920,1080"
HKR,"MODES\16\1920,1200"
HKR,"MODES\32\640,480"
HKR,"MODES\32\800,600"
HKR,"MODES\32\1024,768"
HKR,"MODES\32\1152,864",,,"60,70,72,75,85,100,120,140"
HKR,"MODES\32\1280,1024",,,"60,70,72,75,85,100"
HKR,"MODES\32\1600,1200",,,"60,70,72,75"
HKR,"MODES\32\1920,1080",,,"60,70,72"
HKR,"MODES\32\1920,1200",,,"60"
HKLM,Software\Microsoft\Windows\CurrentVersion\OpenGLdrivers,RIVATNT,2,"nv4ogl.dll"

[NV4Tweak.AddReg]
HKCR,CLSID\{CD047720-0437-11d2-B3AA-00104B6F7516},,,"NV4Tweak"
HKCR,CLSID\{CD047720-0437-11d2-B3AA-00104B6F7516}\InProcServer32,,,"%11%\nv4cpl.dll"
HKCR,CLSID\{CD047720-0437-11d2-B3AA-00104B6F7516}\InProcServer32,ThreadingModel,,Apartment
HKLM,"Software\Microsoft\Windows\CurrentVersion\Controls Folder\Display\shellex\PropertySheetHandlers\NV4Tweak",,,"{CD047720-0437-11d2-B3AA-00104B6F7516}"
HKLM,%UnInstKey%
HKLM,%UnInstKey%,DisplayName,,%UnInstDisplayName%
HKLM,%UnInstKey%,UninstallString,,"rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %17%\%ThisINF%"

; User visible strings
;----------------------------------------
[Strings]
Mfg="NVIDIA"
NVidia&DEV_0020.DeviceDesc="NVidia RIVA TNT"
NVidia&DEV_0028.DeviceDesc="NVidia RIVA TNT2"
NVidia&DEV_0028.DeviceDesc2="NVidia VANTA"
RunKey="Software\Microsoft\Windows\CurrentVersion\Run"
QTwkValue="NV4QuickTweak"
InitColorVal="NvColorInit"
UnInstKey="Software\Microsoft\Windows\CurrentVersion\Uninstall\NV4Tweak"
UnInstDisplayName="NVIDIA Display Properties Extension"
ThisINF="NV4AGP.INF"
