home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
system
/
rivatuner
/
RivaTuner20RC16.exe
/
Tools
/
NVXML
/
NVXML.rti
< prev
Wrap
INI File
|
2006-05-21
|
8KB
|
235 lines
[Init]
invoke "Include\\Macro.rtl"
ifeqdw %VGA_VENDOR_ID%,$10DE
else
return REGISTRYINTERFACE_E_UNSUPPORTED_DEVICE
endif
decvar dwD3DDrvID,4
fverdw dwD3DDrvID, %OS_PLATFORM_ID% conddw #VER_PLATFORM_WIN32_NT:"%SYSDIR%\\nv4_disp.dll" #:"%SYSDIR%\\nvdd32.dll"
ifeqdw dwD3DDrvID,-4999
return REGISTRYINTERFACE_E_UNSUPPORTED_DRIVER
endif
decvar dwOGLDrvID,4
fverdw dwOGLDrvID, %OS_PLATFORM_ID% conddw #VER_PLATFORM_WIN32_NT:"%SYSDIR%\\nvoglnt.dll" #:"%SYSDIR%\\nvopengl.dll"
ifeqdw dwOGLDrvID,-4999
return REGISTRYINTERFACE_E_UNSUPPORTED_DRIVER
endif
macros "%D3D%", %OS_PLATFORM_ID% conddw #VER_PLATFORM_WIN32_NT:"D3D_" #:""
macros "%OGL%", %OS_PLATFORM_ID% conddw #VER_PLATFORM_WIN32_NT:"OGL_" #:""
macros "%UNI%", %OS_PLATFORM_ID% conddw #VER_PLATFORM_WIN32_NT:"D3DOGL_" #:""
decvar szUNIKeyName, 256
setvar szUNIKeyName, "%VGA_DRIVER_KEY%"
decvar szD3DKeyName, 256
setvar szD3DKeyName, %OS_PLATFORM_ID% conddw #VER_PLATFORM_WIN32_NT:"%VGA_DRIVER_KEY%" #:"%VGA_DRIVER_KEY%\\Direct3D"
decvar szOGLKeyName, 256
setvar szOGLKeyName, %OS_PLATFORM_ID% conddw #VER_PLATFORM_WIN32_NT:"%VGA_DRIVER_KEY%" #:"%VGA_DRIVER_KEY%\\OpenGL"
decvar dwType, 4
setvar dwType, %OS_PLATFORM_ID% conddw #VER_PLATFORM_WIN32_NT:REG_BINARY #:REG_DWORD
return S_OK
[triple_buffering]
macros "ifsupportedUNI", "ifeqdw 0, 1"
macros "ifsupportedD3D", "ifeqdw 0, 1"
macros "ifsupportedOGL", "ifeqdw dwOGLDrvID, 7590-"
decvar szOGLValName, 256
setvar szOGLValName, "%APP%%OGL%TripleBuffer"
macros "_S0_", "\"0\""
macros "_S1_", "\"1\""
macros "_UNI_T0_", ""
macros "_UNI_T1_", ""
macros "_D3D_T0_", ""
macros "_D3D_T1_", ""
macros "_OGL_T0_", "0"
macros "_OGL_T1_", "1"
invoke "Include\\NVXMLPropertyEnum2.rtl"
; Color_profile propery is currently commented due to bug of NVIDIA control
; panel, which writes rubbish data to registry during exporting it from XML
; Due to this reason it is unsafe to reimport it back
;
; [color_profile]
; macros "ifsupportedUNI", "ifeqdw dwD3DDrvID, 5000-"
; macros "ifsupportedD3D", "ifeqdw 0, 1"
; macros "ifsupportedOGL", "ifeqdw 0, 1"
; decvar szUNIValName, 256
; setvar szUNIValName, "%APP%Color_Profile"
; invoke "Include\\NVXMLPropertyString.rtl"
[d3d_negative_lod_bias_status]
macros "ifsupportedUNI", "ifeqdw 0, 1"
macros "ifsupportedD3D", "ifeqdw dwD3DDrvID, 6702-6999,7090-"
macros "ifsupportedOGL", "ifeqdw 0, 1"
decvar szD3DValName, 256
setvar szD3DValName, "%APP%%D3D%16579523"
macros "_S0_", "\"0\""
macros "_S1_", "\"1\""
macros "_UNI_T0_", ""
macros "_UNI_T1_", ""
macros "_D3D_T0_", "0"
macros "_D3D_T1_", "1"
macros "_OGL_T0_", ""
macros "_OGL_T1_", ""
invoke "Include\\NVXMLPropertyEnum2.rtl"
[trilinear_optimization]
macros "ifsupportedUNI", "ifeqdw 0, 1"
macros "ifsupportedD3D", "ifeqdw dwD3DDrvID, 6060-"
macros "ifsupportedOGL", "ifeqdw dwOGLDrvID, 6060-"
decvar szD3DValName, 256
setvar szD3DValName, "%APP%%D3D%94118636"
decvar szOGLValName, 256
setvar szOGLValName, "%APP%%OGL%563A95F1"
macros "_S0_", "\"1\""
macros "_S1_", "\"0\""
macros "_UNI_T0_", ""
macros "_UNI_T1_", ""
macros "_D3D_T0_", "1"
macros "_D3D_T1_", "0"
macros "_OGL_T0_", "$34198cb4"
macros "_OGL_T1_", "$413abd43"
invoke "Include\\NVXMLPropertyEnum2.rtl"
[aniso_optimization]
macros "ifsupportedUNI", "ifeqdw 0, 1"
macros "ifsupportedD3D", "ifeqdw dwD3DDrvID, 6132-6499,6550-"
macros "ifsupportedOGL", "ifeqdw dwOGLDrvID, 6591-"
decvar szD3DValName, 256
setvar szD3DValName, "%APP%%D3D%40792312"
decvar szOGLValName, 256
setvar szOGLValName, "%APP%%OGL%01887890"
macros "_S0_", "\"0\""
macros "_S1_", "\"1\""
macros "_UNI_T0_", ""
macros "_UNI_T1_", ""
macros "_D3D_T0_", "0"
macros "_D3D_T1_", "1"
macros "_OGL_T0_", "0"
macros "_OGL_T1_", "1"
invoke "Include\\NVXMLPropertyEnum2.rtl"
[aniso_sample_optimization]
macros "ifsupportedUNI", "ifeqdw 0, 1"
macros "ifsupportedD3D", "ifeqdw dwD3DDrvID, 6591-"
macros "ifsupportedOGL", "ifeqdw dwOGLDrvID, 6591-"
decvar szD3DValName, 256
setvar szD3DValName, "%APP%%D3D%30913648"
decvar szOGLValName, 256
setvar szOGLValName, "%APP%%OGL%1190801a"
macros "_S0_", "\"0\""
macros "_S1_", "\"1\""
macros "_UNI_T0_", ""
macros "_UNI_T1_", ""
macros "_D3D_T0_", "0"
macros "_D3D_T1_", "1"
macros "_OGL_T0_", "0"
macros "_OGL_T1_", "1"
invoke "Include\\NVXMLPropertyEnum2.rtl"
[multichip_rendering_mode]
macros "ifsupportedUNI", "ifeqdw dwD3DDrvID, 6591-"
macros "ifsupportedD3D", "ifeqdw 0, 1"
macros "ifsupportedOGL", "ifeqdw 0, 1"
decvar szUNIValName, 256
setvar szUNIValName, "%APP%%UNI%67207556"
invoke "Include\\NVXMLProperty.rtl"
[multichip_ogl_options]
macros "ifsupportedUNI", "ifeqdw 0, 1"
macros "ifsupportedD3D", "ifeqdw 0, 1"
macros "ifsupportedOGL", "ifeqdw dwOGLDrvID, 7184-"
decvar szOGLValName, 256
setvar szOGLValName, "%APP%%OGL%18920725"
invoke "Include\\NVXMLProperty.rtl"
[vsync_default]
macros "ifsupportedUNI", "ifeqdw 0, 1"
macros "ifsupportedD3D", "ifeqdw dwD3DDrvID, 5000-"
macros "ifsupportedOGL", "ifeqdw dwOGLDrvID, 5000-"
decvar szD3DValName, 256
setvar szD3DValName, "%APP%%D3D%60461791"
decvar szOGLValName, 256
setvar szOGLValName, "%APP%%OGL%DefaultSwapInterval"
macros "_S0_", "\"60925292\""
macros "_S1_", "\"8416747\""
macros "_S2_", "\"47814940\""
macros "_UNI_T0_", ""
macros "_UNI_T1_", ""
macros "_UNI_T2_", ""
macros "_D3D_T0_", "$60925292"
macros "_D3D_T1_", "$08416747"
macros "_D3D_T2_", "$47814940"
macros "_OGL_T0_", "0"
macros "_OGL_T1_", "$ffffffff"
macros "_OGL_T2_", "1"
invoke "Include\\NVXMLPropertyEnum3.rtl"
[aa_default]
macros "ifsupportedUNI", "ifeqdw dwD3DDrvID, 5000-"
macros "ifsupportedD3D", "ifeqdw 0, 1"
macros "ifsupportedOGL", "ifeqdw 0, 1"
decvar szUNIValName, 256
setvar szUNIValName, "%APP%%UNI%70835937"
macros "_UNI_MASK_", "$100000ff"
macros "_D3D_MASK_", ""
macros "_OGL_MASK_", ""
invoke "Include\\NVXMLPropertyBitmask.rtl"
[transparency_aa]
macros "ifsupportedUNI", "ifeqdw dwD3DDrvID, 7000-"
macros "ifsupportedD3D", "ifeqdw 0, 1"
macros "ifsupportedOGL", "ifeqdw 0, 1"
decvar szUNIValName, 256
setvar szUNIValName, "%APP%%UNI%70835937"
macros "_UNI_MASK_", "$40010000"
macros "_D3D_MASK_", ""
macros "_OGL_MASK_", ""
invoke "Include\\NVXMLPropertyBitmask.rtl"
[gamma_correct_aa]
macros "ifsupportedUNI", "ifeqdw dwD3DDrvID, 7000-"
macros "ifsupportedD3D", "ifeqdw 0, 1"
macros "ifsupportedOGL", "ifeqdw 0, 1"
decvar szUNIValName, 256
setvar szUNIValName, "%APP%%UNI%70835937"
macros "_UNI_MASK_", "$100000"
macros "_D3D_MASK_", ""
macros "_OGL_MASK_", ""
invoke "Include\\NVXMLPropertyBitmask.rtl"
[af_default]
macros "ifsupportedUNI", "ifeqdw dwD3DDrvID, 5000-"
macros "ifsupportedD3D", "ifeqdw 0, 1"
macros "ifsupportedOGL", "ifeqdw 0, 1"
decvar szUNIValName, 256
setvar szUNIValName, "%APP%%UNI%74095213"
macros "_UNI_MASK_", "$100000ff"
macros "_D3D_MASK_", ""
macros "_OGL_MASK_", ""
invoke "Include\\NVXMLPropertyBitmask.rtl"
[image_settings]
macros "ifsupportedUNI", "ifeqdw 0, 1"
macros "ifsupportedD3D", "ifeqdw dwD3DDrvID, 5000-"
macros "ifsupportedOGL", "ifeqdw dwOGLDrvID, 5000-"
decvar szD3DValName, 256
setvar szD3DValName, "%APP%%D3D%QualityEnhancements"
decvar szOGLValName, 256
setvar szOGLValName, "%APP%%OGL%QualityEnhancements"
invoke "Include\\NVXMLProperty.rtl"
[dyn_tiling_mode]
macros "ifsupportedUNI", "ifeqdw 0, 1"
macros "ifsupportedD3D", "ifeqdw dwD3DDrvID, 7762-"
macros "ifsupportedOGL", "ifeqdw 0, 1"
decvar szD3DValName, 256
setvar szD3DValName, "%APP%%D3D%53893160"
invoke "Include\\NVXMLProperty.rtl"
[conformant_texture_clamp]
macros "ifsupportedUNI", "ifeqdw 0, 1"
macros "ifsupportedD3D", "ifeqdw 0, 1"
macros "ifsupportedOGL", "ifeqdw dwOGLDrvID, 5000-"
decvar szOGLValName, 256
setvar szOGLValName, "%APP%%OGL%TexClampBehavior"
invoke "Include\\NVXMLProperty.rtl"