LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 04-07-2004, 12:23 PM   #1
php
Member
 
Registered: Jun 2001
Location: USA
Distribution: Slackware
Posts: 825

Rep: Reputation: 30
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
 
Old 04-07-2004, 06:03 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
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!!
 
Old 04-09-2004, 02:41 AM   #3
samhob
Member
 
Registered: Jan 2004
Location: Bern, Switzerland
Distribution: Debian
Posts: 72

Rep: Reputation: 15
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)
 
Old 04-11-2004, 10:55 AM   #4
php
Member
 
Registered: Jun 2001
Location: USA
Distribution: Slackware
Posts: 825

Original Poster
Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cedega steam counter strike source with FGLRX linuxmandrake Fedora 2 09-14-2005 07:34 PM
Steam Counter Strike and Half LIfe 2 Backup Surreale Linux - Software 2 07-02-2005 02:39 AM
Counter-Strike Steam Under Cedega GML3G0 Linux - Games 0 09-21-2004 10:21 PM
Counter-strike,[color=orange]H L F - L I F E [/color],Counter-strike: Source. Dennisgoop Linux - Games 2 08-10-2004 03:03 AM
Grenade lag in Counter-Strike/Steam The Grim Reaper Linux - Games 3 03-18-2004 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 09:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration