The Code-Bin
Links
Home
Add your code!
All Listings
About
Latest Entry
Featured Scripts
Author's Website
Latest Entries
FFMPEG Thumbnail Scr...
PHP, 0.8KB
Jul. 29, 10:24pm
John
Z80 Assembler, 190 bytes
Feb. 17, 3:36am
John
Z80 Assembler, 176 bytes
Sep. 13, 2:19am
John
Z80 Assembler, 77 bytes
Sep. 13, 2:18am
John
Z80 Assembler, 209 bytes
Sep. 13, 2:17am
untitled PHP Code
Posted by: reece | September 1, 2009 @ 7:00am
PHP Code
[
Download
]
// kr0wz FPS Config. // Rename to autoexec.cfg and Extract to C:\Program Files\Steam\steamapps\username\counter-strike source\cstrike\cfg // Open Steam -> right click "Counter Strike: Source" -> "Properties" -> "Set launch Options" And write the following: // "-console" (For opening console)(write without "" only -console ^^,) // "-threads 2" (if 2 CPU's, 2 Cores, Dual-Core) Or: // "-threads 4" (if 4 CPU's, 4 Cores, Quad-Core) If you don't have 2 or 4 cores, then don't type threads. // "-dxlevel 81" (setting DirectX Level on 81. Increases FPS) // Now, sellect your resolution (still Launch Options): // "-w 800 -h 600" (setting resolution on 800x600. Increases most FPS. More resolutions: 1024x768, 1280x1024) For widescreen 16:9: // "-w 1280 -h 720" (setting resolution on 1280x720. Increases most FPS with widescreen. More resolutions in aspect ratio 16:9: 1365x768, 1600x900, 1920x1080) For widescreen 16:10: // "-w 1440 -h 900" (setting resolution on 1440x900. Increases most FPS with widescreen. More resolutions in aspect ratio 16:10: 1680x1050, 1920x1200) // And finally your system memory (still Launch Options): // "-heapsize 262144" ( If using 512MB system memory) // "-heapsize 524288" (If using 1GB system memory) // "-heapsize 1048576" (If using 2GB system memory or more) // !FINISH! // GL & HF!! echo "Loading kr0wz FPS Config" // -------------------------------------------------------------------------------- // -------------------------------------------------------------------------------- // ------------------------------- P E R F O R M A N C E -------------------------- // -------------------------------------------------------------------------------- // -------------------------------------------------------------------------------- // -------- M I S C -------- muzzleflash_light "0" gl_clear "0" props_break_max_pieces "0" // Disables prop fragmenting props_break_max_pieces_perframe "0" func_break_max_pieces "0" blink_duration "0" flex_smooth "0" mp_decals "0" // How many player sprays and bullets will be shown violence_agibs "1" violence_hgibs "1" violence_hblood "1" violence_ablood "1" con_enable "1" weapon_showproficiency "1" lod_enable "1" hud_centerid "1" dsp_water "14" blink_duration "0" hud_fastswitch "1" closecaption "0" net_showevents "0" jpeg_quality "100" demo_recordcommands "1" showhitlocation "1" // -------- T E X T U R E -------- texture_budget_background_alpha "9999999" texture_budget_panel_bottom_of_history_fraction ".25" texture_budget_panel_height "0" texture_budget_panel_width "0" texture_budget_panel_y "450" texture_budget_panel_x "0" // -------- B U D G E T -------- budget_panel_height "384" budget_panel_width "512" budget_panel_y "50" budget_panel_x "0" budget_background_alpha "0" budget_bargraph_range_ms "16.6666666667" budget_panel_bottom_of_history_fraction ".25" budget_history_range_ms "5" budget_history_numsamplesvisible "0" budget_show_history "0" budget_show_averages "0" budget_show_peaks "0" budget_averages_window "0" budget_peaks_window "0" budget_bargraph_background_alpha "128" // -------- C L I E N T S -------- cl_forcepreload "1" // Forces the game to load all texture and model information into memory on map load cl_ejectbrass "0" // Disables brass ejection, aka no shells cl_smoothtime "0.01" cl_soundscape_flush cl_drawmonitors "0" // Disables the rendering of ingame "monitors" which contain 3d rendered images cl_allowdownload "0" cl_detail_avoid_force "0" cl_detail_avoid_radius "0" cl_detail_avoid_recover_speed "0" cl_detail_max_sway "0" cl_downloadfilter "nosounds" // Disable downloading of sounds when connecting to a server cl_predictweapons "1" cl_pred_optimize "2" cl_soundscape_flush cl_restrict_server_commands "0" cl_autohelp "0" cl_c4progressbar "1" // -------- M A T E R I A L S --------- mat_forceaniso "0" // Disables the use of multisampling on texture to smooth out edges. Sets forceaniso on 0 ingame mat_antialias "0" // Disables the use of multisampling to smooth out edges. Sets AntiAlias on 0 ingame mat_colorcorrection "0" // Disables correction of colors. Sets Color Correction on 0 ingame mat_bloomscale "0" // Disables Bloomscale mat_bumpmap "0" // Disables bump mapping mat_bufferprimitives "1" // Disables buffering primitives mat_bumpbasis "0" // Disables bump basis mat_clipz "1" // Disables optimized Z-Buffer rendering mat_fastnobump "0" // Enables fast bump mapping mat_fastspecular "1" // Enables fast specularity mat_mipmaptextures "1" // Enables the use of mipmapping to make textures look smooth mat_picmip "2" // Changes the resolutions of textures when they're loaded into memory. Sets texture quality on low mat_reducefillrate "1" // Reduces the fillrate. Sets the Shader level on low mat_specular "0" // Disables specularity (shiny crap) mat_trilinear "0" // Disables Trilinear. 0 Sets on brilinear mat_vsync "0" // Disables vertical syncronization. Sets v sync off ingame mat_disable_bloom "0" // Disables Bloom effects. Sets Bloom on none mat_hdr_enabled "0" // Disables Full HDR (High Dynamic Range). Sets hdr on none mat_hdr_level "0" // Level of HDR and Bloom. 0 = None, 1 = Bloom, 2 = HDR. Can only be changed if HDR is enabled mat_monitorgamma "1.6" // Overall gamma. Lower the number the brighter the screen. Only works in fullscreen. mat_compressedtextures "1" // Disables texture compression mat_forcemanagedtextureintohardware "0" // Disables managed texture into hardware mat_filterlightmaps "1" // Enables filtering of light in maps mat_filtertextures "1" // Enables filtering of textures mat_forcehardwaresync "0" // Enables syncronization with hardware mat_bloomamount_rate "0.05f" // Must be 0.05f mat_debug_autoexposure "0" mat_debug_bloom "0" mat_debug_postprocessing_effects "0" mat_debug_process_halfscreen "0" mat_debugalttab "0" mat_debugdepth "0" mat_debugdepthmode "0" mat_debugdepthval "128" mat_debugdepthvalmax "256" mat_diffuse "1" mat_force_bloom "0" // Disables forcing of Bloom mat_hdroverbrightrange "16" mat_leafvis "0" mat_norendering "0" mat_parallaxmap "0" mat_setvideomode "800 600 0" mat_showlightmappage "-1" mat_surfaceid "0" mat_surfacemat "0" mat_softwareskin "0" mat_softwarelighting "0" mat_aaquality "0" // Texture quality. Sets texture quality on low mat_disable_lightwarp "1" mat_framebuffercopyoverlaysize "0" mat_disable_ps_patch "1" mat_envmapsize "0" mat_envmaptgasize "0" mat_disable_fancy_blending "1" mat_autoexposure_max "0" mat_autoexposure_min "0" // -------- M O D E L S --------- r_3dsky "0" // Disables the rendering of 3d sky boxes. r_3dnow "0" // Disables the 3DNOW calculations for INTEL CPU's. Set to 1 if using AMD CPU r_sse "1" // Enables the SSE calculations for SSE CPU's (AMD & INTEL) r_sse2 "1" // Enables the SSE2 calculations for SSE2 CPU's (AMD & INTEL) r_mmx "1" // Enables the MMX calculations for MMX CPU's (AMD & INTEL) r_avglight "1" // Disables average lighting r_decals "0" // Disables shot holes. 1 = Max 1 shot hole, 2 = Max 2 shot holes, and so on.. r_decal_cullsize "9999" // Any decals under this size won't be rendered r_dopixelvisibility "0" // Disables doing of visibility pixels r_drawflecks "0" // Disables sparks and dirty stuff from bullet impacts r_drawbatchdecals "0" // Disables the rendering of decals in batch r_drawdetailprops "0" // Disables the rendering of detail props r_drawmodeldecals "0" // Disables model decals (i.e. blood) r_flex "0" // Disables flex material system r_lightaverage "0" // Disables light average r_lightinterp "0" // Interpolation of light r_lod "2" // Details on models 2 = Minimum, 0 = Maximum at distance. r_teeth "0" // Disables teeths in models r_worldlights "0" // Maximum of world lights r_worldlightmin "0" // Minimum of world lights r_rootlod "2" // Base lod of the model in the memory. 2 = minimum, 0 = Maximum. Sets model on low ingame r_dynamic "0" // Disables dynamic light r_maxdlights "0" // Maximum lights on details r_modellodscale "-1" // The transitioning power of LOD r_occlusion "0" // Disables the Model Occlusion System r_gamma "0.5" // Models gamma r_drawmodelstatsoverlaymax "1.5" r_drawmodelstatsoverlaymin "0.1" r_ambientfactor "0" r_ambientfraction "0.1" r_ambientmin "0.3" r_ambientboost "0" // Enables ambient boost r_eyes "0" // Disables eyes in models r_eyesize "0" // The eyesize of eyes in models r_eyeshift_z "0" // Placement of eyes r_eyeshift_y "0" // Placement of eyes r_eyeshift_x "0" // Placement of eyes r_eyemove "0" // Disables eyemove r_eyegloss "0" // Disables gloss in eyes r_eyeglintlodpixels "0" // Disables pixels of lod in glints of eyes r_PhysPropStaticLighting "0" // Disables physic prop static lighting r_renderoverlayfragment "0" // Max of rendering overlay fragments r_propsmaxdist "0" // Max distance at which props are rendered r_radiosity "4" // Value of radiosity r_updaterefracttexture "0" // Disables updating of refracttexture r_norefresh "0" // Disables refreshing r_phong "0" // Disables phong r_ropetranslucent "0" // Disables rope translucent r_TransitionSensitivity "0" r_maxnewsamples "0" // Maximum of new samples r_maxsampledist "0" // Maximum sample distance r_minnewsamples "0" // Minimum if new samples r_maxmodeldecal "0" r_fastzreject "1" r_spray_lifetime "1" r_lod_noupdate "1" r_updaterefracttexture "0" // -------- R O P E -------- rope_averagelight "0" rope_smooth "0" rope_subdiv "0" rope_collide "0" rope_shake "0" rope_smooth_minwidth "0" rope_smooth_minalpha "0" rope_smooth_maxalphawidth "0" rope_smooth_maxalpha "0" rope_smooth_enlarge "0" rope_wind_dist "0.01" sv_forcepreload "1" // --------- W A T E R --------- r_waterforceexpensive "0" // Disables quality water. Sets water quality on Medium ingame r_WaterDrawReflection "0" // Disables quality water. Sets water quality on Medium ingame r_WaterDrawRefraction "0" // Disables quality water. Sets water quality on Medium ingame r_cheapwaterend "1" // Disables quality water. Sets water quality on Low ingame r_cheapwaterstart "1" // Disables quality water. Sets water quality on Low ingame r_forcewaterleaf "0" r_waterforcereflectentities "0" mat_wateroverlaysize "8" // Sets the resolution of water distortion. Must be multiple of 8 cl_show_splashes "0" // Disables water splashes fog_enable_water_fog "0" // Disables water fog // --------- S H A D O W S --------- mat_shadowstate "0" r_shadows "1" // Enables shadows. Sets shadows on ingame r_shadowmaxrendered "10" // Max of rendering models shadows r_shadowrendertotexture "1" // Enables shadows rendered to texture r_shadowlodbias "0" // --------- R A G D O L L --------- cl_phys_props_enable "0" // Disables physics props (stuff loaded into texture) cl_phys_props_max "0" // Maximum amount of physics props allowed cl_ragdoll_collide "0" cl_ragdoll_physics_enable "0" // Disables ragdoll (corpse) cl_minmodels "1" // Enables same team models cl_min_ct "1" // CT's team model. Changeable: 1,2,3,4 cl_min_t "1" // T's team model. Changeable: 1,2,3,4 cl_wpn_sway_scale "0" g_ragdoll_fadespeed "600" g_ragdoll_important_maxcount "0" g_ragdoll_lvfadespeed "0" g_ragdoll_maxcount "0" // --------- F O G --------- fog_enable "0" // Disables fog in maps fog_enableskybox "0" // Disables fog sky boxes // --------- W E A T H E R --------- r_rainalpha "0" r_ropetranslucent "0" r_rainlength "0" r_rainalphapow "0" r_raindensity "0" r_rainradius "0" r_rainspeed "0" r_rainwidth "0" r_rainsimulate "0" r_rainsplashpercentage "0" r_RainProfile "0" r_RainSideVel "0" // -------- S O U N D -------- bgmvolume "0" // CD sound playback volume soundscape_flush // Removes useless background sounds soundscape_fadetime "9999" // Removes useless background sounds snd_profile "0" // If set to 1, shows dsp usage stats in the console snd_mixahead "0.1" // Mixes sound ahead to reduce stuttering. Set between 0 and 1, the higher the value the less stuttering and more synchronized sound will be, but performance may be reduced. A value of 0.5 to 0.7 will help reduce stuttering in the game. If you experience no stuttering, lower this value to gain some performance snd_async_fullyasync "0" // If set to 1, sound may go out of synch with actions but you will experience reduced loading pauses and stuttering. Usually best left disabled snd_digital_surround "1" // Enable digital surround sound snd_pitchquality "1" snd_duckerthreshold "0.15" snd_duckerreleasetime "2.5" snd_duckerattacktime "0.5" snd_ducktovolume "0.55" dsp_volume "2" // Max = 2. Determines the volume of the background dsp effects. If the volume is increased, the impact of dsp enhancement will be exaggerated with no performance impact dsp_enhance_stereo "0" // If set to 1 enhances the stereo effect, making sound richer and more atmospheric for a slight performance hit voice_enable "1" // Ingame voice voice_scale "1" // Default = 1 snd_noextraupdate "1" suitvolume "0" dsp_slow_cpu "0" dsp_spatial "40" dsp_speaker "50" // *********************** // ****** R A T E S ****** // *********************** cl_lagcomp_errorcheck "0" cl_lagcompensation "1" cl_updaterate "101" cl_interpolate "1" cl_interp_ratio "1" cl_cmdrate "101" cl_cmdbackup "2" cl_interp "0.01" cl_smooth "1" cl_smoothtime "0.01" cl_resend "6" cl_pred_optimize "2" net_maxfragments "1280" cl_timeout "30" cl_minmodels 1 cl_min_t 3 cl_min_ct 3 clear echo "__ __ ___ kr0wz FPS Config" echo "| | / / / \ Succesful " echo "| |/ /_ |___ | Loaded! ________" echo "| /| |/___|| |_ _ \___ /" echo "| \| |/| |_| | \ / \ / // /" echo "| |\ \ | | |\ \/ _ \/ // /____" echo "|_| \_\| \___/ \__/ \__//______/" echo " __ __ _ _ ___ _ __" echo "/ _|/ \| \| || _||_| / /" echo "|/ | /\ | \ || |_ _ | |__" echo "|\_| \/ | \ || _| | || \| |" echo "\__|\__/|_|\_||_| |_| \__/" echo " _ __ __ ___ __" echo "| | / \ /\ | \| __| \" echo "| | | /\ | //\\ ||\ ||_ ||\ |" echo "| |__| \/ |/ __ \||/ | _|||/ |" echo "|____|\__//_/ \_\__/||__|__/"
Syntax Highlighting
[
Open in new window
]
Author Comments
none
Rating
4.28 / 8
64 Votes
http://codebin.yi.org/360
page generated in 0.00 seconds