LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Steam/Counter-Strike 1.6 Tweaks (https://www.linuxquestions.org/questions/linux-games-33/steam-counter-strike-1-6-tweaks-167352/)

php 04-07-2004 12:23 PM

Steam/Counter-Strike 1.6 Tweaks
 
The following works well, and makes the game run much faster, as well as smooth, I gained about 35 fps using the following:

1.
run this when winex/point2play is running, if you close wine completely you
will have to run this again to switch the priority.

renice 10 `pgrep wineserver`


(makes a big improvement)

2. --------------------------------------------------------------------------

Thanks to linux-gamers.net for the following tweaks-



1. Annotations

This is only a little How-To for performance tuning.
Some users swear that it runs more smooth with the CVS version that with
the binaries of WineX.
You have to decide that for yourself.
Only the configuration of Counter-Strike is covered here - for the rest we
have other How-Tos on www.linux-gamers.net
WineX and Steam should aready be installed and configured.


2. Edit config.cfg

If not already present, write the following into your

steam/SteamApps/YOURACCOUNT/counter-strike/cstrike/config.cfg

exec userconfig.cfg

3. Create and edit userconfig.cfg

Create a file called userconfig.cfg in your

steam/SteamApps/YOURACCOUNT/counter-strike/cstrike/

Append the following lines in your userconfig.cfg:

himodels "0"
ati_npatch "0"
ati_subdiv "0"
gl_clear "0"
gl_cull "1"
gl_dither "0"
gl_keeptjunctions "0"
gl_max_size "128"
gl_playermip "4"
gl_round_down "1"
GL_NEAREST_MIPMAP_NEAREST

These setting reduce your graphic details so play with the values to
fine-tune.

4. Start steam with custom script

Get this file and run it in your Steam-Folder. This script only detects
automatically which wine(X) version you run, increases the priority that
wine(X) has and starts steam afterwards.

5. Start Counter-Strike

Just start Counter-Strike

Troubleshooting:

---

When your mouse movement seems to be not smooth enough, just add

m_filter 1

into your userconfig and delete that value from config.cfg.

---
If you do not see any fonts in Steam, open the below file with Kwrite or
such
/home/USERNAME/.point2play/Steam/c_drive/Program
Files/Steam/resource/TrackerScheme.res
or
/home/USERNAME/.transgaming/c_drive/Program
Files/Steam/resource/TrackerScheme.res
here you can change the fonts that Steam uses, to whatever you please :)

---

6. Final amendmends by console

Open the console (ususally its the "^"-key) and enter net_graph 3. You
will see your current FPS in a little screen on the lower right corner.
Set a new value with fps_max XX in the console. Please switch the XX with
another value, 85 should be enough. If you wanna get a value like 85 your
monitor refresh rate has to be minimum 85 Hz, too.

ATTENTION: Please consult your user manual to get to know which values
your montior has. We can not be held accounteable for ANY damage to your
monitor.

7) Additional possibilities for owners of NVIDIA-Cards

Get this file and unzip it into your

steam/SteamApps/YOURACCOUNT/counter-strike/gldrv/

folder. Edit

team/SteamApps/YOURACCOUNT/counter-strike/gldrv/drvmap.txt and erase the
lines in there. Add gldrv/nvopengl.dll instead, save the file, start CS
and see how your game runs with this amendmend :)

COMMENT: Usually you can play Counter-Strike smooth from 50 FPS on as long
as you dont have FPS decreases in the game. Just play with the values to
get the result that fits best to your system.

8. Tests and results

Tested under the following Systems:

ASUS A7N8X nForce2; Athlon XP 1800+; 512 MB 333 DDR RAM; GeForce 4 TI 4200
(400 MHZ Chip frequency.) 513 MHZ RAM frequency 64 MB DDR RAM;

Gentoo 1.4; Kernel 2.6.3; Winex 3.3

Result: 80 FPS

DrOzz 04-07-2004 06:03 PM

thanks for posting all this, i will be sure to try some of
these things, whenever i get around to putting it on
my box ... which i hope is soon ... i am going into CS withdrawl
cause i never played in so long :)
so hopefully there is some good info here ;) thx again!!

samhob 04-09-2004 02:41 AM

for me :

amd athlon 2400+
512 mb ddr
nvidia gf4 mx 440 128MB

debian
renice 15 pgrep wineserver

equal: 100 fps everywhere ( unless on smokes)

php 04-11-2004 10:55 AM

Quote:

Originally posted by samhob

renice 15 pgrep wineserver

The difference between running 10 and 15, is close to none really, but you aren't losing performance with that atleast :)


All times are GMT -5. The time now is 09:16 AM.