Advertisement
Guest User

Untitled

a guest
Feb 16th, 2016
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.78 KB | None | 0 0
  1. // Unexplained crashes? Try changing mat_queue_mode to `-1'.
  2. // ----------------------------------------------------------------------------
  3. // Comanglia' frames config inspired by chris, designed to get you a large performance boost
  4. // v1.7a | 17 May 2015 | https://dl.dropboxusercontent.com/u/92187841/gfx.cfg
  5. // ----------------------------------------------------------------------------
  6. // Launch options:
  7. // You don't have to remove -dxlevel from the launch options after the first launch!
  8. //
  9. // Fullscreen: -dxlevel 95 -full -w 1920 -h 1080 -console -novid -refresh 144
  10. // Windowed:-dxlevel 95 -sw -w 1920 -h 1080 -console -noborder -novid -refresh 144
  11. // -useforcedmparms -noforcemaccel -noforcemspd // All of these are outdated and don't matter anymore
  12. //
  13. // DX Levels
  14. // -dxlevel 80, -dxlevel 81, -dxlevel 90, -dxlevel 91, -dxlevel 95, -dxlevel 98
  15. // if you can use -dxlevel 81 USE IT your fps will be significantly more stable, some Nvidia users may experience a weird strobing effect
  16. // (some series of outdated nvidia drivers remove this affect)
  17. // ----------------------------------------------------------------------------
  18.  
  19. // ----------------------------------------------------------------------------
  20. // FPS cap
  21. // ----------------------------------------------------------------------------
  22. // The primary benefit of an FPS cap is to make the FPS more stable, other than
  23. // that, it doesn't do a lot. A moderate, consistent framerate is much more
  24. // desirable than a variable but sometimes high framerate. A common
  25. // misconception is that if any more frames are generated than your monitor can
  26. // display, they are useless. This is wrong -- frames are used for much more
  27. // than mere display, and affect the way the game feels well past your
  28. // refresh rate.
  29. // ----------------------------------------------------------------------------
  30. cl_showfps 0 // Turning this FPS meter on actually decreases fps by about 3%-4%
  31. fps_max 121 // fps caps on PCs that consistently meet that cap causes horrible input lag when attempting to turn/aim
  32. sv_cheats 1
  33. w
  34. // Sprays
  35.  
  36. // Disable sprays
  37. cl_playerspraydisable 1
  38. r_spray_lifetime 0
  39.  
  40. // Shadows
  41.  
  42. // Disable shadows
  43. //mat_shadowstate 0
  44. //r_shadowmaxrendered 0
  45. //r_shadowrendertotexture 0
  46. //r_shadows 0
  47. //nb_shadow_dist 0
  48.  
  49. // Enable shadows -- I highly recommend keeping them off if you're frequently near or below the refresh rate of your monitor as you'll lose about 15-20% of your framerate
  50. mat_shadowstate 1
  51. r_shadowmaxrendered 11
  52. r_shadowrendertotexture 1
  53. r_shadows 1
  54.  
  55. // Facial features
  56.  
  57. // Disable facial features
  58. //r_eyes 0
  59. //r_flex 0
  60. //r_lod 2
  61. //r_rootlod 2
  62. //r_teeth 0
  63. //r_eyemove 0
  64. //r_eyeshift_x 0
  65. //r_eyeshift_y 0
  66. //r_eyeshift_z 0
  67. //r_eyesize 0
  68. //blink_duration 0
  69.  
  70. // Enable facial features -- turning them on lowers framerate by 5ish%
  71. r_eyes 1
  72. r_flex 1
  73. r_lod 1 // Needs to be set to 1, otherwise they will still be disabled.
  74. r_rootlod 1
  75. r_teeth 1
  76.  
  77. // Ragdolls
  78.  
  79. // Disable ragdolls
  80. cl_ragdoll_fade_time 0
  81. cl_ragdoll_forcefade 1
  82. cl_ragdoll_physics_enable 0
  83. g_ragdoll_fadespeed 0
  84. g_ragdoll_lvfadespeed 0
  85. ragdoll_sleepaftertime 0
  86.  
  87. // Enable ragdolls -- lowers by 10ish%
  88. //cl_ragdoll_fade_time 15
  89. //cl_ragdoll_forcefade 0
  90. //cl_ragdoll_physics_enable 1
  91. //g_ragdoll_fadespeed 600
  92. //g_ragdoll_lvfadespeed 100
  93. //ragdoll_sleepaftertime "5.0f"
  94.  
  95.  
  96. // Gibs
  97.  
  98. // Disable gibs
  99. cl_phys_props_enable 0
  100. cl_phys_props_max 0
  101. cl_phys_timescale 1.0
  102. props_break_max_pieces 0
  103. r_propsmaxdist 1
  104. violence_agibs 0
  105. violence_hgibs 0
  106.  
  107. // Enable gibs -- 6-7% less framerate
  108. //cl_phys_props_enable 1
  109. //cl_phys_props_max 128
  110. //props_break_max_pieces -1
  111. //r_propsmaxdist 1000
  112. //violence_agibs 1
  113. //violence_hgibs 1
  114.  
  115. // Graphical
  116.  
  117. // Now we come to the main brunt of the config. You probably don't want to mess with
  118.  
  119. tf_spec_xray_disable 1
  120. prop_active_gib_limit 0
  121. props_break_max_pieces_perframe 0
  122. fov_desired 90
  123. cl_hud_playerclass_use_playermodel 1 // adds another hud element -3% frames
  124. mat_phong 0
  125. cl_muzzleflash_dlight_1st 0
  126. cl_detaildist 0
  127. cl_detailfade 0
  128. cl_drawmonitors 0
  129. cl_ejectbrass 0
  130. cl_jiggle_bone_framerate_cutoff 0 // Turns off jigglebones
  131. cl_new_impact_effects 0
  132. cl_show_splashes 0
  133. cl_rumblescale 0
  134. cl_showhelp 0
  135. cl_showpluginmessages 0
  136. cl_debugrumble 0
  137. func_break_max_pieces 0
  138. glow_outline_effect_enable 1 // Cart glow effect.
  139. lod_transitiondist 0
  140.  
  141. mat_bumpmap 0 // Controls bumpmapping. Setting this to 0 on dx9 will cause
  142. // a strange `shine' effect to appear on all players. - Chris
  143. // In the past I wasn't able to prove that disabling this was significant,
  144. // it effects fps by about 1% after several checks - Comanglia
  145. mat_colcorrection_disableentities 0
  146. mat_colorcorrection 0
  147. mat_disable_bloom 1
  148. mat_disable_fancy_blending 1
  149. mat_disable_lightwarp 1
  150. mat_envmapsize 8
  151. mat_envmaptgasize 8
  152. mat_filterlightmaps 1
  153. mat_filtertextures 1
  154. mat_forceaniso 0
  155. mat_hdr_level 0
  156. mat_autoexposure_max 0
  157. mat_autoexposure_min 0
  158. mat_bloomscale 0
  159. mat_bloom_scalefactor_scalar 0
  160. mat_bloomamount_rate 0
  161. mat_debug_bloom 0
  162. mat_debug_postprocessing_effects 0
  163. mat_debug_process_halfscreen 0
  164. mat_debugalttab 0
  165. mat_debugdepth 0
  166. mat_debugdepthmode 0
  167. mat_disable_bloom 1
  168. mat_force_bloom 0
  169. mat_postprocessing_combine 0
  170. mat_non_hdr_bloom_scalefactor 0
  171. mat_bufferprimitives 1
  172. mat_compressedtextures 1
  173. mat_debugdepthval 0
  174. mat_debugdepthvalmax 0
  175. mat_diffuse 1
  176. mat_fastnobump 0
  177. mat_forcemanagedtextureintohardware 0
  178. mat_framebuffercopyoverlaysize 0
  179. mat_hdr_enabled 0
  180. mat_hdr_manual_tonemap_rate 0
  181. mat_hdr_tonemapscale 0
  182. mat_leafvis 0
  183. mat_loadtextures 1
  184. mat_mipmaptextures 1
  185. mat_norendering 0
  186. mat_non_hdr_bloom_scalefactor 0
  187. mat_show_texture_memory_usage 0
  188. mat_showlightmappage -1
  189. mat_softwarelighting 0
  190. mat_software_aa_blur_one_pixel_lines 0
  191. mat_software_aa_edge_threshold 9
  192. mat_software_aa_quality 0// was 9
  193. mat_software_aa_strength 0
  194. mat_software_aa_strength_vgui 0
  195. mat_software_aa_tap_offset 0
  196. mat_software_aa_quality 0
  197. mat_softwareskin 0
  198. mat_surfaceid 0
  199. mat_surfacemat 0
  200. mat_texture_limit -1
  201. mat_use_compressed_hdr_textures 1
  202. mat_use_compressed_hdr_textures 0
  203. mat_yuv 0
  204. mem_max_heapsize 2048
  205. mod_forcedata 1
  206. mod_forcetouchdata 1
  207. mat_max_worldmesh_vertices 512
  208. mat_monitorgamma 2.2 // Controls brightness, try 1.8 to make it brighter or 2.2
  209. // to get it darker. Only works in fullscreen.
  210. mat_parallaxmap 0
  211. mat_picmip -1 // Higher = more mipmapping. Without `sv_cheats 1', you're looking
  212. // at a range from -1 to 2, -1 being the best quality, 2 being the
  213. // worst. - Doesn't really matter much what you set this too if you're cpu bound
  214. mat_reducefillrate 1
  215. mat_reduceparticles 1
  216. mat_specular 1 // Controls specularity. Setting this to 0 will make ubers
  217. // non-shiny, and will remove some specular effects from in-game
  218. // entities which support it. - Setting this to 0 while trilinear is off lowers framerate for reasons I don't understand
  219. mat_trilinear 1
  220. mat_viewportscale 1 // Almost no performance gain from viewport upscaling.
  221. mat_viewportupscale 1
  222. mat_wateroverlaysize 1
  223. mp_decals 9 // - Just keep this below 60ish and you shouldn't notice much different at all maybe .5 average fps for every 30-40 decals
  224. r_3dsky 0
  225. r_ambientboost 0
  226. r_ambientfactor 0
  227. r_ambientmin 0
  228. r_avglight 0
  229. r_ambientfraction 0.1
  230. r_avglightmap 0
  231. r_cheapwaterend 1
  232. r_cheapwaterstart 1
  233. r_decals 9
  234. r_maxmodeldecal 9
  235. r_decalstaticprops 0
  236. r_decal_cullsize 15
  237. r_drawdetailprops 0
  238. r_drawmodeldecals 0
  239. r_drawflecks 0
  240. r_dynamic 0
  241. r_flashlightdepthtexture 0
  242. r_forcewaterleaf 1
  243. r_lightaverage 0
  244. r_maxnewsamples 0
  245. r_maxsampledist 1
  246. r_bloomtintb 0
  247. r_bloomtintexponent 0
  248. r_bloomtintg 0
  249. r_bloomtintr 0
  250. r_occlusion 1
  251. r_pixelfog 1
  252. r_propsmaxdist 0
  253. r_renderoverlayfragment 0
  254. r_staticprop_lod 4
  255. r_waterdrawreflection 0
  256. r_waterdrawrefraction 1
  257. r_waterforceexpensive 0
  258. r_waterforcereflectentities 0
  259. r_drawtracers_firstperson 0 // should give a small fps boost in 1st person
  260. r_dopixelvisibility 0
  261. r_drawbatchdecals 0
  262. r_hunkalloclightmaps 0
  263. r_lightcache_numambientsamples 0
  264. r_lightinterp 0
  265. r_lightstyle -1
  266. r_lightcache_zbuffercache 0
  267. r_PhysPropStaticLighting 0
  268. rope_averagelight 0
  269. rope_collide 0
  270. rope_rendersolid 0
  271. rope_shake 0
  272. rope_smooth 0
  273. rope_subdiv 0
  274. rope_wind_dist 0
  275. tf_particles_disable_weather 1 // Disable weather effects on maps supporting
  276. // it, for example, setting this to `1'
  277. // disables rain effects on *_sawmill.
  278. tracer_extra 0
  279. violence_ablood 1 // framerates on -most- pcs are higher with these on
  280. violence_hblood 1
  281. mat_motion_blur_enabled 0 // just incase anyone has this added before loading my cfg
  282. mat_motion_blur_forward_enabled 0
  283. mat_motion_blur_strength 0
  284. r_radiosity 4
  285. r_updaterefracttexture 0
  286. r_worldlightmin 0.0001
  287. r_unloadlightmaps 0
  288. mat_disable_d3d9ex 1
  289. mp_usehwmmodels -1
  290. mp_usehwmvcds -1
  291.  
  292. // ----------------------------------------------------------------------------
  293. // Misc
  294. // ----------------------------------------------------------------------------
  295. in_usekeyboardsampletime 0
  296. mat_clipz 1 // FX card users should set this to 0
  297. mat_forcehardwaresync 0
  298. mat_levelflush 1
  299. //m_rawinput 0 // Turn on raw mouse input. Commented out by default due to
  300. // silly incompatibility with the Xfire overlay. You should use
  301. // it if you can! - WHO USES XFIRE ANYMORE?
  302. mat_vsync 0 // Turn off vsync to avoid nasty I/O latency.
  303. r_fastzreject -1 // Values >1 enable a fast Z rejection algorithm, to be
  304. // performed on the GPU (as opposed to on the CPU). The
  305. // value `-1' autodetects hardware support for this
  306. // feature, which is safer than forcing it.
  307.  
  308. ai_expression_optimization 1
  309. fast_fogvolume 1
  310. host_thread_mode 0 // Not exactly stable
  311. mod_load_anims_async 1
  312. mod_load_mesh_async 1
  313. mod_load_vcollide_async 1
  314. con_enable 1
  315. con_filter_enable 1
  316. con_filter_text_out Cannot update control point
  317. con_filter_text_out doesn't have attachment
  318. con_filter_text_out material
  319. con_filter_text_out muzzle
  320. con_filter_text_out particle
  321. cpu_frequency_monitoring 0
  322. datacachesize 256
  323.  
  324. // ----------------------------------------------------------------------------
  325. // Sound
  326. // ----------------------------------------------------------------------------
  327. // I'd be hesitant to say that you would see a great deal of performance
  328. // improvement from lowering the sound quality, but in my experience as a
  329. // competitive TF2 player, lowering the sound quality makes determination of
  330. // directionality and distance that much easier. You may see a small FPS gain
  331. // with these settings, or you may not, either way will likely have a
  332. // negligible effect on performance.
  333. // ----------------------------------------------------------------------------
  334. dsp_enhance_stereo 0
  335. dsp_slow_cpu 1
  336. snd_async_fullyasync 1 // Having the sound run fully asynchronous has been
  337. // helpful in the past, as it seems to (for whatever
  338. // reason) reduce the number of TDRs experienced during
  339. // gameplay. There's some pretty good information on
  340. // TDRs (nerds only) here:
  341. // http://forums.nvidia.com/index.php?showtopic=65161
  342. snd_pitchquality 0
  343. snd_spatialize_roundrobin 1
  344. snd_mixahead .05 // Delay in sound from weapons below .05 has been known to be unstable
  345.  
  346. // ----------------------------------------------------------------------------
  347. // Threading
  348. // ----------------------------------------------------------------------------
  349. mat_queue_mode 2 // mat_queue mode is another frequently asked about cvar, it
  350. // defines the threading method to be used by the material
  351. // system. It has been unstable to use in the past, but
  352. // nowadays it's generally okay.
  353. //
  354. // Here are the possible values:
  355. // -2 legacy default
  356. // -1 default
  357. // 0 synchronous single thread
  358. // 1 queued single thread
  359. // 2 queued multithreaded
  360. //
  361. // If you have problems with the value `2', try setting it to
  362. // `-1'.
  363. //
  364. // As an aside, there are quite a few bugs in the demo system
  365. // that occur when mat_queue_mode is set to a value that is
  366. // not `-1'. If you intend to do work with the demo system,
  367. // maybe you should change this.
  368. //
  369. //After immense testing I've found that default works perfectly
  370. //fine with setting your Thread usage. It automatically set me
  371. //to 2 every time. I'd say it's safer and likely less buggy to
  372. //leave this at -1 than it is at 2.
  373. //
  374. //As a side not I've noticed micro stutters with mat_queue_mode 2
  375. //at 1000+ fps where mat_queue_mode 1 did not stutter at 1000+ fps
  376.  
  377. cl_threaded_bone_setup 1 // WARNING if you don't have a Quad-Core CPU or better you SHOULD NOT LEAVE THIS ON
  378. cl_threaded_client_leaf_system 0 // DO NOT ENABLE cause crashes to desktop within 4-5 minutes of gameplay 4/18 2014
  379. r_queued_decals 0 // lessens the impact of higher decal limits.
  380. r_queued_ropes 1
  381. r_queued_post_processing 0 // kind of pointless because it's disabled above but if you do like post processing effects keeping this on should lessen the impact on framerate
  382. r_threaded_client_shadow_manager 1
  383. r_threaded_particles 1
  384. r_threaded_renderables 1
  385. net_queue_trace 0
  386.  
  387. // ----------------------------------------------------------------------------
  388. // HUD
  389. // ----------------------------------------------------------------------------
  390. hud_saytext_time 10 //Default is 12 and measured in seconds, this is the amount of time chat stays on your screen
  391. voice_enable 1
  392. hud_deathnotice_time 5
  393. hud_achievement_glowtime 0
  394. hud_achievement_count 0 //Default is 8, Max number of achievements that can be shown on the HUD
  395. hud_achievement_tracker 0 // Default is 1, Show or hide the achievement tracker
  396.  
  397. // ----------------------------------------------------------------------------
  398. // Test Shit
  399. // ----------------------------------------------------------------------------
  400. cl_localnetworkbackdoor 1 //Network optimizations for Singleplayer, disabling has about a 1-2% fps boost
  401. cl_cloud_settings 0 // I believe this disables cloud syncing of CFGs but not 100% sure
  402. cl_notifications_show_ingame 1 // Pretty sure this disables Trade/Duel Notifications
  403. sys_minidumpspewlines 500 // Basically the number of lines saved to a log file from console. No FPS boost but 15% lower FPS variance
  404. cl_loadondemand_default 0
  405.  
  406. // ----------------------------------------------------------------------------
  407. // Misc
  408. // ----------------------------------------------------------------------------
  409. cl_forcepreload 1 // Force preloading
  410. cl_ask_blacklist_opt_out "1"
  411. cl_ask_favorite_opt_out "1"
  412. sb_dontshow_maxplayer_warning "1"
  413. tf_explanations_backpackpanel "1"
  414. tf_explanations_charinfo_armory_panel "1"
  415. tf_explanations_charinfopanel "1"
  416. tf_explanations_craftingpanel "1"
  417. tf_explanations_discardpanel "1"
  418. tf_explanations_store "1"
  419. tf_training_has_prompted_for_forums "1"
  420. tf_training_has_prompted_for_loadout "1"
  421. tf_training_has_prompted_for_offline_practice "1"
  422. tf_training_has_prompted_for_options "1"
  423. tf_training_has_prompted_for_training "1"
  424. //net_graph 1 // keeping this on actually lowers your framerate by 3-6% depending on the level of net_graph you have it at
  425. // net_graph 1,2,3,4,5
  426. hud_fastswitch 1
  427. sv_forcepreload 1
  428.  
  429. echo "---------------------------------------------------------"
  430. echo "Comanglia' frames config loaded. Inspired by Chris config"
  431. echo "---------------------------------------------------------"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement