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   
INI File  |  2006-05-21  |  8KB  |  235 lines

  1. [Init]
  2. invoke "Include\\Macro.rtl"
  3. ifeqdw %VGA_VENDOR_ID%,$10DE
  4. else
  5.   return REGISTRYINTERFACE_E_UNSUPPORTED_DEVICE
  6. endif
  7. decvar dwD3DDrvID,4
  8. fverdw dwD3DDrvID, %OS_PLATFORM_ID% conddw #VER_PLATFORM_WIN32_NT:"%SYSDIR%\\nv4_disp.dll" #:"%SYSDIR%\\nvdd32.dll"
  9. ifeqdw dwD3DDrvID,-4999
  10.   return REGISTRYINTERFACE_E_UNSUPPORTED_DRIVER
  11. endif
  12. decvar dwOGLDrvID,4
  13. fverdw dwOGLDrvID, %OS_PLATFORM_ID% conddw #VER_PLATFORM_WIN32_NT:"%SYSDIR%\\nvoglnt.dll" #:"%SYSDIR%\\nvopengl.dll"
  14. ifeqdw dwOGLDrvID,-4999
  15.   return REGISTRYINTERFACE_E_UNSUPPORTED_DRIVER
  16. endif
  17. macros "%D3D%", %OS_PLATFORM_ID% conddw #VER_PLATFORM_WIN32_NT:"D3D_"    #:""
  18. macros "%OGL%", %OS_PLATFORM_ID% conddw #VER_PLATFORM_WIN32_NT:"OGL_"    #:""
  19. macros "%UNI%", %OS_PLATFORM_ID% conddw #VER_PLATFORM_WIN32_NT:"D3DOGL_" #:""
  20. decvar szUNIKeyName, 256
  21. setvar szUNIKeyName, "%VGA_DRIVER_KEY%"
  22. decvar szD3DKeyName, 256
  23. setvar szD3DKeyName, %OS_PLATFORM_ID% conddw #VER_PLATFORM_WIN32_NT:"%VGA_DRIVER_KEY%" #:"%VGA_DRIVER_KEY%\\Direct3D"
  24. decvar szOGLKeyName, 256
  25. setvar szOGLKeyName, %OS_PLATFORM_ID% conddw #VER_PLATFORM_WIN32_NT:"%VGA_DRIVER_KEY%" #:"%VGA_DRIVER_KEY%\\OpenGL"
  26. decvar dwType, 4
  27. setvar dwType, %OS_PLATFORM_ID% conddw #VER_PLATFORM_WIN32_NT:REG_BINARY #:REG_DWORD
  28. return S_OK
  29.  
  30. [triple_buffering]
  31. macros "ifsupportedUNI", "ifeqdw 0, 1"
  32. macros "ifsupportedD3D", "ifeqdw 0, 1"
  33. macros "ifsupportedOGL", "ifeqdw dwOGLDrvID, 7590-"
  34. decvar szOGLValName, 256
  35. setvar szOGLValName, "%APP%%OGL%TripleBuffer"
  36. macros "_S0_", "\"0\""
  37. macros "_S1_", "\"1\""
  38. macros "_UNI_T0_", ""
  39. macros "_UNI_T1_", ""
  40. macros "_D3D_T0_", ""
  41. macros "_D3D_T1_", ""
  42. macros "_OGL_T0_", "0"
  43. macros "_OGL_T1_", "1"
  44. invoke "Include\\NVXMLPropertyEnum2.rtl"
  45.  
  46.  
  47. ; Color_profile propery is currently commented due to bug of NVIDIA control
  48. ; panel, which writes rubbish data to registry during exporting it from XML
  49. ; Due to this reason it is unsafe to reimport it back
  50. ;
  51. ; [color_profile]
  52. ; macros "ifsupportedUNI", "ifeqdw dwD3DDrvID, 5000-"
  53. ; macros "ifsupportedD3D", "ifeqdw 0, 1"
  54. ; macros "ifsupportedOGL", "ifeqdw 0, 1"
  55. ; decvar szUNIValName, 256
  56. ; setvar szUNIValName, "%APP%Color_Profile"
  57. ; invoke "Include\\NVXMLPropertyString.rtl"
  58.  
  59. [d3d_negative_lod_bias_status]
  60. macros "ifsupportedUNI", "ifeqdw 0, 1"
  61. macros "ifsupportedD3D", "ifeqdw dwD3DDrvID, 6702-6999,7090-"
  62. macros "ifsupportedOGL", "ifeqdw 0, 1"
  63. decvar szD3DValName, 256
  64. setvar szD3DValName, "%APP%%D3D%16579523"
  65. macros "_S0_", "\"0\""
  66. macros "_S1_", "\"1\""
  67. macros "_UNI_T0_", ""
  68. macros "_UNI_T1_", ""
  69. macros "_D3D_T0_", "0"
  70. macros "_D3D_T1_", "1"
  71. macros "_OGL_T0_", ""
  72. macros "_OGL_T1_", ""
  73. invoke "Include\\NVXMLPropertyEnum2.rtl"
  74.  
  75. [trilinear_optimization]
  76. macros "ifsupportedUNI", "ifeqdw 0, 1"
  77. macros "ifsupportedD3D", "ifeqdw dwD3DDrvID, 6060-"
  78. macros "ifsupportedOGL", "ifeqdw dwOGLDrvID, 6060-"
  79. decvar szD3DValName, 256
  80. setvar szD3DValName, "%APP%%D3D%94118636"
  81. decvar szOGLValName, 256
  82. setvar szOGLValName, "%APP%%OGL%563A95F1"
  83. macros "_S0_", "\"1\""
  84. macros "_S1_", "\"0\""
  85. macros "_UNI_T0_", ""
  86. macros "_UNI_T1_", ""
  87. macros "_D3D_T0_", "1"
  88. macros "_D3D_T1_", "0"
  89. macros "_OGL_T0_", "$34198cb4"
  90. macros "_OGL_T1_", "$413abd43"
  91. invoke "Include\\NVXMLPropertyEnum2.rtl"
  92.  
  93. [aniso_optimization]
  94. macros "ifsupportedUNI", "ifeqdw 0, 1"
  95. macros "ifsupportedD3D", "ifeqdw dwD3DDrvID, 6132-6499,6550-"
  96. macros "ifsupportedOGL", "ifeqdw dwOGLDrvID, 6591-"
  97. decvar szD3DValName, 256
  98. setvar szD3DValName, "%APP%%D3D%40792312"
  99. decvar szOGLValName, 256
  100. setvar szOGLValName, "%APP%%OGL%01887890"
  101. macros "_S0_", "\"0\""
  102. macros "_S1_", "\"1\""
  103. macros "_UNI_T0_", ""
  104. macros "_UNI_T1_", ""
  105. macros "_D3D_T0_", "0"
  106. macros "_D3D_T1_", "1"
  107. macros "_OGL_T0_", "0"
  108. macros "_OGL_T1_", "1"
  109. invoke "Include\\NVXMLPropertyEnum2.rtl"
  110.  
  111. [aniso_sample_optimization]
  112. macros "ifsupportedUNI", "ifeqdw 0, 1"
  113. macros "ifsupportedD3D", "ifeqdw dwD3DDrvID, 6591-"
  114. macros "ifsupportedOGL", "ifeqdw dwOGLDrvID, 6591-"
  115. decvar szD3DValName, 256
  116. setvar szD3DValName, "%APP%%D3D%30913648"
  117. decvar szOGLValName, 256
  118. setvar szOGLValName, "%APP%%OGL%1190801a"
  119. macros "_S0_", "\"0\""
  120. macros "_S1_", "\"1\""
  121. macros "_UNI_T0_", ""
  122. macros "_UNI_T1_", ""
  123. macros "_D3D_T0_", "0"
  124. macros "_D3D_T1_", "1"
  125. macros "_OGL_T0_", "0"
  126. macros "_OGL_T1_", "1"
  127. invoke "Include\\NVXMLPropertyEnum2.rtl"
  128.  
  129. [multichip_rendering_mode]
  130. macros "ifsupportedUNI", "ifeqdw dwD3DDrvID, 6591-"
  131. macros "ifsupportedD3D", "ifeqdw 0, 1"
  132. macros "ifsupportedOGL", "ifeqdw 0, 1"
  133. decvar szUNIValName, 256
  134. setvar szUNIValName, "%APP%%UNI%67207556"
  135. invoke "Include\\NVXMLProperty.rtl"
  136.  
  137. [multichip_ogl_options]
  138. macros "ifsupportedUNI", "ifeqdw 0, 1"
  139. macros "ifsupportedD3D", "ifeqdw 0, 1"
  140. macros "ifsupportedOGL", "ifeqdw dwOGLDrvID, 7184-"
  141. decvar szOGLValName, 256
  142. setvar szOGLValName, "%APP%%OGL%18920725"
  143. invoke "Include\\NVXMLProperty.rtl"
  144.  
  145. [vsync_default]
  146. macros "ifsupportedUNI", "ifeqdw 0, 1"
  147. macros "ifsupportedD3D", "ifeqdw dwD3DDrvID, 5000-"
  148. macros "ifsupportedOGL", "ifeqdw dwOGLDrvID, 5000-"
  149. decvar szD3DValName, 256
  150. setvar szD3DValName, "%APP%%D3D%60461791"
  151. decvar szOGLValName, 256
  152. setvar szOGLValName, "%APP%%OGL%DefaultSwapInterval"
  153. macros "_S0_", "\"60925292\""
  154. macros "_S1_", "\"8416747\""
  155. macros "_S2_", "\"47814940\""
  156. macros "_UNI_T0_", ""
  157. macros "_UNI_T1_", ""
  158. macros "_UNI_T2_", ""
  159. macros "_D3D_T0_", "$60925292"
  160. macros "_D3D_T1_", "$08416747"
  161. macros "_D3D_T2_", "$47814940"
  162. macros "_OGL_T0_", "0"
  163. macros "_OGL_T1_", "$ffffffff"
  164. macros "_OGL_T2_", "1"
  165. invoke "Include\\NVXMLPropertyEnum3.rtl"
  166.  
  167. [aa_default]
  168. macros "ifsupportedUNI", "ifeqdw dwD3DDrvID, 5000-"
  169. macros "ifsupportedD3D", "ifeqdw 0, 1"
  170. macros "ifsupportedOGL", "ifeqdw 0, 1"
  171. decvar szUNIValName, 256
  172. setvar szUNIValName, "%APP%%UNI%70835937"
  173. macros "_UNI_MASK_", "$100000ff"
  174. macros "_D3D_MASK_", ""
  175. macros "_OGL_MASK_", ""
  176. invoke "Include\\NVXMLPropertyBitmask.rtl"
  177.  
  178. [transparency_aa]
  179. macros "ifsupportedUNI", "ifeqdw dwD3DDrvID, 7000-"
  180. macros "ifsupportedD3D", "ifeqdw 0, 1"
  181. macros "ifsupportedOGL", "ifeqdw 0, 1"
  182. decvar szUNIValName, 256
  183. setvar szUNIValName, "%APP%%UNI%70835937"
  184. macros "_UNI_MASK_", "$40010000"
  185. macros "_D3D_MASK_", ""
  186. macros "_OGL_MASK_", ""
  187. invoke "Include\\NVXMLPropertyBitmask.rtl"
  188.  
  189. [gamma_correct_aa]
  190. macros "ifsupportedUNI", "ifeqdw dwD3DDrvID, 7000-"
  191. macros "ifsupportedD3D", "ifeqdw 0, 1"
  192. macros "ifsupportedOGL", "ifeqdw 0, 1"
  193. decvar szUNIValName, 256
  194. setvar szUNIValName, "%APP%%UNI%70835937"
  195. macros "_UNI_MASK_", "$100000"
  196. macros "_D3D_MASK_", ""
  197. macros "_OGL_MASK_", ""
  198. invoke "Include\\NVXMLPropertyBitmask.rtl"
  199.  
  200. [af_default]
  201. macros "ifsupportedUNI", "ifeqdw dwD3DDrvID, 5000-"
  202. macros "ifsupportedD3D", "ifeqdw 0, 1"
  203. macros "ifsupportedOGL", "ifeqdw 0, 1"
  204. decvar szUNIValName, 256
  205. setvar szUNIValName, "%APP%%UNI%74095213"
  206. macros "_UNI_MASK_", "$100000ff"
  207. macros "_D3D_MASK_", ""
  208. macros "_OGL_MASK_", ""
  209. invoke "Include\\NVXMLPropertyBitmask.rtl"
  210.  
  211. [image_settings]
  212. macros "ifsupportedUNI", "ifeqdw 0, 1"
  213. macros "ifsupportedD3D", "ifeqdw dwD3DDrvID, 5000-"
  214. macros "ifsupportedOGL", "ifeqdw dwOGLDrvID, 5000-"
  215. decvar szD3DValName, 256
  216. setvar szD3DValName, "%APP%%D3D%QualityEnhancements"
  217. decvar szOGLValName, 256
  218. setvar szOGLValName, "%APP%%OGL%QualityEnhancements"
  219. invoke "Include\\NVXMLProperty.rtl"
  220.  
  221. [dyn_tiling_mode]
  222. macros "ifsupportedUNI", "ifeqdw 0, 1"
  223. macros "ifsupportedD3D", "ifeqdw dwD3DDrvID, 7762-"
  224. macros "ifsupportedOGL", "ifeqdw 0, 1"
  225. decvar szD3DValName, 256
  226. setvar szD3DValName, "%APP%%D3D%53893160"
  227. invoke "Include\\NVXMLProperty.rtl"
  228.  
  229. [conformant_texture_clamp]
  230. macros "ifsupportedUNI", "ifeqdw 0, 1"
  231. macros "ifsupportedD3D", "ifeqdw 0, 1"
  232. macros "ifsupportedOGL", "ifeqdw dwOGLDrvID, 5000-"
  233. decvar szOGLValName, 256
  234. setvar szOGLValName, "%APP%%OGL%TexClampBehavior"
  235. invoke "Include\\NVXMLProperty.rtl"