small console cmd question

jimbo118

Newbie
Joined
Nov 22, 2004
Messages
8,793
Reaction score
0
im trying to add the following to my cs cfg file:

mat_forcehardwarewsync "1"
mat_forcemanagedtextureintohardware "0"

it seems to help my stutter prob and 1 second laggy physics prob, but i how exactly do i write this as it says 'unknown command' in the console when i load it up.
 
Putting the commands in the console will only enable the commands temporarily. You need to put them in a .cfg folder.

By doing this, it will stay there and will be permanent and will automatically activate whenver you play Counter-Strike: Source.

First...

-> Local Disk
-> Program Files
-> Valve
-> Steam
-> SteamApps
-> 'Your Account Name'
-> counter-strike source
-> cstrike
-> cfg

Now, right-click anywhere and create a New Text Document. Call that autoexec.cfg. Click Yes, when asked.

Finally, you can enter in any valid command and they will be automatically executed, hence 'autoexec', when you start your game.

*Be sure to exclude the quotation marks when entering in commands. It should be like this:
mat_forcehardwaresync 1
mat_forcemanagedtextureintohardware 0
 
if it says 'unknown command' when you write it in the console you need to remove the quote marks...it should be written as...

Code:
mat_forcehardwarewsync 1
mat_forcemanagedtextureintohardware 0
 
joule said:
Putting the commands in the console will only enable the commands temporarily. You need to put it in a .cfg folder.

By doing this, it will stay there and will be permanent and will automatically activate whenver you play Counter-Strike: Source.

First...

-> Local Disk
-> Program Files
-> Valve
-> Steam
-> SteamApps
-> 'Your Account Name'
-> counter-strike source
-> cstrike
-> cfg

Now, right-click anywhere and create a New Text Document. Call that autoexec.cfg. Click Yes, when asked.

Finally, you can enter in any valid command and they will be automatically executed, hence 'autoexec', when you start your game.
yeah i did this before but it doesnt work, the normal cfg way works if you change it to read only but my question was about the 2 cmds i posted, i dont know how to write them so they are valid.
 
GonzoBabbleshit said:
if it says 'unknown command' when you write it in the console you need to remove the quote marks...it should be written as...

Code:
mat_forcehardwarewsync 1
mat_forcemanagedtextureintohardware 0
no i put that in the cfg file, it works when i type it in the console but i dont like having to type it in all the time. i want it to load up with my cfg file.
 
jimbo118 said:
no i put that in the cfg file, it works when i type it in the console but i dont like having to type it in all the time. i want it to load up with my cfg file.
If you did what I stated, it should work perfectly. Double-check on everything.
 
joule said:
If you did what I stated, it should work perfectly. Double-check on everything.
yeah it seems to have recognised it through the cfg file now. i dont use the autocgf way as it never recognises it for some reason, thx anyway it seems to be working. :cheers: you too gonzo.

i'll try the autocfg way again soon as it is less messy than editing the cfg file.
 
Back
Top