Archive for the ‘Counter-Strike’ Category

Casey’s Config v2 (CAL compliant)

Posted by ePlus on 17 October, 2008 at 23:12 pm

After not playing CS:S for over a year I decided to re-install it as I felt the urge to get some headshots! ;)

Obviously I don’t have a top of the range graphics card so I have to use what I have. Which in this case calls in for some improvisation in the form of tweaking the graphics of the game and other options to get a better performance and a higher FPS.

The changes are not even noticeable - no need to worry

Anyhow, copy the below code, open Notepad save it as autoexec.cfg and put it in your C:\Program Files\Steam\steamapps\YOURUSERNAME\counter-strike source\cstrike\cfg

Oh yeah you might also want to read Optimize Counter-Strike: Source at the bottom there, more tips. Good luck! :D

(more…)

Optimize Counter-Strike: Source

Posted by ePlus on 6 December, 2006 at 0:11 am

UPDATED CONFIG CAN BE FOUND HERE

If your like me, and your computer sucks because it’s old or whatever, then you can use this configuration script created by “Casey”. Apparently it is CAL / CSP compliant, so your cool when playing matches etc.

The config file below is modified slightly by me to suit my PC setup, so you’ll might want to enable/disable/change a few other settings to suit your setup.

// Casey’s Source Config
// Updated 9/21/06

// _Set netcode settings_
// _adjusts hitboxes and netcode settings for optimal registration_

cl_cmdbackup 2
cl_cmdrate 66
cl_interp 0.01
cl_interpolate 1
cl_lagcomp_errorcheck 1
cl_lagcompensation 1
cl_updaterate 66
cl_smooth 1
rate 20000

// _Set graphics settings_
// _adjusts graphics settings to boost framerate_

cl_forcepreload 1 // _forces preload to help increase performance_
cl_phys_props_enable 0 // _disables trash and cans etc_
cl_phys_props_max 0 // _disables trash and cans etc_
cl_ragdoll_physics_enable 1 // _disables dead animations and bodies_
cl_show_splashes 0 // _disables splashes when in water_
fps_max 101 // _caps FPS_
mat_forceaniso 0 // _disables anisotropic filtering_
mat_antialias 0 // _disables antialiasing_
mat_bloomscale 0
mat_bumpmap 0 // _disables bumpmapping_
mat_clipz 1 // _disabled non visible object rendering_
mat_fastnobump 1 // _faster bump mapping_
mat_fastspecular 1 // _fast specular lighting_
mat_mipmaptextures 1 // _texture quality decreases with distance_
mat_hdr_enabled 0 // _disables high dynamic range lighting_
mat_picmip 1 // _lower texture quality–set between 0 and 4_
mat_reducefillrate 1 // _reduces shader fill rate_
mat_specular 0 // _disables specular lighting_
mat_trilinear 0 // _disables trilinear filtering_
mat_wateroverlaysize 16 // _lowers water quality_
mat_vsync 1 // _disables vertical synchronization_
mp_decals 50 // _how many bullets etc will be shown_
muzzleflash_light 0 // _disables muzzleflash_
r_3dsky 0 // _disables 3D skybox_
r_avglight 0 // _disables average lighting_
r_cheapwaterend 1 // _worse water rendering_
r_cheapwaterstart 1 // _worse water rendering_
r_decal_cullsize 2 // _lower texture quality at distance_
r_decals 0 // _disables player sprays_
r_drawdetailprops 0 // _disables detail props_
r_drawflecks 0 // _disables bullet impacts_
r_drawmodeldecals 0 // _disables decals on models_
r_dynamic 0 // _disables dynamic lighting_
r_eyes 0 // _removes eyes from player models_
r_lightaverage 0 // _disables average lighting_
r_lightinterp 0 // _disables light interpolation_
r_lod 0 // _adjusts model quality–set between -5 and 5_
r_occlusion 0 // _disables occlusion–lowers image quality but gains FPS_
r_propsmaxdist 100 // _lower object fading distance_
r_renderoverlayfragment 0
r_rootlod 2 // _lower overall game detail level_
r_shadows 1 // _set to 0 to disable shadows (not recommended)_
r_teeth 0 // _removes teeth from player models_
r_waterforceexpensive 0 // _disables high-quality water_
rope_averagelight 0 // _disables average lighting on ropes_
rope_smooth 0 // _disables antialiasing on ropes_
rope_subdiv 0
rope_wind_dist 0 // _disables wind effects on ropes_

// _Set instruction sets_
// _note: verify processor support before enabling_

r_3dnow 1 // _enables 3DNow! instruction set_
r_mmx 1 // _enables MMX instruction set_
r_sse 1 // _enables SSE instruction set_
r_sse2 1 // _enables SSE2 instruction set_

// _Set violence settings_
// _increases blood to help you see hits better_

violence_ablood 1
violence_agibs 1
violence_hblood 1
violence_hgibs 1

// _Set HUD and xhair settings_
// _adjusts HUD and xhair for easy viewing_

cl_crosshaircolor 0 // _green crosshair_
cl_crosshairalpha 999 // _bright crosshair_
cl_crosshairusealpha 0 // _enables adjustable crosshair brightness_
cl_c4progressbar 1 // _enables C4 progress bar_
hud_centerid 1 // _centers player IDs_
net_graph 3 // _enables net_graph 3–CAL required!_
net_graphpos 1 // _adjusts netgraph position-set between 1 and 3_
cl_showfps 2

// _Set various settings_

budget_show_history 0 // _disables history graph_
jpeg_quality 100 // _high quality screenshots_
mat_monitorgamma 1.6 // _maximum ingame brightness_
sv_forcepreload 1 // _forces preload to help increase performance_
cl_downloadfilter all

clear
echo “_casey’s config loaded_”

The important ones which you’ll might want to edit are cl_cmdrate and cl_updaterate, set cl_cmdrate to your average FPs and cl_updaterate to either as high or as low as possible until it causes no choke or loss.

How to install

Copy and paste what’s in the above box to Notepad and then save it as autoexec.cfg. Then simply place that into your folder.

C:\Program Files\Valve\Steam\SteamApps\username\counter-strike source\cstrike\cfg

Just make sure you remove username and insert your username/email address.

Then run CSS and everything should be set! Good luck!

P.S. You might also want to set a portion of your RAM especially for CSS when playing to furthermore improve performance by adding -heapsize and then followed by HALF the amount of RAM you have. So for example:

512MB System Memory: -heapsize 262144
1GB System Memory: -heapsize 524288
2GB System Memory: -heapsize 1048576

And also set what DirectX level you want your graphics card to use, so if you have a graphics card that uses DirectX 8.1, then you can try and see if it improves performance by running CSS at DirectX level 8.

-dxlevel 90 for DirectX 9
-dxlevel 81 for DirectX 8.1
-dxlevel 80 for DirectX 8
-dxlevel 70 for DirectX 7

Just set your launch options accordingly to the above settings. My CSS shortcut Target options looks as follows:

“C:\Program Files\Valve\Steam\Steam.exe” -applaunch 240 -dxlevel 80 -heapsize 524288

CSS Shortcut Config

To edit your shortcut target just right-click on the shortcut on the desktop and then add appropriate tags after the quotes.

References:

http://forums.pureoverclock.com/showthread.php?t=16
http://www.pureoverclock.com/download.php?det=3
http://ucguides.savagehelp.com/ConnectionFAQ/Halflife.htm
http://home.swiftdsl.com.au/~abcgi/action/articles/csrates.html

Optimize Counter-Strike 1.6 (rates)

Posted by ePlus on 3 January, 2006 at 20:47 pm

RECIPE FOR CALCULATING WHAT RATES TO USE

This guide is aimed primarily at people with less than perfect hardware… i.e. those of us who get choke / loss if we try using the “L337 rates” people with good hardware always try forcing on everyone else…

RECIPE FOR CALCULATING WHAT RATES TO USE

This guide is aimed primarily at people with less than perfect hardware… i.e. those of us who get choke / loss if we try using the “L337 rates” people with good hardware always try forcing on everyone else.

THE INGREDIENTS:

  • cl_cmdrate - this should apparently be approximately equal to the FPS you’re getting (check netgraph). Too much above or too much below and you’ll get choke.
  • cl_updaterate - you should set this as high as it will go without causing ANY packet loss - if you’re getting any loss, that’s BAD.
  • rate - capped at 20000 for online play (25000 at LAN). Setting it too low will cause choke. Setting it too high will cause choke.
  • ex_interp - the “ideal” is supposed to be 1/cl_updaterate. NEVER set this to zero because CS uses your current cl_updaterate, not the server’s. Basically, the higher ex_interp, the smoother play will appear, but true player positions will be less accurate on your screen. Some people prefer to just set this low and leave it there. (0.01)

THE METHOD:

So, to figure out decent settings for you, best thing to do is probably something along the lines of this:

1 ) Turn on netgraph (”net_graph 3″ I think is the one you want)

2 ) Start with this:

  • cl_cmdrate 30
  • cl_updaterate 40
  • rate 15000
  • ex_interp 0.033

3 ) Run around a bit (preferably on a busy server) and take note of your FPS… what you want is you *average* FPS.

4 ) Set cl_cmdrate to that value. E.g. if you’re averaging 40 FPS on a busy server, then set cl_cmdrate to 40.

5 ) Run around some more, and see if you experience any choke. If you’re getting choke, drop this value by 5. If you’re not, increase by 5. Basically - keep doing this for a bit - you want the highest setting you can get before getting any choke / loss. Once you’re happy, subtract 5! (safety buffer - and lets us play with the next settings) (max of 101)

6 ) Ok, so we’ve got our “ideal” cl_cmdrate… let’s mess around with the cl_updaterate… Increase your cl_updaterate by 5, then run around some more. If you’re not getting choke / loss, add 5. If you are, subtract 5. Basically, find the highest setting for this you can without getting any loss / choke. (max of 101)

7 ) Now that we’ve got those sorted, change your ex_interp to 1/cl_updaterate - so if your cl_updaterate is 50, you’ll use 0.02. If your cl_updaterate is 100, you’ll use 0.01. etc. (use a calculator) This value has more to do with the “feel” of the game rather than choke/loss, and some people will tell you to use 0.01 all the time (which is usually the same bunch of people who have decent connections capable of handling cl_updaterate of 100/101 and think they know better - it depends on how much easier you find it playing with a smoothe gameplay vs. a jerky but slightly more accurate one)

8 ) Ok… now you can start mucking about with the rate setting. Start increasing the rate by 500 until you get choke / loss. As soon as you do, decrease it by 500, and voila! You should have a pretty decent game on your hands.

9 ) Hopefully you’ll also have a reasonable ping, but your ping, or latency, is actually less important than the rest of the above. Put your trust in the Half-Life server code for client compensation on this one. If you’re really worried about your ping, then this is what you need to know: The higher your cl_cmdrate, the higher your ping. So you could try lowering the cl_cmdrate, then repeating steps 5-7 to get your better values for the other netcode (you might find though that you won’t get a better cl_updaterate or rate at all). I suggest you forget about ping for an evening and try with the values this little exercise gives you and see how it handles, and only worry about your ping if the feel of the game is still really poo.


Ok then… so who’s going to give this a try?

It has worked ok for me and most people I’ve told about it - again, if you’re not getting any choke or loss running 20000/25000 101 101 then there’s no point in messing with your rates since they’re about as good as they’ll get. Only reason you might have to play is if your ping absolutely sucks (i.e. worse than 50ms), otherwise you might as well stick with the higher rates.

Something else to bear in mind… these settings are not only affected by your hardware, but also by the server you’re connecting to (and the settings on that server), as well as every bit of network connection between your PC and the server you’re playing on. So while one setup might be fantastic on most UK servers, you might need to tweak things again if you play on a server where you’re getting a lot of choke / loss (a slow server or foreign one for example)

Source: Clan =UKE=

Counter-Strike Tweaks 1.5/1.6

Adding these to your CS link or in Steam (my games > right click on CS > Properties)

-console (add console)

-nojoy (remove joystick support, gives more ram)
-noipx (removing LAN options, gives more ram)
-noforcemparms -noforcemaccel -noforcemspd (disable mouse acceleration)
-dev (removing 100fps limit *STEAM ONLY*)
-heapsize (gives CS memory, set it by kbytes, example; i have 384mb of ram so i used:

-heapsize 300000 (it tells cs to use 300mb of ram as cache for CS) , set it to 60-80% of your total ram, help’s alot in 1.6)

Sensitivity:

CS is not Quake or UT, you dont need high sensitivity, you dont have rockets and plasma rifles, also CS has a great sound engine so you dont need to make some "FAST" moves. Getting used to low sensitivity will improve your aiming, lower your sensitivity by 0.5 every week, and you may see improvements, it also depents on your mouse and options, personally im using 2.5 because i have Microsoft Explorer. Lower sensitivity is better, so get used to it.

Config commands:

disable voicecomm (we got team-speak, ventrilo, why hear these 10 year old kids yelling?)
voice_scale "0"

voice_enable "0"
voice_modenable "0"
sv_voiceenable "0"

voice_forcemicrecord "0"

disable EAX (gets more FPS)

s_eax "0"

disable A3D (not allowed in CPLS)
s_a3d "0"

sound delay (after you turned off Sound acceleration, or random sound delays)
_snd_mixahead "0" or "0.1"

Connection (Optimal Settings):

rate "25000"
cl_updaterate "100"
cl_cmdrate "100"
cl_lc "1"

cl_lw "1"
ex_interp "0.1"

if you have lags with the optimal settings try these values:
rate "7500-10000"
cl_updaterate "20"

cl_cmdrate "30"

1.5/1.6 Graphic Tweaks (get more fps):

gl_cull "1"
gl_keeptjunctions "0"

gl_texsort "0"

gl_palette_tex "1"
r_norefresh "0"
gl_round_down "3"
gl_picmip "2"

gl_playermip "2"

gl_ztrick "1"
gl_texturemode "GL_LINEAR_MIPMAP_NEAREST"
viewsize "120"
brightness "1"

gamma "3"

fastsprites "0"
fps_max "200"
max_shells "0"
cl_corpsestay "0"

max_smokepuffs "0"

mp_decals "0"
d_spriteskip "0"
cl_himodels "0"
model "gordon"

topcolor "30"

bottomcolor "6"
cl_minmodels "1"
cl_weather "0"
gl_affinemodels "1"

gl_alphamin "0.25"

gl_clear "0"
gl_dither "1"
gl_flipmatrix "0"
gl_flashblend "0"

gl_lightholes "0"

developer "1"
r_dynamic "0"
r_novis "0"
r_traceglow "1"

r_wateralpha "1"

r_mirroralpha "0"
r_bmodelhighfrac "5.0"
r_lightmap "0"
gl_max_size "128" (16/32/64/128/256) (less size less quality and more performance)

precache "1"

USB Mouse or PS/2 Mouse (if your mouse supports USB USE IT:

m_filter "0" for USB
m_filter "1" for PS/2

Zoom Sensitivity (fixed in 1.6, but you still can change it):

zoom_sensitivity_ratio "1-3" (i using 1.6)

disable ATI Truform:

ati_npatch "0"

ati_subdiv "0"

Enable MMX

r_mmx "1"

Right or Left Hand:

cl_righthand (1 is right hand, 0 is left hand)

Disable AutoWeaponSwitch:

_cl_autowepswitch "0"

Used to old cs versions? Want the old crosshair? This is for you:

cl_dynamiccrosshair "0"

Remove the lame new gui menus:

setinfo _vgui_menus "0"

Add these scripts to your autoexec.cfg or userconfig.cfg:

//Hand Switch Script
alias "LH" "echo - Left Hand Selected -; cl_righthand 0; bind h RH"
alias "RH" "echo - Right Hand Selected -; cl_righthand 1; bind h LH"

Sick of holding shift key to walk? Add this to your autoexec.cfg:

//Walk/Run Script
alias "walk" "echo - Walk Selected -; +speed; bind SHIFT run"
alias "run" "echo - Run Selected -; -speed; bind SHIFT walk"

Advanced Graphic Commands:

1 - enable
0 - disable

-Control the blood, disable it to get more performance. But who doesnt like blood?

violence_ablood
violence_hblood

-Control the gibs, disable to get more performance

violence_agibs
violence_hgibs

-Control the ATI Trufrom, disable to get a big fps improvement, enable for more quality

ati_npatch "0"
ati_subdiv "0"

-Disabling it will make the game render everything, even objects you dont see, only crazy people will disable it.

gl_cull

-Enabling this will make sure you wont see any crashes and/or 3d bugs, disable it for more FPS

gl_keeptjunctions

-Multi texturing, disable it only on old 3d cards

gl_texsort

-MMX, enable to improve performance

r_mmx

-Joystick, disable for more ram and to improve performance

joystick

-disable dither only if you have a really good computer, enable for more performance improvement

gl_dither

-Enable for more model quality, disable for more performance-

gl_smoothmodels

-Vsync, enable to limit the fps into your refresh rate, disable for highest fps

vid_wait

-Lightholes, disable for a little performance gain-

gl_lightholes

-Enable to see some objects like 1337 sunglasses and stuff like that, disable for more performance

r_mirroralpha

-Precaching, disable if you have 64mb or less, enable if you have 64mb or more, improves performance

precache

-Enable or disable the rain in aztec

cl_weather

-Loading only 2 models, SAS and 1337, enable for big performance gain, disable to see all the models

cl_minmodels

-Round down, set value from 0-4 , the lower the number the higher the quality, higher number equals more performance

gl_round_down

-Map quality, set value from 0-2, lower number equals more quality, higher number equals more performance

gl_picmip

-Player model quality, set value from 0-2, lower number equals more quality, higher number equals more performance

gl_playermip

-Texture size, values are: 16,32,64,128,256,512,1024 (default is 128), lower value means less quality and more performance

gl_max_size

-Texture Quality (for Direct3D Trilinear bring more performance, and for OpenGL Brilinear bring more perormence) values

GL_LINEAR_MIPMAP_LINEAR (Trilinear, high quality)
GL_LINEAR_MIPMAP_NEAREST (Trilinear, low quality)
GL_NEAREST_MIPMAP_LINEAR (Bilinear, high quality)

GL_NEAREST_MIPMAP_NEAREST (Bilinear, high quality)

gl_texturemode

Example:

gl_texturemode "GL_NEAREST_MIPMAP_NEAREST"

-Fastsprites, control explosions and stuff like that, set value from 0-2, lower number equals more quality, higher number equals more performance

fastsprites

That’s all folks! Enjoy!

Source: NGOHQ.com